From d11bad79ec84eb883dbd03a1217ec9064f08d610 Mon Sep 17 00:00:00 2001 From: zongor Date: Fri, 10 Apr 2026 23:03:54 -0700 Subject: [PATCH] split tests into global and local --- .gitignore | 3 ++- test/{vars.ul => global.ul} | 0 test/local.tal | 2 ++ test/local.ul | 6 ++++++ 4 files changed, 10 insertions(+), 1 deletion(-) rename test/{vars.ul => global.ul} (100%) create mode 100644 test/local.tal create mode 100755 test/local.ul diff --git a/.gitignore b/.gitignore index 08400f3..dea3f72 100644 --- a/.gitignore +++ b/.gitignore @@ -105,4 +105,5 @@ flycheck_*.el # project specific out/ .ccls-cache/ -.vscode/ \ No newline at end of file +.vscode/ +.vorg.db \ No newline at end of file diff --git a/test/vars.ul b/test/global.ul similarity index 100% rename from test/vars.ul rename to test/global.ul diff --git a/test/local.tal b/test/local.tal new file mode 100644 index 0000000..e6b5bf7 --- /dev/null +++ b/test/local.tal @@ -0,0 +1,2 @@ +|100 @main ( -> ) +!{ &i $2 } #007a ,/i STR2 !{ &j $2 } #0020 ,/j STR2 ,/i LDR2 ,/j LDR2 SUB2 #18 DEO diff --git a/test/local.ul b/test/local.ul new file mode 100755 index 0000000..20386b5 --- /dev/null +++ b/test/local.ul @@ -0,0 +1,6 @@ +function main() { + int i = 122; + int j = 32; + + print((i - j)); // prints ascii `Z` +}