aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--prog/function.doml19
1 files changed, 0 insertions, 19 deletions
diff --git a/prog/function.doml b/prog/function.doml
deleted file mode 100644
index 841cb0b..0000000
--- a/prog/function.doml
+++ /dev/null
@@ -1,19 +0,0 @@
-statement-sequence {
- assign(name=myFunc) {
- function(args=stringToPrint,val1,val2) {
- print {
- variable(name=stringToPrint)
- bin-op(op=+) {
- variable(name=val1)
- variable(name=val2)
- }
- }
- }
- }
-
- call(name=myFunc) {
- constant(val="hello, world!" type="string")
- constant(val="3.5" type="number")
- constant(val="7" type="number")
- }
-}