From 86532befde8205b440ae0d630fa8feb94afe27da Mon Sep 17 00:00:00 2001 From: Mathias Magnusson Date: Tue, 22 Jul 2025 21:25:21 +0200 Subject: move testing source code to own file --- test.hgn | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test.hgn (limited to 'test.hgn') 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) -- cgit v1.2.3