Skip to content

Commit

Permalink
Regenerate with correct Antlr syntax file refs to Github.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolandscat committed Feb 16, 2022
1 parent 7e38e19 commit a611724
Show file tree
Hide file tree
Showing 11 changed files with 658 additions and 1,041 deletions.
Binary file modified computable/UML/openEHR_UML-AM.mdzip
Binary file not shown.
757 changes: 311 additions & 446 deletions docs/ADL1.4.html

Large diffs are not rendered by default.

50 changes: 7 additions & 43 deletions docs/ADL1.4/masterAppC-syntax_spec.adoc
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[appendix]
= Syntax Specification

The normative specification of the ADL1.4 syntax is expressed in Antlr4 as a series of component grammars, shown below. This has been tested with the Antlr4.5 implementation available from http://www.antlr.org[Antlr.org^]. The source files are available on Github in the {openehr_adl_antlr}/tree/master/src/main/antlr/adl14[adl-antlr repository^]. The ODIN grammar used in ADL archetypes described in the {openehr_odin}[openEHR ODIN specification^].
The normative specification of the ADL1.4 syntax is expressed in Antlr4 as a series of component grammars, shown below. This has been tested with the Antlr4.5 implementation available from http://www.antlr.org[Antlr.org^]. The source files are available on Github in the {openehr_adl_antlr}/tree/master/src/main/antlr/adl[adl-antlr repository^]. The ODIN grammar used in ADL archetypes described in the {openehr_odin}[openEHR ODIN specification^].

== ADL Outer Syntax

The following grammar expresses the outer syntax of ADL, i.e. the top-level structure of section keywords and initial identification lines in an ADL text.

[source, antlr-java]
--------
include::{grammar_dir}/adl14/adl.g4[]
include::{openehr_adl_antlr_include}/adl/adl14.g4[]
--------

== cADL Syntax
Expand All @@ -18,7 +18,7 @@ The following grammar expresses the syntax of cADL composite types, i.e. the lan

[source, antlr-java]
--------
include::{grammar_dir}/adl14/cadl.g4[]
include::{openehr_adl_antlr_include}/adl/cadl14.g4[]
--------

== cADL Primitives Syntax
Expand All @@ -27,7 +27,7 @@ The following grammar defines the syntax of cADL primitives, which are used by c

[source, antlr-java]
--------
include::{grammar_dir}/adl14/cadl_primitives.g4[]
include::{openehr_adl_antlr_include}/adl/cadl14_primitives.g4[]
--------

== ADL Keywords
Expand All @@ -36,34 +36,7 @@ The following grammar defines the lexer patterns for ADL keywords.

[source, antlr-java]
--------
include::{grammar_dir}/adl14/adl_keywords.g4[]
--------

== Rules Syntax

The following grammar defines the syntax that may appear in the `rules` section of an archetype and also the assertions in Archetype slots.

[source, antlr-java]
--------
include::{grammar_dir}/adl14/adl_rules.g4[]
--------

== ODIN structures

The following grammar defines the syntax for ODIN structures.

[source, antlr-java]
--------
include::{grammar_dir}/adl14/odin.g4[]
--------

== ODIN value types

The following grammar defines the syntax for the terminal types in ADL, which are derived from ODIN.

[source, antlr-java]
--------
include::{grammar_dir}/adl14/odin_values.g4[]
include::{openehr_adl_antlr_include}/adl/adl_keywords.g4[]
--------

== Base Expressions
Expand All @@ -72,16 +45,7 @@ The following grammar defines syntax of expressions.

[source, antlr-java]
--------
include::{grammar_dir}/adl14/base_expressions.g4[]
--------

== Base Patterns

The following grammar defines syntax of generic base patterns.

[source, antlr-java]
--------
include::{grammar_dir}/adl14/base_patterns.g4[]
include::{openehr_adl_antlr_include}/adl/base_expressions.g4[]
--------

== Base Lexer
Expand All @@ -90,5 +54,5 @@ The following grammar defines common lexical entities.

[source, antlr-java]
--------
include::{grammar_dir}/adl14/base_lexer.g4[]
include::{openehr_adl_antlr_include}/adl/base_lexer.g4[]
--------
689 changes: 251 additions & 438 deletions docs/ADL2.html

Large diffs are not rendered by default.

50 changes: 7 additions & 43 deletions docs/ADL2/masterAppB-syntax_spec.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[appendix]
= Syntax Specification

The normative specification of the ADL syntax is expressed in Antlr4 as a series of component grammars, shown below. This has been tested with the Antlr4.5 implementation available from http://www.antlr.org[Antlr.org^]. The source files are available on Github - {openehr_adl_antlr}/tree/master/src/main/antlr/adl2[adl-antlr repository^]. The ODIN grammar used in ADL archetypes described in the {openehr_odin}[openEHR ODIN specification^].
The normative specification of the ADL syntax is expressed in Antlr4 as a series of component grammars, shown below. This has been tested with the Antlr4.5 implementation available from http://www.antlr.org[Antlr.org^]. The source files are available on Github at {openehr_adl_antlr}/tree/master/src/main/antlr/adl[adl-antlr repository^]. The ODIN grammar used in ADL archetypes described in the {openehr_odin}[openEHR ODIN specification^].

There are various other syntax specifications in existence.

