dmajda/pegjs — pull request #83 by andreypopp (2012-05-07 10:45:07+00:00)
Title: pegjs --wrapper-template option

Allows to wrap generated parser code into arbitrary wrapper. Maybe useful, for
example, to implement AMD module or providing simultaneous support for both AMD
and CommonJS. Example usage for producing AMD module with parser:

pegjs --wrapper-template 'define(%s);'