pegjs-haxe-plugin the haxe target for pegjs, and this implementation refers to php-pegjs. npm install https://github.com/gsun/pegjs-haxe-plugin.git npm install pegjs node test/testpeg.js haxe -main TestPeg -neko testpeg.n neko testpeg.n