Skip to main content
Homepage
Explore
Search or go to…
/
Register
Sign in
Explore
Primary navigation
Project
M
motion-grammar-example
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
JastAdd
motion-grammar-example
Commits
2ea5b454
Commit
2ea5b454
authored
Feb 26, 2022
by
Johannes Mey
Browse files
Options
Downloads
Patches
Plain Diff
show class diagram
parent
b2c9e8ce
No related branches found
No related tags found
No related merge requests found
Pipeline
#12779
failed
Feb 26, 2022
Status:
Stage: build
Status:
Stage: test
Status:
Stage: ragdoc
Status:
Stage: publish
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-1
2 additions, 1 deletion
.gitlab-ci.yml
pages/docs/index.md
+3
-1
3 additions, 1 deletion
pages/docs/index.md
with
5 additions
and
2 deletions
.gitlab-ci.yml
+
2
−
1
View file @
2ea5b454
...
...
@@ -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
:
...
...
...
...
This diff is collapsed.
Click to expand it.
pages/docs/index.md
+
3
−
1
View file @
2ea5b454
...
...
@@ -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.

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.
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment