-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This library is a .NET engine to load compiled grammar files generated by Devin Cook's GOLD Parser Builder and use them to parse text in your applications.
This engine is only one of several available for .NET, some of which can be found on the GOLD Parser home page. However, the main feature of this engine differentiating it from the existing ones is the ability to map semantic action classes to terminals or reduction rules, so that a completely functional semantic AST can be created directly without intermediate token AST representation, and without the need for glue code (matching symbol IDs to classes).
The current version (2.0) supports both legacy CGT and the current EGT file formats of GOLD (auto-detected based on file contents). When updating projects that use the library you might get some "Obsolete" warnings on compilation for the functionality that changed in relation to EGT files, and it is suggested to update the files to the EGT format and replace the obsolete enum values with the correct new ones.
Have a look at the Sample Calculator tutorial to see how easy it is to use!