Commit graph

10436 commits

Author SHA1 Message Date
Leonardo de Moura
dfd2a23cd4 feat(frontends/lean): use #"c" instead of 'c' for character literals
The new notation is the same one used in Standard ML.
It will also allow us to use ' in the beginning of identifiers like Standard ML.
2016-11-17 11:35:54 -08:00
Leonardo de Moura
e16e9880f7 chore(library/system): enforce Lean naming conventions IO ==> io 2016-11-17 11:27:37 -08:00
Leonardo de Moura
85a532b5af chore(library/init/monad_combinators): make combinators universe polymorphic (when possible), and use Lean naming conventions (i.e., no camelCase) 2016-11-17 10:57:31 -08:00
Leonardo de Moura
e5d69fef35 fix(library/init/meta/interactive): bug at mk_simp_set 2016-11-16 17:42:16 -08:00
Leonardo de Moura
6616f661f9 chore(doc/make/msys2): Remove Lua from installation instructions 2016-11-16 15:57:19 -08:00
Leonardo de Moura
146cefa05d fix(library/init/breakpoint): missing file 2016-11-16 15:16:50 -08:00
Leonardo de Moura
47cd475052 feat(library): add debugger 2016-11-16 14:53:13 -08:00
Leonardo de Moura
a94368375c feat(cli_debugger): add 'print' commands 2016-11-16 14:24:24 -08:00
Leonardo de Moura
761950bc3b chore(library/tactic/vm_monitor): remove "leftovers" 2016-11-16 14:23:55 -08:00
Leonardo de Moura
0b865a3136 feat(library/init/string): add string.to_nat 2016-11-16 13:59:13 -08:00
Leonardo de Moura
aebe1f4946 doc(library/init/meta/vm): document VM introspection API 2016-11-16 13:05:08 -08:00
Leonardo de Moura
91c8ff746f feat(cli_debugger): add commands for traversing stack frames 2016-11-16 12:37:18 -08:00
Leonardo de Moura
b8e904094c feat(cli_debugger): add breakpoints 2016-11-16 10:05:36 -08:00
Leonardo de Moura
a24dbe0150 feat(cli_debugger): add breakpoint validation 2016-11-16 09:09:54 -08:00
Leonardo de Moura
8068f3e80a feat(library/tactic/vm_monitor): add vm.get_env action 2016-11-16 09:09:25 -08:00
Leonardo de Moura
0119fba594 feat(library/init/meta/name): add is_prefix_of 2016-11-16 09:08:58 -08:00
Leonardo de Moura
cefc344ada feat(tmp/cli_debugger): start basic CLI debugger in Lean 2016-11-15 18:42:51 -08:00
Leonardo de Moura
b0d6d171be feat(library/tactic/vm_monitor): add basic io support for VM monad 2016-11-15 18:42:14 -08:00
Leonardo de Moura
3628870121 feat(library/tactic/vm_monitor): extend VM introspection API 2016-11-15 15:05:46 -08:00
Leonardo de Moura
ba3303163d fix(library/vm/vm_nat): nat.has_decidable_eq has been renamed 2016-11-15 14:41:04 -08:00
Joe Hendrix
e6d964bef3 feat(library): Port subset of lean2 standard library needed for bitvectors.
This is a minimal port of lean2 libraries needed for the bitvector
library to lean3.
2016-11-15 12:15:49 -08:00
Jeremy Avigad
f20fe53dd2 fix(library/init/algebra.lean): avoid use of mul in translating additive to multiplicative 2016-11-15 12:13:14 -08:00
Leonardo de Moura
d5aa92eaeb feat(library/tactic/tactic_state): add vm_obj introspection 2016-11-14 21:58:34 -08:00
Leonardo de Moura
82aade5185 feat(library/tactic/vm_monitor): add vm_decl introspection 2016-11-14 18:04:53 -08:00
Leonardo de Moura
f7fd8e4384 chore(library/tactic/vm_monitor): fix style 2016-11-14 17:33:56 -08:00
Leonardo de Moura
277ff818a1 feat(library/tactic/vm_monitor): add VM introspection API 2016-11-14 17:25:25 -08:00
Leonardo de Moura
8d64376797 chore(library/type_context): add more trace messages 2016-11-14 16:24:54 -08:00
Leonardo de Moura
fffe69fdf9 feat(library/vm,library/tactic/vm_monitor): use optionT to define vm monad 2016-11-14 16:13:56 -08:00
Leonardo de Moura
bd249bb1cc fix(library/init/option): remove unused variable 2016-11-14 15:38:09 -08:00
Leonardo de Moura
7232e3a076 feat(library/vm/vm): invoke debugger (aka vm_monitor) 2016-11-14 14:45:49 -08:00
Leonardo de Moura
7114326b9f fix(util/realpath): malloc/free mismatch
see #1190
2016-11-14 09:42:40 -08:00
Leonardo de Moura
0fab2c6a83 feat(library/init/meta): add VM introspection API 2016-11-13 14:20:05 -08:00
Leonardo de Moura
fbca131976 fix(library/init/meta/congr_lemma): typo 2016-11-13 12:54:26 -08:00
Leonardo de Moura
5f55a7c0e1 fix(library/inductive_compiler/util): allow untrusted/meta declarations when checking intermediate steps
We need that when declaring meta inductive types with nested inductives.
2016-11-13 12:32:49 -08:00
Leonardo de Moura
a7344671e1 feat(library/vm/vm): add stack_info 2016-11-13 12:20:02 -08:00
Leonardo de Moura
99b30d9c91 fix(tests/lean): remove config.lean 2016-11-13 09:38:40 -08:00
Leonardo de Moura
381b2edaf7 feat(library/vm/vm): store .olean file name at vm_decl's 2016-11-11 16:19:19 -08:00
Leonardo de Moura
e673fa65ba feat(library/vm/vm): Store position information at vm_decl's 2016-11-11 15:39:32 -08:00
Leonardo de Moura
b59c10118d fix(*): memory leaks 2016-11-11 11:56:54 -08:00
Leonardo de Moura
1a8b582533 fix(frontends/lean/info_manager): uninitialized variable 2016-11-11 11:50:05 -08:00
Leonardo de Moura
714b780636 feat(frontends/lean/elaborator): save type info for let-exprs 2016-11-10 16:34:48 -08:00
Gabriel Ebner
3c37e3cd25 fix(bin/lean-gdb): support python 2 2016-11-10 15:46:50 -08:00
Leonardo de Moura
d95645bd89 feat(frontends/lean/elaborator): save type information for binders 2016-11-10 15:39:38 -08:00
Sebastian Ullrich
2a37611d1f feat(emacs): implement show-goal-at-pos using faster info manager 2016-11-10 15:17:15 -08:00
Sebastian Ullrich
e5fb11a219 chore(emacs/lean-debug): toggle via lean-debug-mode and automatically open debug buffer 2016-11-10 15:17:06 -08:00
Leonardo de Moura
922d48524b fix(frontends/lean): fixes #1188
This commit also adds support for recording the type of local variables
in the info_manager
2016-11-10 15:08:25 -08:00
Leonardo de Moura
29e5464e42 fix(frontends/lean/tactic_notation): fix minor problem for info at position
See comment for details.
2016-11-10 13:48:35 -08:00
Leonardo de Moura
0e20d9493b feat(library/quote): make sure to syntactically identical quoted expressions are not equated
Motivation: preserve position information
2016-11-10 13:35:54 -08:00
Leonardo de Moura
40fca8efd4 feat(frontends/lean): add tactic.save_type_info, preserve pos info at translate 2016-11-10 11:51:05 -08:00
Leonardo de Moura
a7af70da2e feat(library/vm): add expr.copy_pos_info 2016-11-10 11:50:38 -08:00