Expand All @@ -21,7 +21,7 @@ The following grammar expresses the outer syntax of ADL, i.e. the top-level stru

[source, antlr-java]
--------
include::{grammar_dir}/adl2/adl.g4[]
include::{openehr_adl_antlr_include}/adl/adl2.g4[]
--------

== cADL Syntax
Expand All @@ -30,7 +30,7 @@ The following grammar expresses the syntax of cADL composite types, i.e. the lan

[source, antlr-java]
--------
include::{grammar_dir}/adl2/cadl.g4[]
include::{openehr_adl_antlr_include}/adl/cadl2.g4[]
--------

== cADL Primitives Syntax
Expand All @@ -39,16 +39,7 @@ The following grammar defines the syntax of cADL primitives, which are used by c

[source, antlr-java]
--------
include::{grammar_dir}/adl2/cadl_primitives.g4[]
--------

== Rules Syntax

The following grammar defines the syntax that may appear in the `rules` section of an archetype and also the assertions in Archetype slots.

[source, antlr-java]
--------
include::{grammar_dir}/adl2/adl_rules.g4[]
include::{openehr_adl_antlr_include}/adl/cadl2_primitives.g4[]
--------

== ADL Keywords
Expand All @@ -57,25 +48,7 @@ The following grammar defines the lexer patterns for ADL keywords.

[source, antlr-java]
--------
include::{grammar_dir}/adl2/adl_keywords.g4[]
--------

== ODIN structures

The following grammar defines the syntax for ODIN structures.

[source, antlr-java]
--------
include::{grammar_dir}/adl2/odin.g4[]
--------

== ODIN value types

The following grammar defines the syntax for the terminal types in ADL, which are derived from ODIN.

[source, antlr-java]
--------
include::{grammar_dir}/adl2/odin_values.g4[]
include::{openehr_adl_antlr_include}/adl/adl_keywords.g4[]
--------

== Base Expressions
Expand All @@ -84,16 +57,7 @@ The following grammar defines syntax of expressions.

[source, antlr-java]
--------
include::{grammar_dir}/adl2/base_expressions.g4[]
--------

== Base Patterns

The following grammar defines syntax of generic base patterns.

[source, antlr-java]
--------
include::{grammar_dir}/adl2/base_patterns.g4[]
include::{openehr_adl_antlr_include}/adl/base_expressions.g4[]
--------

== Base Lexer
Expand All @@ -102,5 +66,5 @@ The following grammar defines lexer patterns of generic lexical tokens.

[source, antlr-java]
--------
include::{grammar_dir}/adl2/base_lexer.g4[]
include::{openehr_adl_antlr_include}/adl/base_lexer.g4[]
--------
2 changes: 1 addition & 1 deletion docs/AOM1.4.html
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ <h1 id="_archetype_object_model_1_4_aom1_4" class="sect0"><a class="anchor" href
</colgroup>
<thead>
<tr>
<th class="tableblock halign-center valign-top" colspan="2">&#169; 2004 - 2021 The openEHR Foundation</th>
<th class="tableblock halign-center valign-top" colspan="2">&#169; 2004 - 2022 The openEHR Foundation</th>
</tr>
</thead>
<tbody>
Expand Down
2 changes: 1 addition & 1 deletion docs/AOM2.html
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ <h1 id="_archetype_object_model_2_aom2" class="sect0"><a class="anchor" href="#_
</colgroup>
<thead>
<tr>
<th class="tableblock halign-center valign-top" colspan="2">&#169; 2004 - 2021 The openEHR Foundation</th>
<th class="tableblock halign-center valign-top" colspan="2">&#169; 2004 - 2022 The openEHR Foundation</th>
</tr>
</thead>
<tbody>
Expand Down
2 changes: 1 addition & 1 deletion docs/Identification.html
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ <h1 id="_archetype_identification" class="sect0"><a class="anchor" href="#_arche
</colgroup>
<thead>
<tr>
<th class="tableblock halign-center valign-top" colspan="2">&#169; 2009 - 2021 The openEHR Foundation</th>
<th class="tableblock halign-center valign-top" colspan="2">&#169; 2009 - 2022 The openEHR Foundation</th>
</tr>
</thead>
<tbody>
Expand Down
2 changes: 1 addition & 1 deletion docs/OPT2.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ <h1 id="_operational_template_2_opt2" class="sect0"><a class="anchor" href="#_op
</colgroup>
<thead>
<tr>
<th class="tableblock halign-center valign-top" colspan="2">&#169; 2015 - 2021 The openEHR Foundation</th>
<th class="tableblock halign-center valign-top" colspan="2">&#169; 2015 - 2022 The openEHR Foundation</th>
</tr>
</thead>
<tbody>
Expand Down
2 changes: 1 addition & 1 deletion docs/Overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ <h1 id="_archetype_technology_overview" class="sect0"><a class="anchor" href="#_
</colgroup>
<thead>
<tr>
<th class="tableblock halign-center valign-top" colspan="2">&#169; 2014 - 2021 The openEHR Foundation</th>
<th class="tableblock halign-center valign-top" colspan="2">&#169; 2014 - 2022 The openEHR Foundation</th>
</tr>
</thead>
<tbody>
Expand Down
143 changes: 77 additions & 66 deletions docs/UML/diagrams/AM-aom2.rules.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a611724

Please sign in to comment.