Hi,

2010/7/1 Michael Jackson <mjijack...@gmail.com>:
> 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 :: da...@majda.cz              :: www.majda.cz
Work     :: david.ma...@impaladesign.cz :: www.impaladesign.cz

_______________________________________________
PEG mailing list
PEG@lists.csail.mit.edu
https://lists.csail.mit.edu/mailman/listinfo/peg

Reply via email to