comparison core/src/luan/Luan.java @ 672:d3e5414bdf4c

better java permission handling
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 12 Apr 2016 17:03:30 -0600
parents 8e8c30b72e9b
children ca169567ce07
comparison
equal deleted inserted replaced
671:82f130eba7b0 672:d3e5414bdf4c
5 5
6 6
7 public final class Luan { 7 public final class Luan {
8 8
9 public static void main(String[] args) throws LuanException { 9 public static void main(String[] args) throws LuanException {
10 LuanState luan = LuanState.newInstance(); 10 LuanState luan = new LuanState();
11 LuanFunction standalone = (LuanFunction)BasicLuan.load_file(luan,"classpath:luan/cmd_line.luan",null); 11 LuanFunction standalone = (LuanFunction)BasicLuan.load_file(luan,"classpath:luan/cmd_line.luan",null);
12 standalone.call(luan,args); 12 standalone.call(luan,args);
13 } 13 }
14 14
15 public static Object first(Object obj) { 15 public static Object first(Object obj) {