aboutsummaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
authorMustafa Quraish <[email protected]>2022-02-04 00:01:39 -0500
committerMustafa Quraish <[email protected]>2022-02-04 01:00:00 -0500
commitec946600e660411955d0e03457a1c0fbe6f722c0 (patch)
tree0958210538d26006cdc322ad5dbea47c40bda69f /run.sh
parentAdd some simple tests for arrays+strings (diff)
downloadcup-ec946600e660411955d0e03457a1c0fbe6f722c0.tar.xz
cup-ec946600e660411955d0e03457a1c0fbe6f722c0.zip
Add support for read-only constant expressions
We can now have constant definitions that are read-only, evaluated at compile time and just behave like integer literals when accessed. These are nice because we can now potentially inject syscall numbers/ etc through the compiler.
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/run.sh b/run.sh
index 402c058..19360df 100755
--- a/run.sh
+++ b/run.sh
@@ -21,5 +21,5 @@ make build/output.out
set +e
-build/output.out 1 2 3 4 "Hello World" "huh looky here :^)"
+build/output.out
echo "Exit status: $?" \ No newline at end of file