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

Fix typo in getting-started grammar #198

Merged
merged 2 commits into from
Oct 19, 2023

Conversation

VitGottwald
Copy link
Contributor

No description provided.

Copy link
Contributor

@spoenemann spoenemann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

@@ -75,7 +75,7 @@ Here's the grammar that parses the previous text snippet:
grammar HelloWorld

hidden terminal WS: /\s+/;
terminal ID: /[_a-zA-Z][\w_]*/;
terminal ID: /[_a-zA-Z][\w]*/;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't know the \w class includes the underscore. I think this could be improved in our main repo, too. We have one instance of that terminal rule in our Yeoman template, and also in the Langium grammar language and our example languages. If you like, you're welcome to make the improvement in those places as well.

@spoenemann spoenemann merged commit 994182f into eclipse-langium:main Oct 19, 2023
1 of 2 checks passed
emilkrebs pushed a commit that referenced this pull request Oct 25, 2023
* Fix typo in getting-started grammar

* Make code blocks vertically scrollable
To make it possible to read the docs on a phone
emilkrebs added a commit that referenced this pull request Oct 26, 2023
* fixed nested elements and scaling

* remaned one function

* fixed a renaming problem

* Fix typo in getting-started grammar (#198)

* Fix typo in getting-started grammar

* Make code blocks vertically scrollable
To make it possible to read the docs on a phone

* Update Langium + Monaco Tutorials (#192)

* update of langium + monaco tutorial

* update generation in the web tutorial

* Update to latest monaco-editor-wrapper and monaco-editor-react (#196)

* Update to latest monaco-editor-wrapper and monaco-editor-react
* Implemented review comments

* fixed a renaming problem

---------

Co-authored-by: Vit Gottwald <[email protected]>
Co-authored-by: Benjamin Friedman Wilson <[email protected]>
Co-authored-by: Kai Salmen <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants