Mostly minor changes to the language and several bug fixes -- this release should be mostly backwards compatible. Some important additions include polymorphic comparison operators that will do the right thing when comparing different number types.
- Hardcode default jpm paths on install so env variables are needed in fewer cases.
- Add
:no-compile
tocreate-executable
option for jpm. - Fix bug with the
trace
function. - Add
:h
,:a
, and:c
flags tothread/new
for creating new kinds of threads.
By default, threads will now consume much less memory per thread, but sending data between
threads may cost more. - Fix flychecking when using the
use
macro. - CTRL-C no longer exits the repl, and instead cancels the current form.
- Various small bug fixes
- New MSI installer instead of NSIS based installer.
- Make
os/realpath
work on windows. - Add polymorphic
compare
functions for comparing numbers. - Add
to
andthru
peg combinators. - Add
JANET_GIT
environment variable to jpm to use a specific git binary (useful mainly on windows). asm
anddisasm
functions now use keywords instead of macros for keys. Also
some slight changes to the way constants are encoded (remove wrappingquote
in some cases).- Expose current macro form inside macros as (dyn :macro-form)
- Add
tracev
macro. - Fix compiler bug that emitted incorrect code in some cases for while loops that create closures.
- Add
:fresh
option to(import ...)
to overwrite the module cache. (range x y 0)
will return an empty array instead of hanging forever.- Rename
jpm repl
tojpm debug-repl
.