Mercurial Hosting > luan
comparison core/src/luan/modules/Luan.luan @ 693:ca169567ce07
module URIs must now include ".luan"
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Tue, 19 Apr 2016 15:54:11 -0600 |
| parents | fc08c3b42010 |
| children | b620b8e1010f |
comparison
equal
deleted
inserted
replaced
| 692:7bd97d642f37 | 693:ca169567ce07 |
|---|---|
| 27 M.to_string = BasicLuan.to_string | 27 M.to_string = BasicLuan.to_string |
| 28 M.try = BasicLuan.try_ | 28 M.try = BasicLuan.try_ |
| 29 M.type = BasicLuan.type | 29 M.type = BasicLuan.type |
| 30 M.values = BasicLuan.values | 30 M.values = BasicLuan.values |
| 31 | 31 |
| 32 function M.do_file(uri,add_extension) | 32 function M.do_file(uri) |
| 33 return M.load_file(uri,add_extension)() | 33 return M.load_file(uri)() |
| 34 end | 34 end |
| 35 | 35 |
| 36 M.VERSION = M.do_file "classpath:luan/version.luan" | 36 M.VERSION = M.do_file "classpath:luan/version.luan" |
| 37 | 37 |
| 38 function M.error(message) | 38 function M.error(message) |
