ParseGen is rule driven, parser generator for FPC / Lazarus . ParseGen is design using FPC, FCL and Lazarus and it mainly supports for Windows and Linux operating systems. ParserGen scanner is slight DFA (deterministic finite automaton) state machine. This scanner can operate on case sensitive or case-insensitive modes and it can easily configure/extend through given class structure. The parser of the ParseGen is recursive descent parser. ParseGen generate this parser using high-level source language and this language is logically similar to EBNF grammar. For example, in ParseGen, definition for "term" and "expression" can be written like this: define: expression optional: "-","+" end term loop: "-","+" term end end define: term factor loop: "*","/" factor end end This parser generator...
This blog contains electronic, amateur radio, and embedded system projects, which I did during my free time. Unless otherwise noted, all the articles and projects described on this blog are based on my original designs.