I'm using the example listed here:
http://www.luaj.org/luaj/3.0/README.html#5
It works fine, but instead of using inside the Lua script:
require 'hyperbolic'
I would like to use this or something similar in the java code
_G.set("hyperbolic", new hyperbolic());
Mostly to pass initial arguments to hyperbolic (like new hyperbolic(2.4, 1.67) when initializing it, so the Lua script is simple and "kid" friendly.
Any ideas or suggestions? Google isn't helping, possibly because I'm searching for the wrong thing..