Mercurial Hosting > luan
diff src/luan/lib/BasicLib.java @ 139:3b384dc5ca91
replace WebShell.java with web_shell.luan
git-svn-id: https://luan-java.googlecode.com/svn/trunk@140 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Fri, 13 Jun 2014 12:26:44 +0000 |
parents | 3119326260ea |
children | c2ee8a717b73 |
line wrap: on
line diff
--- a/src/luan/lib/BasicLib.java Thu Jun 12 08:20:48 2014 +0000 +++ b/src/luan/lib/BasicLib.java Fri Jun 13 12:26:44 2014 +0000 @@ -54,6 +54,7 @@ add( global, "to_string", LuanState.class, Object.class ); add( global, "type", Object.class ); global.put( "_VERSION", Luan.version ); +// add( module, "new_luan" ); add( module, "values", new Object[0].getClass() ); } catch(NoSuchMethodException e) { throw new RuntimeException(e); @@ -241,5 +242,9 @@ } }; } - +/* + public static LuanTable new_luan() { + return LuanState.newStandard().global(); + } +*/ }