ganezdragon / tree-sitter-perl

a perl parser for javascript
MIT License
33 stars 9 forks source link

Rewrite scanner in c #31

Closed amaanq closed 1 year ago

amaanq commented 1 year ago

It's mainly for ease of compilation & portability, and I tidied up the bindings/manifests too

ganezdragon commented 1 year ago

@amaanq , what kind of portability are we talking about here?

amaanq commented 1 year ago

Projects leveraging a pure C toolchain have a much easier time integrating this, wasm is much easier to work with, compilation is easier since there's no requirement on a c++ compiler

ganezdragon commented 6 months ago

We should gone with this before. Because we had issues with .cc file as you mentioned, and had to rewrite it in .c anyway.