summaryrefslogtreecommitdiffstats
path: root/virtual-programs
diff options
context:
space:
mode:
authorOmar Rizwan <omar@omar.website>2022-11-14 02:51:04 +0000
committerOmar Rizwan <omar@omar.website>2022-11-14 02:51:04 +0000
commit8276940f9fe91dc3a44873623cf7320e125c8317 (patch)
treed8a897aae3cca2a1aac950d7bbda775bea64f702 /virtual-programs
parentHide add test in namespace so that calibration import works lol (diff)
parentAdd hello name program, CPS clock, & Michael (diff)
downloadfolk-8276940f9fe91dc3a44873623cf7320e125c8317.tar.gz
folk-8276940f9fe91dc3a44873623cf7320e125c8317.zip
Merge branch 'main' of https://github.com/osnr/folk
Diffstat (limited to 'virtual-programs')
-rw-r--r--virtual-programs/CPS-clock.folk14
-rw-r--r--virtual-programs/hello-name.folk12
2 files changed, 25 insertions, 1 deletions
diff --git a/virtual-programs/CPS-clock.folk b/virtual-programs/CPS-clock.folk
index 0221fa40..ba455a18 100644
--- a/virtual-programs/CPS-clock.folk
+++ b/virtual-programs/CPS-clock.folk
@@ -2,4 +2,16 @@ Wish $this is outlined blue
Wish $this has filename "CPS-clock.folk"
#Wish $this is labelled "CPS clock"
-Wish $this is labelled [exec sh -c "TZ=America/New_York date"]
+## Hmmmmm, how to do this in Tcl? Use `tcl
+
+When $::nodename has step count /c/ {
+ Wish $this is labelled [string trim "
+[exec sh -c "TZ=America/New_York date"]
+step count: $c
+step time: $::stepTime
+ "]
+}
+
+
+# Wish $this is outlined red
+# Claim firstname is "something"
diff --git a/virtual-programs/hello-name.folk b/virtual-programs/hello-name.folk
new file mode 100644
index 00000000..bef035e2
--- /dev/null
+++ b/virtual-programs/hello-name.folk
@@ -0,0 +1,12 @@
+Wish $this has filename "hello-name.folk"
+Wish $this is outlined blue
+
+When someone claims /firstName/ is /text/ {
+ Wish $this is outlined blue
+ Wish $this is labelled "
+
+
+
+
+Hi $text!"
+} \ No newline at end of file