aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-09-18 14:24:44 -0700
committerbnewbold <bnewbold@robocracy.org>2016-09-18 14:25:07 -0700
commitf264a289fe0d504a99c01d5787edb92af8f6ca91 (patch)
treed46f54df1d2db703583a0ae7d612428982c8fb2a /examples
parent77183773db84f5cd287bed62d3c844346a36bd74 (diff)
downloadmodelthing-f264a289fe0d504a99c01d5787edb92af8f6ca91.tar.gz
modelthing-f264a289fe0d504a99c01d5787edb92af8f6ca91.zip
work on a minimal modelica parser+ast
Diffstat (limited to 'examples')
-rw-r--r--examples/minimal.modelica6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/minimal.modelica b/examples/minimal.modelica
new file mode 100644
index 0000000..85335a5
--- /dev/null
+++ b/examples/minimal.modelica
@@ -0,0 +1,6 @@
+model FirstOrder
+ parameter Real c;
+ Real x;
+equation
+ der(x) = -c*x;
+end FirstOrder;