Hi!
lbci[1] for Lua 5.2 has been released by lhf. I have made a rockspec and
a matching tarball, that supports Lua 5.1 and Lua 5.2. The rockspec is
attached, the tarball can be found here[2] temporarily, but I kind of
assumed that the tarball would be hosted on the luarocks server like
before. If that is not possible, we can probably find another place
(github maybe).
[1]: http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lbci
[2]: http://lua.siffiejoe.dtdns.net/lbci.tar.gz
There is one incompatibility with the previous rock: I didn't patch
lbci.c to change luaopen_bci to luaopen_inspector. So you need to
require("bci") instead of require("inspector") with this rock.
Philipp
p.s.: Is this multi-Lua rock a good idea, or should we publish a Lua
5.2-only rock and let luarocks figure out the latest compatible rock for
a given Lua version on its own? (Or even create a completely new rock
like "lbci52")?
package="lbci"
version="20130429-1"
source = {
url = "http://luarocks.org/extra/multi/lbci.tar.gz",
md5 = "d30fe0ab8b84c77f905c6e4392accc6a"
}
description = {
summary = "A bytecode inspector library",
detailed = [[
A bytecode inspector library.
]],
homepage = "http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lbci",
license = "Public domain, MIT"
}
dependencies = {
-- Uses Lua internals. Includes support for Lua 5.1 *and* Lua 5.2.
"lua >= 5.1, < 5.3"
}
build = {
type = "builtin",
modules = {
bci = {
sources = {
"lbci_multi.c"
},
incdirs = {
"dummy"
}
}
}
}
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers