Leonardo de Moura
|
a80adae1c3
|
feat(lua): add fields method to sexpr Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-13 12:10:24 -08:00 |
|
Leonardo de Moura
|
450128e28b
|
refactor(lua): cleanup Lua bindings, and add accessor/tester to expr Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-13 11:46:09 -08:00 |
|
Leonardo de Moura
|
be093ecf90
|
feat(lua): use formatter available in the state object to convert Lean objects into strings in the Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-12 16:56:30 -08:00 |
|
Leonardo de Moura
|
b986af09ed
|
feat(lua): add support for copying closures between Lua states
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-12 12:54:34 -08:00 |
|
Leonardo de Moura
|
2af2a69fc6
|
feat(lua): expose kernel objects in the Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-12 09:40:29 -08:00 |
|
Leonardo de Moura
|
d257156b88
|
fix(lua): memory leaks, we should not use luaL_error because it does not unwind C++ stack
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-11 21:45:13 -08:00 |
|
Leonardo de Moura
|
a30e02d862
|
fix(lua): redefine Lua 'print' function, and make sure it is thread safe
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-11 21:15:21 -08:00 |
|
Leonardo de Moura
|
eb9d0f0552
|
test(lua): add example showing how to access/update an environment object using multiple threads
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-11 20:53:23 -08:00 |
|
Leonardo de Moura
|
0af8f17834
|
feat(lua): allow Booleans to be copied between Lua states
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-11 20:39:46 -08:00 |
|
Leonardo de Moura
|
2ac594a159
|
test(lua): add a new example showing how to create nested State objects and threads
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-11 18:27:09 -08:00 |
|
Leonardo de Moura
|
69b41eae70
|
feat(lua): add support for multiple execution threads in the Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-11 16:25:17 -08:00 |
|
Leonardo de Moura
|
95785c7aaa
|
feat(lua): add State objects, it allows us to create several Lua State objects in a lua script
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-11 15:05:50 -08:00 |
|
Leonardo de Moura
|
bdc23fba32
|
test(lua): add tests for expr object
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-11 13:11:31 -08:00 |
|
Leonardo de Moura
|
b227775a07
|
test(lua): add tests for format object
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-11 12:58:47 -08:00 |
|
Leonardo de Moura
|
c2db18a003
|
test(lua): add tests for sexpr object
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-11 09:51:07 -08:00 |
|
Leonardo de Moura
|
6c7be28807
|
test(lua): add tests for options object
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-11 09:42:50 -08:00 |
|
Leonardo de Moura
|
3078923ea4
|
fix(kernel/type_checker): add missing test, and kernel_exception has_no_type_exception
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-10 11:14:04 -08:00 |
|
Leonardo de Moura
|
9d61fcf85b
|
feat(lua): expose environment objects in the Lua bindings
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-10 11:14:04 -08:00 |
|
Leonardo de Moura
|
8dd62e76be
|
feat(lua): add mk_metavar to Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-10 11:14:04 -08:00 |
|
Leonardo de Moura
|
554defe89d
|
feat(lua): expose local_context objects in the Lua bindings
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-09 12:18:46 -08:00 |
|
Leonardo de Moura
|
ad2de3b53c
|
feat(lua): expose level objects in the Lua bindings
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-08 17:08:24 -08:00 |
|
Leonardo de Moura
|
5a97f730af
|
feat(lua): add Type function
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-08 15:52:58 -08:00 |
|
Leonardo de Moura
|
32605d8266
|
feat(lua): expose level objects in the Lua bindings
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-08 15:38:00 -08:00 |
|
Leonardo de Moura
|
cc17be1ef1
|
feat(lua): add is_* predicates
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-08 12:40:28 -08:00 |
|
Leonardo de Moura
|
5c35a9ad0a
|
feat(lua): add Consts function
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-08 12:09:46 -08:00 |
|
Leonardo de Moura
|
b57ad80d5e
|
feat(lua): expose basic API for Lean expressions in the Lua bindings
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-07 21:54:57 -08:00 |
|
Leonardo de Moura
|
9000c7c2fa
|
feat(lua): expose format objects in the Lua bindings
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-07 21:54:42 -08:00 |
|
Leonardo de Moura
|
76150620c3
|
test(lua): use assertions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-05 13:21:01 -08:00 |
|
Leonardo de Moura
|
ba3faea586
|
test(lua): add test driver for Lua binding tests
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-05 13:11:34 -08:00 |
|
Leonardo de Moura
|
0cc475e581
|
fix(lua/sexpr): make sexpr bindings robust
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-05 13:03:32 -08:00 |
|
Leonardo de Moura
|
56344c0541
|
test(lua): add more s-exprs Lua tests
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-04 21:31:29 -08:00 |
|
Leonardo de Moura
|
f13a97397f
|
feat(lua): expose s-expressions in the Lua bindings
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-04 19:58:32 -08:00 |
|
Leonardo de Moura
|
3c475e890d
|
refactor(lua/options): improve options bindings for Lua
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-04 18:46:58 -08:00 |
|
Leonardo de Moura
|
7b77863507
|
refactor(lua/name): improve name bindings for Lua
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-04 18:44:20 -08:00 |
|
Leonardo de Moura
|
9884c056ce
|
feat(lua): allow Lean to be compiled with Lua 5.1 and LuaJit
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-03 12:40:44 -08:00 |
|
Leonardo de Moura
|
e2da8c1f4d
|
feat(lua/numerics): expose mpz and mpq numbers in the Lua bindings
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-03 12:05:54 -08:00 |
|
Leonardo de Moura
|
dbf2d56c77
|
feat(lua/name): expose hierarchical names in the Lua bindings
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-02 20:49:42 -07:00 |
|