lean4-htt/tests/lean/interactive
Leonardo de Moura cce88c6190 refactor(frontends/lean): interactive tactic support
After this commit, new interactice tactic classes can be added without
writing C++ code (see example: tests/lean/run/my_tac_class.lean).

The tactic_evaluator was simplified, and all the complexity has been
moved to tactic_notation, and lean code.

We can now inspect the intermediate states produced by the rewrite
tactic.

The function (@scope_trace _ line col thunk) can be used to position trace
messages produced by thunk. If line/col are not provided (i.e., we
just write (scope_trace thunk)), then line/col are filled with the
position of this term by the elaborator.

We can visualize the intermediate tactic states inside nested blocks
such as (try { ... })

The new infrastructure can be used to implement custom tactic_state
pretty printers.
2017-01-21 22:38:47 -08:00
..
1313.lean test(tests/lean/interactive): add regression test for #1313 2017-01-20 21:48:19 -08:00
1313.lean.expected.out test(tests/lean/interactive): add regression test for #1313 2017-01-20 21:48:19 -08:00
complete.lean fix(shell/server): prevent empty prefix completion for declarations 2017-01-17 16:38:00 -08:00
complete.lean.expected.out fix(shell/server): prevent empty prefix completion for declarations 2017-01-17 16:38:00 -08:00
complete_field.lean feat(frontends/lean,shell): autocompletion for ^. 2017-01-17 19:27:59 -08:00
complete_field.lean.expected.out feat(frontends/lean,shell): autocompletion for ^. 2017-01-17 19:27:59 -08:00
complete_import.lean feat(frontends/lean): rework and simplify completion parsing, enabling completion of empty prefixes 2017-01-10 12:25:33 +01:00
complete_import.lean.expected.out feat(frontends/lean): rework and simplify completion parsing, enabling completion of empty prefixes 2017-01-10 12:25:33 +01:00
complete_namespace.lean fix(frontends/lean/builtin_cmds): do not complete after namespace 2017-01-10 14:42:48 -08:00
complete_namespace.lean.expected.out fix(frontends/lean/builtin_cmds): do not complete after namespace 2017-01-10 14:42:48 -08:00
complete_scanner_error.lean fix(frontends/lean/parser): catch exceptions thrown by sync_command 2017-01-10 14:42:48 -08:00
complete_scanner_error.lean.expected.out fix(frontends/lean/parser): catch exceptions thrown by sync_command 2017-01-10 14:42:48 -08:00
complete_tactic.lean feat(frontends/lean): rework and simplify completion parsing, enabling completion of empty prefixes 2017-01-10 12:25:33 +01:00
complete_tactic.lean.expected.out fix(tests/lean/interactive): expected output 2017-01-10 09:05:44 -08:00
complete_trailing_period.lean chore(tests/lean/interactive): simplify input format and test full completion output 2017-01-10 12:25:33 +01:00
complete_trailing_period.lean.expected.out fix(tests/lean/interactive): expected output 2017-01-10 09:05:44 -08:00
do_info.lean fix(frontends/lean): auxiliary bind-application in do-notation was not allowing us to obtain type information for the monadic actions. 2017-01-12 18:38:31 -08:00
do_info.lean.expected.out refactor(frontends/lean): interactive tactic support 2017-01-21 22:38:47 -08:00
field_info.lean chore(tests/lean/interactive): simplify input format and test full completion output 2017-01-10 12:25:33 +01:00
field_info.lean.expected.out fix(library/string,library/init/data/to_string): handle ASCII control characters 2017-01-11 23:44:33 -08:00
goal_info.lean fix(frontends/lean/tactic_notation): add skip tactic to save intermediate result 2017-01-20 20:58:05 -08:00
goal_info.lean.expected.out fix(frontends/lean/tactic_notation): add skip tactic to save intermediate result 2017-01-20 20:58:05 -08:00
info.lean feat(frontends/lean/info_manager,shell/server,emacs/lean-type): info: provide more metadata 2017-01-11 15:29:14 +01:00
info.lean.expected.out feat(frontends/lean/info_manager,shell/server,emacs/lean-type): info: provide more metadata 2017-01-11 15:29:14 +01:00
info1.lean chore(tests/lean/interactive): simplify input format and test full completion output 2017-01-10 12:25:33 +01:00
info1.lean.expected.out chore(tests/lean/interactive): simplify input format and test full completion output 2017-01-10 12:25:33 +01:00
info_goal.lean fix(frontends/lean/tactic_notation): report state after tactic execution on , 2017-01-17 16:38:00 -08:00
info_goal.lean.expected.out refactor(frontends/lean): interactive tactic support 2017-01-21 22:38:47 -08:00
mk_input.sh feat(frontends/lean,library/scoped_ext,shell): complete namespaces 2017-01-10 12:25:33 +01:00
run_single.sh chore(tests/lean/interactive): simplify input format and test full completion output 2017-01-10 12:25:33 +01:00
sync.input chore(tests/lean/interactive): simplify input format and test full completion output 2017-01-10 12:25:33 +01:00
sync.input.expected.out chore(tests/lean/interactive): simplify input format and test full completion output 2017-01-10 12:25:33 +01:00
test_single.sh chore(tests/lean/interactive): simplify input format and test full completion output 2017-01-10 12:25:33 +01:00