peggyjs / peggy

Peggy: Parser generator for JavaScript
https://peggyjs.org/
MIT License
943 stars 65 forks source link

When grammer file to long getting ERR_STRING_TOO_LONG #377

Open chkmls opened 1 year ago

chkmls commented 1 year ago

"Error: Cannot create a string longer than 0x1fffffe8 characters", When using peggy.generate, Is there a way to fix the issue?

hildjj commented 1 year ago

You have a grammar that generates over a half a gig in output? Cool.

This is going to be tough to tackle.

hildjj commented 1 year ago

See #378