Skip to main content
Sign in
Snippets Groups Projects
Commit 2ea5b454 authored by Johannes Mey's avatar Johannes Mey
Browse files

show class diagram

parent b2c9e8ce
No related branches found
No related tags found
No related merge requests found
Pipeline #12779 failed
......@@ -38,7 +38,6 @@ ragdoc_build:
- build
script:
- JAVA_FILES=$(find src/ -name '*.java')
- cat $JAVA_FILES
- /ragdoc-builder/start-builder.sh -excludeGenerated -d data/ $JAVA_FILES
artifacts:
paths:
......@@ -73,6 +72,8 @@ pages:
before_script:
- pip install -r pages/requirements.txt
script:
- ls
- cp -r src/gen/resources/diagrams/ pages/docs/diagrams
- cd pages && mkdocs build
artifacts:
paths:
......
......
......@@ -2,12 +2,14 @@
A testbed for a potential *motion grammar*[^1] implementation using JastAdd.
## Version 0.2
## Description
The motion grammar describes the Load/Unload scenario from Dantam[^1]. The point of this very simple grammar was *not*
to show how motion grammars work, but rather the expressiveness of a CFG (compared to a regular grammar), but it is very
simple, so it serves as a starting point.
![](diagrams/grammar/uml.png)
The structure grammar is shown (after building the project) in `src/gen/resources/diagrams/grammar/uml.png`. It
comprises three parts. `MotionGrammar` contains generic nonterminals present in every motion grammar, `LoadUnload` has
the actual nonterminals of the grammar, and `World` describes the context within which the grammar is parsed.
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment