lean2/tests/lua
Leonardo de Moura 076414693a feat(library/kernel_bindings): improve argument validation in the Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-06-03 10:17:12 -07:00
..
old test(shell): add command line tests 2014-05-26 04:53:04 -07:00
slow feat(library/kernel_bindings): used 'named' parameters in import_modules API 2014-05-29 11:03:44 -07:00
threads refactor(library/kernel_bindings): rename empty_environment ==> bare_environment in the Lua API 2014-05-21 11:24:24 -07:00
ac.lua test(lua): add Acc datatype declaration test 2014-05-23 11:26:02 -07:00
acc.lua test(lua): well-founded induction 2014-05-22 14:10:25 -07:00
alias1.lua feat(library): add module for implementing aliases and 'using' command 2014-05-30 21:42:40 -07:00
big.lua test(shell): add command line tests 2014-05-26 04:53:04 -07:00
cnstr1.lua refactor(kernel/constraint): remove choice constraints from the kernel, the kernel does not use them, we will implement them in elaborator 2014-06-03 00:46:28 -07:00
coe1.lua feat(library/coercion): improve get_user_coercions API 2014-05-25 11:35:47 -07:00
coe2.lua test(lua): add coercion to function-class tests 2014-05-25 08:22:28 -07:00
coe3.lua test(lua): add coercion sort-class tests 2014-05-25 08:29:47 -07:00
coe4.lua test(lua): coercion module error messages 2014-05-25 10:01:04 -07:00
coe5.lua test(lua): add 'multiple inheritance' test 2014-05-25 11:15:25 -07:00
def1.lua refactor(library/kernel_bindings): rename empty_environment ==> bare_environment in the Lua API 2014-05-21 11:24:24 -07:00
env1.lua refactor(library/kernel_bindings): rename empty_environment ==> bare_environment in the Lua API 2014-05-21 11:24:24 -07:00
env2.lua refactor(library/kernel_bindings): rename empty_environment ==> bare_environment in the Lua API 2014-05-21 11:24:24 -07:00
env3.lua refactor(library/kernel_bindings): rename empty_environment ==> bare_environment in the Lua API 2014-05-21 11:24:24 -07:00
env4.lua refactor(library/kernel_bindings): rename empty_environment ==> bare_environment in the Lua API 2014-05-21 11:24:24 -07:00
env5.lua refactor(library/kernel_bindings): rename empty_environment ==> bare_environment in the Lua API 2014-05-21 11:24:24 -07:00
env6.lua refactor(library/kernel_bindings): rename empty_environment ==> bare_environment in the Lua API 2014-05-21 11:24:24 -07:00
env7.lua refactor(library/kernel_bindings): rename empty_environment ==> bare_environment in the Lua API 2014-05-21 11:24:24 -07:00
env8.lua feat(library/kernel_bindings): expose environment::for_each method in the Lua API 2014-05-20 10:16:19 -07:00
env9.lua refactor(library/kernel_bindings): rename empty_environment ==> bare_environment in the Lua API 2014-05-21 11:24:24 -07:00
env10.lua feat(library/kernel_bindings): add hott_environment Lua API 2014-05-21 11:49:30 -07:00
env11.lua test(lua): add more tests for the environment Lua API 2014-05-21 12:36:04 -07:00
eta.lua refactor(library/kernel_bindings): rename empty_environment ==> bare_environment in the Lua API 2014-05-21 11:24:24 -07:00
expr1.lua feat(kernel/expr): add is_contextual binder info 2014-05-14 14:54:27 -07:00
expr2.lua fix(library/kernel_bindings): bug in mk_app, add expr_lt tests 2014-05-09 19:54:52 -07:00
expr3.lua chore(kernel): binder => binding where appropriate 2014-05-17 11:37:27 -07:00
expr4.lua feat(library/kernel_bindings): improve Pi and Fun Lua APIs, and allow users to provide binder information 2014-05-16 14:09:00 -07:00
expr7.lua feat(kernel/formatter): add binding_body_fresh, let_body_fresh, and simplify formatter 2014-05-17 12:30:03 -07:00
expr8.lua test(lua): add tests for new Pi/Fun notation in Lua 2014-05-19 17:17:15 -07:00
expr9.lua test(lua): add normalize and type_check tests for terms containing metavariables 2014-05-20 09:56:27 -07:00
expr10.lua fix(library/normalize): bug in normalize 2014-05-20 11:53:58 -07:00
expr11.lua test(lua): add tests for improving kernel_bindings coverage 2014-05-20 12:16:12 -07:00
extra.lua test(lua): add .olean corrupted file tests 2014-05-31 12:51:33 -07:00
format1.lua feat(lua): expose format objects in the Lua bindings 2013-11-07 21:54:42 -08:00
format2.lua feat(lua): add is_* predicates 2013-11-08 12:40:28 -08:00
format3.lua test(lua): add tests for format object 2013-11-11 12:58:47 -08:00
free.lua feat(library/kernel_bindings): improve argument validation in the Lua API 2014-06-03 10:17:12 -07:00
glvl1.lua feat(library/module): export global universe level declarations 2014-05-31 12:12:41 -07:00
hott1.lua refactor(library/kernel_bindings): rename empty_environment ==> bare_environment in the Lua API 2014-05-21 11:24:24 -07:00
implua.lua test(lua): add import Lua file test 2014-05-26 04:34:34 -07:00
ind1.lua test(lua): add inductive decl serialization test 2014-05-26 15:54:41 -07:00
ind2.lua refactor(library/kernel_bindings): rename empty_environment ==> bare_environment in the Lua API 2014-05-21 11:24:24 -07:00
ind3.lua test(lua): add test for mutually recursive inductive type recursor/eliminator 2014-05-20 09:41:50 -07:00
ind4.lua test(lua): add test to demonstrate the different between list(A) where A is a parameter, and where A is an index 2014-05-20 12:17:16 -07:00
ind5.lua fix(kernel/inductive): inductive datatype declaration validation bug pointed out by Cody Roux 2014-05-21 16:29:25 -07:00
ind6.lua test(lua): add another inductive datatype example 2014-05-22 14:10:25 -07:00
ind_ex.lua fix(kernel/inductive): inductive datatype declaration validation bug pointed out by Cody Roux 2014-05-21 16:29:25 -07:00
ind_tricky.lua test(lua): add example suggested by Cody 2014-05-19 17:06:19 -07:00
int1.lua test(lua): add integer datatype test 2014-05-30 16:30:33 -07:00
jst1.lua refactor(library/kernel_bindings): rename empty_environment ==> bare_environment in the Lua API 2014-05-21 11:24:24 -07:00
let1.lua refactor(library/kernel_bindings): rename empty_environment ==> bare_environment in the Lua API 2014-05-21 11:24:24 -07:00
level1.lua refactor(kernel): add level normalizer, is_equivalent predicate, switch to is_equivalent in the type checker, fix bugs in is_lt predicate 2014-05-11 18:05:02 -07:00
level2.lua feat(library/kernel_bindings): global level constructor/accessor/recognizer 2014-05-07 16:22:45 -07:00
level4.lua refactor(kernel): add level normalizer, is_equivalent predicate, switch to is_equivalent in the type checker, fix bugs in is_lt predicate 2014-05-11 18:05:02 -07:00
level5.lua test(lua): add more level API unit tests 2014-05-13 09:20:10 -07:00
level6.lua feat(library/kernel_bindings): add sugar for level expressions in the Lua API 2014-05-17 08:10:36 -07:00
level7.lua test(lua): add is_geq (for universe level) tests 2014-05-17 13:42:12 -07:00
level8.lua test(lua): add more universe level expression tests 2014-05-20 11:41:17 -07:00
level9.lua test(lua): make sure bug reported by Floris does not happen in Lean 0.2 2014-05-21 13:34:04 -07:00
map2.lua test(lua): reactivate some of the Lua unit tests 2014-04-29 10:36:57 -07:00
mod1.lua feat(library/kernel_bindings): used 'named' parameters in import_modules API 2014-05-29 11:03:44 -07:00
mod3.lua test(lua): add .olean corrupted file tests 2014-05-31 12:51:33 -07:00
mod3_corrupted1.olean test(lua): add .olean corrupted file tests 2014-05-31 12:51:33 -07:00
mod3_corrupted2.olean test(lua): add .olean corrupted file tests 2014-05-31 12:51:33 -07:00
mod3_corrupted3.olean test(lua): add .olean corrupted file tests 2014-05-31 12:51:33 -07:00
mod3_corrupted4.olean test(lua): add .olean corrupted file tests 2014-05-31 12:51:33 -07:00
mod3b.lua test(lua): add .olean corrupted file tests 2014-05-31 12:51:33 -07:00
mod4.lua fix(kernel/module): non-termination 2014-05-23 15:12:47 -07:00
mod5.lua feat(library/kernel_bindings): used 'named' parameters in import_modules API 2014-05-29 11:03:44 -07:00
mpz1.lua feat(lua): allow Lean to be compiled with Lua 5.1 and LuaJit 2013-11-03 12:40:44 -08:00
mpz2.lua feat(lua): add is_* predicates 2013-11-08 12:40:28 -08:00
n1.lua test(lua): use assertions 2013-11-05 13:21:01 -08:00
n2.lua feat(lua): add is_* predicates 2013-11-08 12:40:28 -08:00
n3.lua feat(lua): add State objects, it allows us to create several Lua State objects in a lua script 2013-11-11 15:05:50 -08:00
n5.lua test(lua): reactivate some of the Lua unit tests 2014-04-29 10:36:57 -07:00
n6.lua test(lua): fix n6.lua, and add more tests 2014-05-18 13:52:16 -07:00
n7.lua refactor(library/aliases): move replace_prefix to util/name 2014-05-31 15:11:22 -07:00
name1.lua test(tests/lua): extra tests for Lua hierachical name API 2014-01-14 11:38:10 -08:00
name_gen1.lua feat(util): name_generator Lua API 2014-05-07 17:28:11 -07:00
namespace1.lua feat(library/scope): add sections 2014-06-01 17:55:11 -07:00
ns1.lua feat(util): name_set Lua API 2014-05-07 18:32:53 -07:00
ns2.lua feat(util/name_set): improve name_set Lua API 2014-05-08 17:17:00 -07:00
num1.lua fix(lua/numerics): bug in bindings, add more tests 2013-11-17 11:02:44 -08:00
opt1.lua refactor(lua/options): improve options bindings for Lua 2013-11-04 18:46:58 -08:00
opt2.lua feat(lua): add is_* predicates 2013-11-08 12:40:28 -08:00
opt3.lua test(lua): add tests for options object 2013-11-11 09:42:50 -08:00
opt4.lua feat(bindings/lua/options): improve options Lua API 2013-11-25 21:05:05 -08:00
place1.lua feat(library): add simple placeholder module 2014-05-30 20:28:28 -07:00
prv.lua refactor(library/private): add hidden_to_user_name and user_to_hidden_name functions 2014-05-30 17:52:01 -07:00
res1.lua refactor(library/kernel_bindings): rename empty_environment ==> bare_environment in the Lua API 2014-05-21 11:24:24 -07:00
sect1.lua feat(library/scope): add sections 2014-06-01 17:55:11 -07:00
sect1b.lua fix(library/scope): make sure local levels are added in the beginning of the universe parameter list 2014-06-02 14:06:31 -07:00
sect1c.lua fix(library/scope): make sure the local universe names do not conflict with universe parameter names when close a section, add declaration parameter name sanitizers 2014-06-02 15:39:57 -07:00
sect2.lua feat(library/scope): add sections 2014-06-01 17:55:11 -07:00
sect3.lua feat(library/private): preserve 'hidden/private name => user name' map when section is closed 2014-06-01 18:09:11 -07:00
sect4.lua feat(library/scope): add support for inductive datatypes in sections 2014-06-02 10:28:07 -07:00
sect5.lua fix(library/scope): bug in end_scope procedure 2014-06-02 10:43:28 -07:00
sect6.lua fix(library/scope): bug in add_definition 2014-06-02 11:04:34 -07:00
sect7.lua fix(library/private): bug when preserving private names at end_section 2014-06-02 11:32:14 -07:00
sect8.lua test(lua): add section+inductive_family test 2014-06-02 13:07:13 -07:00
sect9.lua fix(library/scope): bug when abstracting inductive declaration in the end of a section 2014-06-02 13:46:16 -07:00
sect10.lua fix(library/scope): make sure the local universe names do not conflict with universe parameter names when close a section, add declaration parameter name sanitizers 2014-06-02 15:39:57 -07:00
sexpr1.lua feat(lua): expose s-expressions in the Lua bindings 2013-11-04 19:58:32 -08:00
sexpr2.lua test(lua): add test driver for Lua binding tests 2013-11-05 13:11:34 -08:00
sexpr3.lua feat(lua): add is_* predicates 2013-11-08 12:40:28 -08:00
sexpr4.lua test(lua): add tests for sexpr object 2013-11-11 09:51:07 -08:00
sexpr5.lua feat(lua): add fields method to sexpr Lua API 2013-11-13 12:10:24 -08:00
simple.lua test(lua): add import Lua file test 2014-05-26 04:34:34 -07:00
sorted.lua test(lua): add is_sorted inductive predicate example 2014-05-30 16:30:32 -07:00
state.lua test(lua): add Lua State tests 2014-05-26 04:43:44 -07:00
subst1.lua feat(library/kernel_bindings): substitution Lua API 2014-05-01 15:30:30 -07:00
tag1.lua refactor(kernel): improve names 2014-05-16 11:28:05 -07:00
tc1.lua refactor(library/kernel_bindings): rename empty_environment ==> bare_environment in the Lua API 2014-05-21 11:24:24 -07:00
tc2.lua refactor(library/kernel_bindings): rename empty_environment ==> bare_environment in the Lua API 2014-05-21 11:24:24 -07:00
tc3.lua refactor(library/kernel_bindings): rename empty_environment ==> bare_environment in the Lua API 2014-05-21 11:24:24 -07:00
tc4.lua refactor(library/kernel_bindings): rename empty_environment ==> bare_environment in the Lua API 2014-05-21 11:24:24 -07:00
tc5.lua refactor(library/kernel_bindings): rename empty_environment ==> bare_environment in the Lua API 2014-05-21 11:24:24 -07:00
tc6.lua fix(kernel/type_checker): check if the declaration contains duplicate universe level parameters 2014-06-02 13:57:43 -07:00
test.sh feat(util/options): 'verbose' as a system option, add -q (quiet) option 2014-01-09 15:31:58 -08:00
test_single.sh refactor(frontends/lua): replace lean.lua.h with util.lua 2013-12-26 19:49:26 -08:00
yield.lua test(lua): add Lua 'yield' test 2014-05-26 04:39:53 -07:00