aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-12-17 18:34:47 -0800
committerbnewbold <bnewbold@robocracy.org>2016-12-17 18:34:47 -0800
commit9f82aceb9fbdb42f332d68f4a423123bd0788b2c (patch)
treec082b9795be8e9e9d286c8f8f1345d22f3ec1b59 /examples
parentf6364ebcac0d0a88a3cc6812fd2120c97b42cc26 (diff)
downloadmodelthing-9f82aceb9fbdb42f332d68f4a423123bd0788b2c.tar.gz
modelthing-9f82aceb9fbdb42f332d68f4a423123bd0788b2c.zip
refactor modelica parser into separate crate
Diffstat (limited to 'examples')
-rw-r--r--examples/minimal.modelica6
-rw-r--r--examples/minimal2.modelica8
-rw-r--r--examples/minimal3.modelica8
3 files changed, 0 insertions, 22 deletions
diff --git a/examples/minimal.modelica b/examples/minimal.modelica
deleted file mode 100644
index 85335a5..0000000
--- a/examples/minimal.modelica
+++ /dev/null
@@ -1,6 +0,0 @@
-model FirstOrder
- parameter Real c;
- Real x;
-equation
- der(x) = -c*x;
-end FirstOrder;
diff --git a/examples/minimal2.modelica b/examples/minimal2.modelica
deleted file mode 100644
index 69790b0..0000000
--- a/examples/minimal2.modelica
+++ /dev/null
@@ -1,8 +0,0 @@
-model FirstOrder
- parameter Real c;
- Real x;
-equation
- connect(c, x);
- 1 = c;
- (5 + 4) = x;
-end FirstOrder;
diff --git a/examples/minimal3.modelica b/examples/minimal3.modelica
deleted file mode 100644
index 1e9a211..0000000
--- a/examples/minimal3.modelica
+++ /dev/null
@@ -1,8 +0,0 @@
-model MinimalModel
- parameter Real a;
- Real b;
-equation
- connect(a, b);
- a = 1;
- b = (abs(a) + 2) / 4;
-end FirstOrder;