Hi, 2010/7/1 Michael Jackson <[email protected]>: > I'm looking for examples of parsing expression grammars for > programming languages (C, Java, Python, etc.). This is different from > a parsing expression library for that language. What I'm looking for > is an actual PEG that is able to parse a language (preferably in the C > family). If anyone knows of one, would you please share?
PEG.js [1] contains JavaScript (or more precisely ECMAScript 5) grammar as one of the examples [2]. David Majda [1] http://pegjs.majda.cz/ [2] http://github.com/dmajda/pegjs/blob/master/examples/javascript.pegjs -- Everyone gets everything he wants. --Captain Willard in Apocalypse Now Personal :: [email protected] :: www.majda.cz Work :: [email protected] :: www.impaladesign.cz _______________________________________________ PEG mailing list [email protected] https://lists.csail.mit.edu/mailman/listinfo/peg
