2013/3/6 Gary V. Vaughan <g...@vaughan.pe>:
> Rockspec for specl version 2 attached.
>
>

Hi Gary,

It is a great idea to use YAML instead of plain Lua (like RSpec uses
plain Ruby).

According http://yaml.org/, there are 2 C libraries :
 - Syck (only YAML 1.0)
 - LibYAML

And on the Lua side :
 - luaYAML is a binding of Syck, with a rockspec
 - yaml (yaml.luaforge.net) is a binding of LibYAML, without rockspec,
 and hasn't an external dependency of LibYAML but a out dated copy of sources
 - specl has a copy of lyaml.c (the only useful file of yaml) and an
external dependency for LibYAML

 Could you put the YAML part of Specl in an isolated project (with its
own rockspec) ?

 Another side, the Specl test suite works fine with luaYAML.
 Just replace :
        local yaml = require 'lyaml'
 by :
        require 'yaml' -- returns an useless 'true', and polulates 2
globals : yaml & syck
        local yaml = yaml

François

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to