lua-users home
lua-l archive

[ANN] lyaml 5 released

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


libYAML binding for Lua
I am happy to announce release 5 of lyaml.
lyaml's home page is at http://github.com/gvvaughan/lyaml
This release cleans up all known bugs, and finishes the partial
implementation of `lyaml.dump` from the previous release.
* Noteworthy changes in release 5 (2014年09月25日) [beta]
** Build:
 - Significantly reduced pointer mismatch warnings from modern GNU
 compilers.
** New Features:
 - `lyaml.dump` now takes a second argument containing a table of
 potential anchor values in `ANCHOR_NAME = { "match", "elements" }`
 pairs format. The first time any are matched in the table being
 dumped, they are preceded by `&ANCHOR_NAME` in the output YAML
 document; subsequent matches are not written out in full, but
 shortened to the appropriate `*ANCHOR_NAME` alias.
** Bugs Fixed:
 - `yaml.emitter` no longer emits numbers in SINGLE_QUOTE style by
 default.
 - `yaml.emitter ().emit` returns error strings correctly for invalid
 STREAM_START encoding, and MAPPING_START, SEQUENCE_START & SCALAR
 style fields.
Install it with LuaRocks, using:
 luarocks --server=http://rocks.moonscript.org install lyaml 5
If the latest rocks are not yet available from the official repository,
you can install directly from the lyaml release branch, with:
 $ luarocks install \
 https://raw.githubusercontent.com/gvvaughan/lyaml/release-v5/lyaml-5-1.rockspec

AltStyle によって変換されたページ (->オリジナル) /