Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Generate Grammar using PHP Manual as input #106

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

klorenz
Copy link

@klorenz klorenz commented Oct 22, 2015

... and use atom-syntax-tools, to make grammar easier to maintain.

Intention for this was a fix for indented phpdoc comments, which were not highlighted correctly. Fixing the grammar was almost impossible, because it is huge and has lines of several thousand characters long. So I started to move the grammar beeing generated using atom-syntax-tools and using the PHP Documentation as input.

There is still a lot to be done, but this state fixes the initial indented phpdoc bug and the grammar
is a lot easier to maintain. Before I continue with removing unneccessary noise from php-grammar.coffee,
I want to see, if you will accept such big changes.

Best regards, Kiwi

@joehoyle
Copy link

This looks pretty good to me, what's the next step here on this? Anyone from the Atom team able to review this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants