·
19 commits
to dev
since this release
Immutable
release. Only release title and notes can be modified.
Added
- the repl prints the output of the last expression it ran
- new super instructions:
MUL_BY,MUL_BY_INDEX,MUL_SET_VALthat can do multiplications (and optional storing in vars) in place - new super instruction:
FUSED_MATH, which can fuse 2 to 3 math operations in one go (ADD, SUB, MUL, DIV) - new
LOAD_SYMBOLinstruction that avoids creating a reference
Fixed
- the REPL doesn't color
importin two colors (red forimp__tand blue for___or_), it keeps the first color that matched (red for import here) - page numbers are correctly counted when using the bytecode reader with '--only-names', instead of displaying
0every time
Changed
- quotes are added around strings in type errors
disassemblecan show a file bytecodeempty?now acceptsniland returnstruefor this value- the REPL adds
(repl:history)and(repl:save filename)as builtins - the REPL attempts to load a file from
ARKSCRIPT_REPL_STARTUPenvironment variable, to preload code - rename LOAD_SYMBOL and LOAD_SYMBOL_BY_INDEX to LOAD_FAST and LOAD_FAST_BY_INDEX to emphasize they load refs