lua-users home
lua-l archive

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



On Sep 25, 2014 8:04 PM, "Gary Vaughan" <gary@vaughan.pe> wrote:
>
> 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:

You can now update your installation instructions below to be simply

   luarocks install lyaml

as rocks.moonscript.org is the new default server and the old server (default in older installations) now auto-redirects to it. There are no more long delays when publishing rocks. :)

-- Hisham

>     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
>