Corrected README.

pull/3/head
yhirose 9 years ago
parent 1ad9e73d67
commit 1e98ddeab2
  1. 14
      README.md

@ -140,7 +140,7 @@ In fact, the PEG parser generator is made with operators. You can see the code a
The following are available operators: The following are available operators:
| Description | Operator | | Description | Operator |
|--------------------|----------| |:-------------------|:---------|
| Sequence | seq | | Sequence | seq |
| Prioritized Choice | cho | | Prioritized Choice | cho |
| Grouping | grp | | Grouping | grp |
@ -154,6 +154,12 @@ The following are available operators:
| Character | chr | | Character | chr |
| Any character | any | | Any character | any |
Sample codes
------------
* [Calculator](https://github.com/yhirose/cpp-peglib/blob/master/example/calc.cc)
* [Calculator with parser operators](https://github.com/yhirose/cpp-peglib/blob/master/example/calc2.cc)
Tested Compilers Tested Compilers
---------------- ----------------
@ -167,8 +173,10 @@ TODO
* Optimization of grammars * Optimization of grammars
* Unicode support * Unicode support
Other C++ PEG parser libraries that inspired cpp-peblib Other C++ PEG parser libraries
------------------------------------------------------- ------------------------------
Thanks to the authors of the libraries that inspired *cpp-peglib*.
* [PEGTL](https://github.com/ColinH/PEGTL) - Parsing Expression Grammar Template Library * [PEGTL](https://github.com/ColinH/PEGTL) - Parsing Expression Grammar Template Library
* [lars::Parser](https://github.com/TheLartians/Parser) - A header-only linear-time c++ parsing expression grammar (PEG) parser generator supporting left-recursion and grammar ambiguity * [lars::Parser](https://github.com/TheLartians/Parser) - A header-only linear-time c++ parsing expression grammar (PEG) parser generator supporting left-recursion and grammar ambiguity

Loading…
Cancel
Save