vsbenas / parser-gen

A parser generator in Lua using PEG syntax.
MIT License
49 stars 9 forks source link

parser-gen is creating a bunch of global variables #7

Closed hugomg closed 7 years ago

hugomg commented 7 years ago

Currently, requiring parser-gen is polluting the global scope with many global functions. These should all be made local and exported in the return statement if needed. The ones I managed to find were:

vsbenas commented 7 years ago

Thanks for pointing those out, all fixed in the latest commit.