7
Janet 0.5.0
source link: https://www.tuicool.com/articles/hit/3Yn2AvF
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Medium-sized update, with a number of improvements including dynamic scoping and some more debugging facilities. From the changelog:
- Fix some bugs with buffers.
-
Add
trace
anduntrace
to the core library. -
Add
string/has-prefix?
andstring/has-suffix?
to string module. - Add simple debugger to repl that activates on errors or debug signal
-
Remove
*env*
and*doc-width*
. -
Add
fiber/getenv
,fiber/setenv
, anddyn
, andsetdyn
. -
Add support for dynamic bindings (via the
dyn
andsetdyn
functions). -
Change signatures of some functions like
eval
which no longer takes
an optional environment. - Add printf function
-
Make
pp
configurable with dynamic binding:pretty-format
. -
Remove the
meta
function. -
Add
with-dyns
for blocks with dynamic bindings assigned. -
Allow leading and trailing newlines in backtick-delimited string (long strings).
These newlines will not be included in the actual string value.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK