Mercurial Hosting > luan
diff core/src/luan/LuanState.java @ 694:b620b8e1010f
remove Luan.load() allow_expression param and add Luan.eval()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 20 Apr 2016 20:56:08 -0600 |
parents | d3e5414bdf4c |
children |
line wrap: on
line diff
--- a/core/src/luan/LuanState.java Tue Apr 19 15:54:11 2016 -0600 +++ b/core/src/luan/LuanState.java Wed Apr 20 20:56:08 2016 -0600 @@ -52,7 +52,7 @@ } onClose.clear(); } - +/* public final Object eval(String cmd) throws LuanException { return eval(cmd,new LuanTable()); } @@ -61,7 +61,7 @@ LuanFunction fn = BasicLuan.load(this,cmd,"eval",env,true); return fn.call(this); } - +*/ public String toString(Object obj) throws LuanException { if( obj instanceof LuanTable ) {