Skip to content

Commit

Permalink
Deploy preview for PR 223 🛫
Browse files Browse the repository at this point in the history
  • Loading branch information
Lotes committed Apr 18, 2024
1 parent af25811 commit b9f596d
Show file tree
Hide file tree
Showing 32 changed files with 181 additions and 66 deletions.
4 changes: 2 additions & 2 deletions pr-previews/pr-223/docs/features/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pr-previews/pr-223/docs/introduction/playground/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pr-previews/pr-223/docs/introduction/showcases/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pr-previews/pr-223/docs/learn/minilogo/generation/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pr-previews/pr-223/docs/learn/minilogo/validation/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pr-previews/pr-223/docs/learn/worflow/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ The grammar is defined in a .langium file. Make sure that you have installed the
npm run langium:generate This line will call langium generate on your Langium project. The Langium CLI will generate the files in the src/generated directory.</description></item><item><title>5. Resolve cross-references</title><link>/docs/learn/workflow/resolve_cross_references/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/learn/workflow/resolve_cross_references/</guid><description>This step takes place after generating the AST. The AST definition was created and you are able to parse input files. But the AST is not complete yet. It contains cross-references that are not resolved. Cross-references are used to reference other elements in your language.
Problem Let&amp;rsquo;s illustrate the problem using the Hello-World example from the Yeoman generator:
person John person Jane Hello John! Hello Jane! The following syntax tree is generated by the Langium parser during the runtime.</description></item><item><title>6. Create validations</title><link>/docs/learn/workflow/create_validations/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/learn/workflow/create_validations/</guid><description>After resolving the cross-references, you can assume that the syntax tree is complete. Now you can start with the validation of the input files. The validation process is a crucial part of the language engineering workflow. The parser ensures the syntactic correctness of the input files. The validation process ensures the semantic correctness of the input files.
As an example, let&amp;rsquo;s consider the Hello-World example from the Yeoman generator. One semantic of this language could be that each declared person must be greeted at most once.</description></item><item><title>7. Generate your artifacts</title><link>/docs/learn/workflow/generate_everything/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/learn/workflow/generate_everything/</guid><description>The syntax was ensured. The semantics were checked. Your workspace is free of errors. Now the AST is a valid representation of your input file written in your language. It is time to generate some cool stuff!
Example Let&amp;rsquo;s consider the Hello-World example from the Yeoman generator. One semantic of this language could be that each declared person must be greeted at most once.</description></item><item><title>7. Generate your artifacts</title><link>/docs/learn/workflow/generate_everything/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/learn/workflow/generate_everything/</guid><description>The syntax was ensured. The semantics were checked. Your workspace is free of errors. Now the AST is a valid representation of your input file written in your language. It is time to generate some cool stuff!
Depending on your domain and on your requirements there are different ways to generate artifacts from your AST.
How to write the generator? The simplest way is to generate text into a string.</description></item></channel></rss>

Large diffs are not rendered by default.

