comparison src/luan/tools/CmdLine.java @ 129:486a0641bca4

add pickle client/server; fix parser bugs; git-svn-id: https://luan-java.googlecode.com/svn/trunk@130 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Mon, 09 Jun 2014 09:16:16 +0000
parents 8d7730a5e3b4
children 0594c132888b
comparison
equal deleted inserted replaced
128:f0a4abe58593 129:486a0641bca4
16 LuanState luan = LuanState.newStandard(); 16 LuanState luan = LuanState.newStandard();
17 try { 17 try {
18 LuanFunction standalone = (LuanFunction)luan.get("Basic.standalone"); 18 LuanFunction standalone = (LuanFunction)luan.get("Basic.standalone");
19 luan.JAVA.call(standalone,"standalone",args); 19 luan.JAVA.call(standalone,"standalone",args);
20 } catch(LuanException e) { 20 } catch(LuanException e) {
21 System.err.println(e.getMessage()); 21 // System.err.println(e.getMessage());
22 e.printStackTrace();
22 System.exit(-1); 23 System.exit(-1);
23 } 24 }
24 System.exit(0); 25 System.exit(0);
25 } 26 }
26 27