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
|
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
|
8dd85ebc15
|
fix(lua): typos and a bug in the expr Lua bindings
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-11 13:11:06 -08:00 |
|
Leonardo de Moura
|
119e0ba5e6
|
feat(lua): add to_nonnull_expr
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
|
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
|
bbab454b6c
|
fix(lua): cpplint.py does not like multiline strings
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-08 13:27:20 -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
|
b7d8391306
|
refactor(lua): remove duplicate code, separate lua_exception, add missing #pragma once
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-08 11:59:47 -08:00 |
|
Leonardo de Moura
|
c8b0c10c88
|
refactor(lua): make Lua a required (non-optional) package
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-08 10:56:29 -08:00 |
|
Leonardo de Moura
|
a10aa0880f
|
fix(build): add CheckLuaObjlen.cc test, not every Lua version has the function lua_objlen
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2013-11-08 08:26:04 -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 |
|