Skip to content

NariyoshiChida/GPEG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generalized Parsing Expression Grammars (GPEGs)

This is the source code repository for GPEGs.

Install

make

Examples

./generalized_packrat_main > math_parser.cc
Expression
	<- Sum

Sum
	<- Product ( ( '+' / '-' ) Product )*

Product
	<- Value ( ( '*' / '/' / '%' ) Value )*

Value
	<- [0-9]+
	/ [A-Za-z0-9_]+
	/ '(' Expression ')'
./generalized_packrat_main > ambiguous.cc
S <- 'a' S | 'a' S 'b' S | ''

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published