Menu

Grammar to parser classes / News: Recent posts

grammar2parser 1.6 (stable) released

In release 1.6 is change concerning strategies. The context_free_grammar_strategy had too complex algorithm and for recognition of more complex grammars it took too much time. This strategy was removed from the version and all context_free_grammars (like in calc subproject) were redefined into grammars, which are not left recursive. In version 1.6 I left the backdoor for implementing the own strategy : the parser has two parse methods - one with parameter pointer to strategy, where the strategy must be inherited from basic_parser_strategy, the second one original parse method, usable for parsing non-left recursive context-free grammars.... read more

Posted by Radko Mihal 2006-01-10

grammar2parser-1.4 (stable) releasedd

Added parser for regular expressions. It is possible to specify regexp expression in the regexp_parser constructor, then the parser recognizes the input according the regexp.

Also added wide char support. Now it is possible to specify input type in the same manner as for basic_string<typedef input_type>

Posted by Radko Mihal 2005-04-27

grammar2parser 1.2 (stable) released

New release extends the old one by new examples and by API documentation generated from source code using doxygen - stored in package grammar2parser-html.tar.gz.

The calc subproject implements mathematical calculator, suporting calculations on binary, hexadecimal and decimal numbers and using mathematical functions as declared in <math.h> C library.

Posted by Radko Mihal 2004-08-25