CSPGF is an implementation of the Grammatical Framework runtime i C#.
- All the features from JPGF.
- Works in both mono and .NET.
- Literal categories
- Supports PGF 2.x (not the older 1.x)
We are currently fixing these.
- Predict is only tested for simple grammars (might work but not tested)
- Wrong tree-structure with literals inside of linearizer (LeafKS instead of Literal). Should not matter for normal use.
The missing features below will most likely never be implemented.
- High-order abstract syntax variables
- Type checking and inference
- Dependent types
- External functions
- Random syntax trees
- Linearization of incomplete trees
Open the project file in Visual Studio 2010 (or newer) or in Mono Develop and build it there.
Look at the Tests in the UnitTests folder for some examples.