dmajda/pegjs — pull request #143 by curvedmark (2013-01-06 07:49:51+00:00)
Title: Output pure parser source for empty `--export-var`

If the command line specifies `pegjs --export-var ''`, it should only output pure parser source.

One use case is to write a template file

var parser = @CONTENT

and then replace `@CONTENT` with the generated parser source with another tool.

This mitigates #140