aboutsummaryrefslogtreecommitdiff
path: root/test.hgn
diff options
context:
space:
mode:
Diffstat (limited to 'test.hgn')
-rw-r--r--test.hgn15
1 files changed, 15 insertions, 0 deletions
diff --git a/test.hgn b/test.hgn
new file mode 100644
index 0000000..2aec1a8
--- /dev/null
+++ b/test.hgn
@@ -0,0 +1,15 @@
+let x = 10
+let y = 0
+print(x > y)
+while y < 3 {
+ x = x + x
+ y = y + 1
+}
+if x {
+ # let x = read_int(0)
+ # print(18446744073709551615)
+ x = x + x
+} else {
+ x = 69
+}
+print(x)