summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/functest.pcdt9
-rw-r--r--examples/scopetest.pcdt2
2 files changed, 11 insertions, 0 deletions
diff --git a/examples/functest.pcdt b/examples/functest.pcdt
new file mode 100644
index 0000000..a76883a
--- /dev/null
+++ b/examples/functest.pcdt
@@ -0,0 +1,9 @@
+store(
+ (
+ print(running function;)
+ eq(arg0() arg1())
+ )
+ myFunc;
+)
+print(equality?;)
+print(myFunc(0; 0;))
diff --git a/examples/scopetest.pcdt b/examples/scopetest.pcdt
new file mode 100644
index 0000000..73a9d12
--- /dev/null
+++ b/examples/scopetest.pcdt
@@ -0,0 +1,2 @@
+store(print(hello;) myFunc;)
+myFunc(test;)