agladysh / js-lua

Run Lua from JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed build on OS X

alco opened this issue · comments

Hi. I'm trying to build js-lua with ant, and it errors out:

λ ant
Buildfile: /Users/alco/Documents/git/lua-js-standout/js-lua/build.xml

javac:
    [javac] /Users/alco/Documents/git/lua-js-standout/js-lua/build.xml:23: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] /Users/alco/Documents/git/lua-js-standout/js-lua/build.xml:36: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

gwtc:
     [java] Compiling module ru.aagg.jslua.Main
     [java]    Finding entry point classes
     [java]       [ERROR] Unable to find type 'ru.aagg.jslua.Main'
     [java]          [ERROR] Hint: Previous compiler errors may have made this type unavailable

BUILD FAILED
/Users/alco/Documents/git/lua-js-standout/js-lua/build.xml:49: Java returned: 1

Total time: 7 seconds

I know nothing about ant. Do you think you could help me figure this out?

I'm sorry, but I did not try to build this thing in quite a while. This project is no longer maintained — I will update the readme to reflect that.

I suggest you to try other solutions, like lua5.1.js (I'm the maintainer), or others — you may find incomplete list here:

https://github.com/agladysh/browser-lua/blob/master/README.md

If you'll contribute a fix for js-lua, I'll accept a pull request.

Thanks for the heads-up!

I'm putting together a benchmark page comparing various lua-in-browser implementations, both VMs and translators. I'll use lua5.1.js then.

Cool! Please send me a link — I'm interested.

Make sure to note feature-completeness of the implementation. Faster ones are usually lacking string.gsub and other stuff.

I'll share the link when I put it online.

Of course, thanks!