Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify grammar workflow and move grammar to this repo #17

Open
albertjan opened this issue Jun 19, 2021 · 0 comments
Open

Clarify grammar workflow and move grammar to this repo #17

albertjan opened this issue Jun 19, 2021 · 0 comments

Comments

@albertjan
Copy link
Member

I vote 3...
so then the workflow for working with the grammar can be something like:

Generate patch

copy python.gram into skulpt_parser somewhere (maybe tools/grammar_patch)
git diff with skulpt.dev.gram and copy the output to the same folder
Then either as the apply_grammar_patch or just as step 3 in the above.
apply the patch to skulpt.gram somewhere (maybe src/grammar)

Then I think we can abandon #12 and it can just live in the tools/grammar_patch folder as a future helper/reference function.
(I'll adjust that pr after this pr)

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

No branches or pull requests

1 participant