From 371ba457917cf319b74de5a56e17782f6c4cd77a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 15 Jan 2022 21:22:37 +0100 Subject: 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 --- tests/cram/test_basic.t | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') 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: -- cgit v1.2.3