ganezdragon / tree-sitter-perl

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

if/unless fixes; for/foreach cleanup; /g flag for regex #27

Closed Leeft closed 1 year ago

Leeft commented 1 year ago

Some fixing, some cleanup, some node tree improvement (combined in a single PR because of the massive generated files), but features can be individually cherry-picked if so desired.

Tests for all these have been expanded in the individual commits.

(I don't think the large generated files should be committed, but I don't know what if anything would break if these are removed from the repo).

ganezdragon commented 1 year ago

@Leeft , thanks for the refactor. This really looks good :) Merged it.