forked from dmfilho/pgen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
31 lines (24 loc) · 947 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Parser Generator for C99
The parser generator (pgen) is able to generate parsers for C99 with support for the UTF-8 charset. The
pgen was developed in C++11.
It provides a way to describe both the lexical analyzer and the syntax analyzer on a single YAML file.
The parser generator is currently under development.
Features:
* Integrated Lexical Analyzer Generator with UTF-8 regular expression support
* Supports the definition of custom named regular expression classes
* UTF-8 Support
* Recursive Descent LL(*) Parser Generator
* Generates C99 code
* Reads all lexical and syntactic definitions from a single YAML file
* Automatically Generates Abstract Syntax Trees
* Supports the definition of states for the Lexical Analyzer
Dependences:
* yaml-cpp
* boost (for yaml-cpp)
* cppunit (for testing)
* gcc (for testing)
Planned (Future) Changes:
* More Unit Tests
* Documentation
* Benchmarking
* LALR(1) parser generator