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

autogenerate grammar syntax #200

Open
matteo-cristino opened this issue Sep 13, 2024 · 0 comments
Open

autogenerate grammar syntax #200

matteo-cristino opened this issue Sep 13, 2024 · 0 comments

Comments

@matteo-cristino
Copy link
Collaborator

Autogenerate slangroom syntax by inserting directly all sentences in grammar/syntax.grammar paying attention to have all the possible choice since parameters do not have a specific position, e.g.

 Given I …(send obj1 '' and send obj2 '' and | send obj2 '' and send obj1 '' and)… {phrase}

Moreover a list of all words used in salngroom should be collected and added in the syntax.grammar and generate on the fly the grammar/src/token.js file with all the word.

All this should be done from the file grammar/utils/prepare_complete.mjs (maybe it can change also name since from now on it will be used also for the grammar

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