]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/Transformation7.scl
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / Transformation7.scl
diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/Transformation7.scl b/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/Transformation7.scl
new file mode 100644 (file)
index 0000000..cce48f6
--- /dev/null
@@ -0,0 +1,14 @@
+import "StandardLibrary"
+
+Foo ?x :- 
+    @enforce
+    Execute (iterList printString [?x :: String])
+
+    
+rule DoIt where
+    @to
+    Foo "Hello world!"
+
+main = transformation OneShotForward where
+--
+()