summaryrefslogtreecommitdiffhomepage
path: root/tests/custom/02_runtime
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-03-14 08:47:58 +0100
committerJo-Philipp Wich <jo@mein.io>2022-03-14 15:31:34 +0100
commit46188077ef727c21513008f4e0c42e8cb211e90e (patch)
tree47933baeb43ff6ff3a95810c25fc189a6062e7be /tests/custom/02_runtime
parent23929951ad4b0ed2bcea793f6bf72d9e4236d3c7 (diff)
main: rework CLI frontend
- Change command line flags to be align better with those of other interpreters and with the gcc compiler, e.g. `-D` and `-U` to define and undefine globals, `-e` to execute script expression etc. - Pass only excess CLI arguments as `ARGV` to scripts, e.g. `ucode -e 'print("Hello world")' -- -x -y` would pass only `[ "-x", "-y" ]` as ARGV contents - Default to raw mode and introduce flag to enable template mode Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tests/custom/02_runtime')
0 files changed, 0 insertions, 0 deletions