40 changes: 38 additions & 2 deletions pr-previews/pr-223/docs/learn/workflow/generate_ast/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pr-previews/pr-223/docs/learn/workflow/install/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pr-previews/pr-223/docs/learn/workflow/scaffold/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pr-previews/pr-223/docs/recipes/builtin-library/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pr-previews/pr-223/docs/recipes/code-bundling/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pr-previews/pr-223/docs/recipes/formatting/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pr-previews/pr-223/docs/recipes/multiple-languages/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pr-previews/pr-223/docs/reference/glossary/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pr-previews/pr-223/docs/reference/grammar-language/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pr-previews/pr-223/docs/reference/sematic-model/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pr-previews/pr-223/en.search-data.min.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pr-previews/pr-223/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ Notice that for n independent languages, you can simply create n independent Lan
npm run langium:generate This line will call langium generate on your Langium project. The Langium CLI will generate the files in the src/generated directory.</description></item><item><title>Domain Model</title><link>/showcase/domainmodel/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/showcase/domainmodel/</guid><description/></item><item><title>5. Resolve cross-references</title><link>/docs/learn/workflow/resolve_cross_references/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/learn/workflow/resolve_cross_references/</guid><description>This step takes place after generating the AST. The AST definition was created and you are able to parse input files. But the AST is not complete yet. It contains cross-references that are not resolved. Cross-references are used to reference other elements in your language.
Problem Let&amp;rsquo;s illustrate the problem using the Hello-World example from the Yeoman generator:
person John person Jane Hello John! Hello Jane! The following syntax tree is generated by the Langium parser during the runtime.</description></item><item><title>6. Create validations</title><link>/docs/learn/workflow/create_validations/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/learn/workflow/create_validations/</guid><description>After resolving the cross-references, you can assume that the syntax tree is complete. Now you can start with the validation of the input files. The validation process is a crucial part of the language engineering workflow. The parser ensures the syntactic correctness of the input files. The validation process ensures the semantic correctness of the input files.
As an example, let&amp;rsquo;s consider the Hello-World example from the Yeoman generator. One semantic of this language could be that each declared person must be greeted at most once.</description></item><item><title>7. Generate your artifacts</title><link>/docs/learn/workflow/generate_everything/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/learn/workflow/generate_everything/</guid><description>The syntax was ensured. The semantics were checked. Your workspace is free of errors. Now the AST is a valid representation of your input file written in your language. It is time to generate some cool stuff!
Example Let&amp;rsquo;s consider the Hello-World example from the Yeoman generator. One semantic of this language could be that each declared person must be greeted at most once.</description></item><item><title>7. Generate your artifacts</title><link>/docs/learn/workflow/generate_everything/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/learn/workflow/generate_everything/</guid><description>The syntax was ensured. The semantics were checked. Your workspace is free of errors. Now the AST is a valid representation of your input file written in your language. It is time to generate some cool stuff!
Depending on your domain and on your requirements there are different ways to generate artifacts from your AST.
How to write the generator? The simplest way is to generate text into a string.</description></item><item><title>Code Bundling</title><link>/docs/recipes/code-bundling/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/recipes/code-bundling/</guid><description>When you first create a Langium project using the Yeoman generator, it will only contain a plain TypeScript configuration, without any additional build processes. However, if you want to make your language available for consumption in a non-development context, you&amp;rsquo;ll want to create a bundle. It is not absolutely necessary in a Node.js context, since you can always resolve local node_modules but it&amp;rsquo;s still recommended for vscode extensions. It improves performance and decreases file size by minifying your code and only including what you actually need.</description></item><item><title>Imprint</title><link>/imprint/</link><pubDate>Wed, 17 Nov 2021 14:06:59 +0000</pubDate><guid>/imprint/</guid><description>Imprint Langium.org is administered by TypeFox GmbH Managing Directors: Daniel Dietrich, Dr. Miro Spönemann Am Germaniahafen 1 24143 Kiel HRB 17385, Amtsgericht Kiel VAT-ID : DE304247102 Phone: +49 431 99026870 Email: [email protected] Responsible for all content according to § 18 (1) (MStV): TypeFox GmbH, Am Germaniahafen 1, 24143 Kiel Authorized to represent: Herr Dr. Miro Spönemann &amp; Herr Daniel Dietrich Disclaimer Liability for content As a service provider we are responsible according to § 7 paragraph 1 of TMG for own contents on these pages under the general laws.</description></item><item><title>OpenAPI SL</title><link>/showcase/openapi/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/showcase/openapi/</guid><description/></item><item><title>Writing a Grammar</title><link>/docs/learn/minilogo/writing_a_grammar/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/learn/minilogo/writing_a_grammar/</guid><description>Planning Sketching the Grammar Adding Commands Adding Expressions Adding Terminals In this tutorial we will be talking about writing a grammar for your language in Langium. As a motivating example, we&amp;rsquo;ll be describing how to write a grammar for the MiniLogo language. If you&amp;rsquo;re not familiar with MiniLogo, it&amp;rsquo;s a smaller implementation of the Logo programming language. Logo itself is a lot like Turtle from Python.</description></item></channel></rss>
2 changes: 1 addition & 1 deletion pr-previews/pr-223/sitemap.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>/docs/introduction/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/learn/minilogo/validation/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/learn/minilogo/customizing_cli/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/learn/minilogo/generation/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/learn/minilogo/building_an_extension/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/learn/minilogo/langium_and_monaco/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/learn/minilogo/generation_in_the_web/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/reference/glossary/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/recipes/builtin-library/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/reference/grammar-language/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/recipes/scoping/qualified-name/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/showcase/statemachine/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/learn/workflow/install/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/recipes/scoping/class-member/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/features/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/learn/minilogo/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/reference/sematic-model/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/learn/workflow/scaffold/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/showcase/arithmetics/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/reference/configuration-services/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/recipes/formatting/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/showcase/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/showcase/minilogo/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/reference/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/introduction/showcases/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/learn/workflow/write_grammar/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/reference/document-lifecycle/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/recipes/multiple-languages/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/playground/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/recipes/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/showcase/sql/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/introduction/playground/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/learn/workflow/generate_ast/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/showcase/domainmodel/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/learn/workflow/resolve_cross_references/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/learn/workflow/create_validations/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/learn/workflow/generate_everything/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/recipes/code-bundling/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/imprint/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/learn/worflow/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/learn/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/showcase/openapi/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/docs/recipes/scoping/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url><url><loc>/tags/</loc></url><url><loc>/docs/learn/minilogo/writing_a_grammar/</loc><lastmod>2024-04-15T17:02:15+02:00</lastmod></url></urlset>
<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>/docs/introduction/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/learn/minilogo/validation/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/learn/minilogo/customizing_cli/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/learn/minilogo/generation/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/learn/minilogo/building_an_extension/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/learn/minilogo/langium_and_monaco/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/learn/minilogo/generation_in_the_web/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/reference/glossary/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/recipes/builtin-library/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/reference/grammar-language/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/recipes/scoping/qualified-name/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/showcase/statemachine/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/learn/workflow/install/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/recipes/scoping/class-member/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/features/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/learn/minilogo/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/reference/sematic-model/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/learn/workflow/scaffold/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/showcase/arithmetics/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/reference/configuration-services/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/recipes/formatting/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/showcase/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/showcase/minilogo/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/reference/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/introduction/showcases/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/learn/workflow/write_grammar/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/reference/document-lifecycle/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/recipes/multiple-languages/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/playground/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/recipes/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/showcase/sql/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/introduction/playground/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/learn/workflow/generate_ast/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/showcase/domainmodel/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/learn/workflow/resolve_cross_references/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/learn/workflow/create_validations/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/learn/workflow/generate_everything/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/recipes/code-bundling/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/imprint/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/learn/worflow/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/learn/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/showcase/openapi/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/docs/recipes/scoping/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url><url><loc>/tags/</loc></url><url><loc>/docs/learn/minilogo/writing_a_grammar/</loc><lastmod>2024-04-18T16:44:07+02:00</lastmod></url></urlset>

0 comments on commit b9f596d

Please sign in to comment.