summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-01-15 21:22:37 +0100
committerJo-Philipp Wich <jo@mein.io>2022-01-18 11:21:20 +0100
commit371ba457917cf319b74de5a56e17782f6c4cd77a (patch)
treea5d5e14355c43849daa3236103817f0bb3025955 /tests
parent6c2caf9fbb9d346cfb20cd5c83875fdff77e584c (diff)
program: implement support for precompiling source files
- Introduce new command line flags `-o` and `-O` to write compiled program code into the specified output file - Add support for transparently executing precompiled files, the lexical analyzing and com,pilation phase is skipped in this case Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/cram/test_basic.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/cram/test_basic.t b/tests/cram/test_basic.t
index 2c22131..d2a3605 100644
--- a/tests/cram/test_basic.t
+++ b/tests/cram/test_basic.t
@@ -25,6 +25,8 @@ check that ucode provides exepected help:
-E Set global variables from given JSON file
-x Disable given function
-m Preload given module
+ -o Write precompiled byte code to given file
+ -O Write precompiled byte code to given file and strip debug information
check that ucode prints greetings: