0.2.2
Added:
- Add support for Python 3.10.
- Unify class hierarchies for parsers and readers:
CCGParser
is now a subclass ofReader
and placed in the common packagetext2diagram
. The old packagesreader
andccg2discocat
are no longer available. Compatibility problems with previous versions should be minimal, since from Release 0.2.0 and onwards alllambeq
classes can be imported from the global namespace. - Add
CurryRewriteRule
, which uses map-state duality in order to remove adjoint types from the boxes of a diagram. When used in conjunction withdiscopy.rigid.Diagram.normal_form()
, this removes cups from the diagram, eliminating post-selection. - The
Bobcat
parser now updates automatically when new versions are made available online. - Allow customising available root categories for the parser when using the command-line interface.
Fixed:
- Update grammar file of
Bobcat
parser to avoid problems with conflicting unary rules.