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

Accept standard EBNF #134

Open
apalala opened this issue May 30, 2019 · 1 comment
Open

Accept standard EBNF #134

apalala opened this issue May 30, 2019 · 1 comment

Comments

@apalala
Copy link
Collaborator

apalala commented May 30, 2019

There are many grammars and tools out there using the same variation of EBNF, and TatSu should be able to parse it.

Examples:

Changes required:

  • Accepting :=, :=, and : for introducing the right hand side of rules
  • Accept ()* and ()+ for closures
  • Not require a ; to end a rule (indented expressions belong to the rule)
  • Accept /* ... */ comments
@mgrazebrook
Copy link

I'd like this! Every time I come back to Tatsu, I find myself instinctively using : instead of = for rules.

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

2 participants