From b11b2ba3c2aace6f2bce223b682f77c3a4038302 Mon Sep 17 00:00:00 2001 From: Johannes Meier Date: Thu, 16 May 2024 12:13:53 +0200 Subject: [PATCH] Fix typo and broken link (#231) --- hugo/content/docs/introduction/features.md | 2 +- hugo/content/docs/recipes/keywords-as-identifiers/_index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hugo/content/docs/introduction/features.md b/hugo/content/docs/introduction/features.md index 14c41d0e..01078c8d 100644 --- a/hugo/content/docs/introduction/features.md +++ b/hugo/content/docs/introduction/features.md @@ -58,7 +58,7 @@ To express any kind of relationship between elements in your language, you will The process of resolving these references, i.e. identifying what element of your language hides behind a certain name, is called _linking_. Performing the linking process in a deterministic manner with a lot of objects in your project requires sound linking design. -Langium accomplishes this feat by using the concept of 'scoping'. You likely know scopes from programming, where some variables are only available from certain scopes: +Langium accomplishes this feature by using the concept of 'scoping'. You likely know scopes from programming, where some variables are only available from certain scopes: ```ts let x = 42; diff --git a/hugo/content/docs/recipes/keywords-as-identifiers/_index.md b/hugo/content/docs/recipes/keywords-as-identifiers/_index.md index 5f7dfdc5..c275a416 100644 --- a/hugo/content/docs/recipes/keywords-as-identifiers/_index.md +++ b/hugo/content/docs/recipes/keywords-as-identifiers/_index.md @@ -56,7 +56,7 @@ That's it! (Don't forget to run `npm run langium:generate` after updating the gr ![screenshot with fixed grammar](fixed-1-grammar.png) -Since the `name` property is used for cross-references by the parser rule for greetings, "Hello" needs to be supported here as well. For that we recommend to introduce a [data type rule](/docs/grammar-language/#data-type-rules) like "PersonID" in the example, since it makes it easier to support more keywords in the future: +Since the `name` property is used for cross-references by the parser rule for greetings, "Hello" needs to be supported here as well. For that we recommend to introduce a [data type rule](/docs/reference/grammar-language/#data-type-rules) like "PersonID" in the example, since it makes it easier to support more keywords in the future: ```langium Person: 'person' name=PersonID;