lean2/src/frontends/lean
Leonardo de Moura 51aee83b70 refactor(kernel/metavar_env): use the same approach used in the class environment in the class metavar_env
This modification was motivated by a bug exposed by tst17 at tests/kernel/type_checker.
metavar_env is now a smart point to metavar_env_cell.
ro_metavar_env is a read-only smart pointer. It is useful to make sure we are using proof_state correctly.

example showing that the approach for caching metavar_env is broken in the type_checker

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-13 18:59:15 -08:00
..
CMakeLists.txt refactor(frontends/lua): rename leanlua_state to script_state, and move it to util 2013-11-27 14:57:36 -08:00
coercion.h Rename lean frontend files. The prefix lean_ is not necessary anymore. 2013-09-12 20:09:35 -07:00
frontend.cpp refactor(kernel/environment): add ro_environment 2013-12-12 16:48:34 -08:00
frontend.h refactor(kernel/environment): add ro_environment 2013-12-12 16:48:34 -08:00
frontend_elaborator.cpp refactor(kernel/metavar_env): use the same approach used in the class environment in the class metavar_env 2013-12-13 18:59:15 -08:00
frontend_elaborator.h feat(frontends/lean/parser): add basic tactic support in the frontend 2013-11-28 21:08:12 -08:00
notation.cpp refactor(kernel/environment): add ro_environment 2013-12-12 16:48:34 -08:00
notation.h fix(frontends/lean/notation): change the precedence of '->' 2013-12-06 13:23:24 -08:00
operator_info.cpp chore(util/rc): remove unnecessary argument from LEAN_COPY_REF and LEAN_MOVE_REF macros 2013-12-13 15:01:24 -08:00
operator_info.h refactor(library/io_state): simplify regular/diagnostic 2013-12-10 13:09:35 -08:00
parser.cpp refactor(kernel/metavar_env): use the same approach used in the class environment in the class metavar_env 2013-12-13 18:59:15 -08:00
parser.h refactor(frontends/lua): rename leanlua_state to script_state, and move it to util 2013-11-27 14:57:36 -08:00
pp.cpp refactor(kernel/environment): add ro_environment 2013-12-12 16:48:34 -08:00
pp.h refactor(kernel/environment): add ro_environment 2013-12-12 16:48:34 -08:00
register_module.cpp refactor(kernel/environment): add ro_environment 2013-12-12 16:48:34 -08:00
register_module.h refactor(frontends/lua): rename leanlua_state to script_state, and move it to util 2013-11-27 14:57:36 -08:00
scanner.cpp feat(frontends/lean): allow 'tactic hints' to be associated with 'holes' 2013-12-06 14:49:39 -08:00
scanner.h feat(frontends/lean): allow 'tactic hints' to be associated with 'holes' 2013-12-06 14:49:39 -08:00