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

Lexical Grammar #16

Open
nateemerson opened this issue Aug 14, 2022 · 0 comments
Open

Lexical Grammar #16

nateemerson opened this issue Aug 14, 2022 · 0 comments
Assignees

Comments

@nateemerson
Copy link
Contributor

nateemerson commented Aug 14, 2022

As a baseline, we should come up with a lexical context-free grammar for #GruLang (thank you to Reddit user fracturedpersona for the original feature request).

Initially, I'd like to base this off of a subset of the the JS+TS grammars. I'll start minimal and build up to what I think is a reasonable degree...and as we all know all class related constructs will be left on the side of the road judiciously and aggressively.

First pass can be a bunch of TS types for reference...will figure out how to implement into lexer after.

Resources:

@nateemerson nateemerson self-assigned this Aug 14, 2022
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