[x] The script/parse-examples passes without issues.
[x] There are sufficient tests for the new fix/feature.
[x] Grammar rules have not been renamed unless absolutely necessary.
[x] The conflicts section hasn't grown too much.
[x] The parser size hasn't grown too much (check the value of STATE_COUNT in src/parser.c).
Hello!
I just recently split the php grammar into separate dialects and decided to give this parser a whirl. This follows the same pattern as used by tree-sitter-typescript and tree-sitter-php.
Note that the typescript grammar will need to be update after this is merged. I will try to create a sister branch on that repo in preparation for this.
Checklist:
Hello!
I just recently split the php grammar into separate dialects and decided to give this parser a whirl. This follows the same pattern as used by tree-sitter-typescript and tree-sitter-php.
Note that the typescript grammar will need to be update after this is merged. I will try to create a sister branch on that repo in preparation for this.
Thanks!
Closes #244