-
Notifications
You must be signed in to change notification settings - Fork 68
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
Add terminal constants #1097
Add terminal constants #1097
Conversation
Lotes
commented
Jun 27, 2023
- adds constants for
- terminal names
- regular expressions
- adds tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please regenerate the projects? Given that the generator has changed, the generated code also has to change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also perform the bootstrapping? The updated ast.ts
in packages/langium
is still missing. Just run langium:generate
in the project root.
f40cb8e
to
ec0c3a6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you rebase on top of the latest main
? After my changes in #1109, your generator probably needs a bit of fine tuning.
ec0c3a6
to
a072294
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks 👍
* Add generator for terminals * Add tests * Fix import * Fix type declaration and add newline * Fix PR comments * Generate AST for examples * Unify Regex serialization in AST generator