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

Lox grammar online #1139

Open
mingodad opened this issue Sep 6, 2023 · 0 comments
Open

Lox grammar online #1139

mingodad opened this issue Sep 6, 2023 · 0 comments

Comments

@mingodad
Copy link

mingodad commented Sep 6, 2023

Adapting the grammar found in https://github.com/ajeetdsouza/loxcraft/blob/main/res/grammar.lalrpop I've added the LOX grammar to https://mingodad.github.io/parsertl-playground/playground/ (select Lox parser from Examples then click Parse) to be able to document/extend/develop/debug the LOX grammar online.

Notice that this is a LALR(1) parser.

Any feedback is welcome !

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