ES6 Parser in Dlang
drug
drug2004 at bk.ru
Fri Feb 28 07:53:22 UTC 2020
On 2/28/20 10:30 AM, Sebastiaan Koppe wrote:
>
> No, it was mainly speed and memory usage.
>
> Pegged is pretty convenient for small grammar or small input files, but
> es6-grammar contains about 500 grammar rules and I was running it on
> Mb's of javascript.
>
> Incidentally I improved pegged's parsing errors in
> https://github.com/PhilippeSigaud/Pegged/pull/269 you now get a much
> more complete parsetree on errors. Bastiaan, however, found some memory
> usage problems but I hope to tackle them soonish.
Yes, I've seen your PR so I asked this question) Nice work!
I'm curious can Pegged be improved to be usable in industry and become
standard parser generator in D land de-facto.
More information about the Digitalmars-d
mailing list