Mercurial Hosting > luan
comparison core/src/luan/modules/Luan.luan @ 508:9218f9cf45d3
various fixes
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 21 May 2015 20:20:54 -0600 |
parents | 92c3d22745b8 |
children | 8dcf9e12446b |
comparison
equal
deleted
inserted
replaced
507:40e18d335da9 | 508:9218f9cf45d3 |
---|---|
26 M.to_string = BasicLuan.to_string | 26 M.to_string = BasicLuan.to_string |
27 M.try = BasicLuan.try_ | 27 M.try = BasicLuan.try_ |
28 M.type = BasicLuan.type | 28 M.type = BasicLuan.type |
29 M.values = BasicLuan.values | 29 M.values = BasicLuan.values |
30 | 30 |
31 function M.do_file(uri) | 31 function M.do_file(uri,add_extension) |
32 return M.load_file(uri)() | 32 return M.load_file(uri,add_extension)() |
33 end | 33 end |
34 | 34 |
35 M.VERSION = M.do_file "classpath:luan/version.luan" | 35 M.VERSION = M.do_file "classpath:luan/version.luan" |
36 | 36 |
37 function M.error(message) | 37 function M.error(message) |