lean2/src/kernel
Leonardo de Moura d843d432d3 refactor(kernel): move printer and formatter objects to the kernel
The printer and formatter objects are not trusted code.
We moved them to the kernel to be able to provide them as an argument to the trace objects.
Another motivation is to eliminate the kernel_exception_formatter hack.
With the formatter in the kernel, we can implement the pretty printer for kernel exceptions as a virtual method.

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-10-22 08:15:36 -07:00
..
abstract.cpp Use fullpath in #include directives, add missing STL headers 2013-09-13 03:35:29 -07:00
abstract.h Use fullpath in #include directives, add missing STL headers 2013-09-13 03:35:29 -07:00
builtin.cpp Modify Doxygen file to extract all elements even the undocumented ones. Disable warnings for undocumented entities. Add extra comments. 2013-09-13 13:46:22 -07:00
builtin.h Apply coding style 2013-09-13 18:48:09 -07:00
CMakeLists.txt refactor(kernel): move printer and formatter objects to the kernel 2013-10-22 08:15:36 -07:00
context.cpp Use fullpath in #include directives, add missing STL headers 2013-09-13 03:35:29 -07:00
context.h refactor(kernel): move printer and formatter objects to the kernel 2013-10-22 08:15:36 -07:00
environment.cpp feat(kernel): add weight to kernel definitions 2013-10-15 14:50:08 -07:00
environment.h Use consistent naming conventions 2013-09-17 14:43:07 -07:00
expr.cpp refactor(metavar): reorganize and simplify metavariables 2013-10-22 08:15:36 -07:00
expr.h refactor(kernel): move printer and formatter objects to the kernel 2013-10-22 08:15:36 -07:00
expr_eq.h refactor(metavar): reorganize and simplify metavariables 2013-10-22 08:15:36 -07:00
expr_maps.h Use fullpath in #include directives, add missing STL headers 2013-09-13 03:35:29 -07:00
expr_sets.h Use fullpath in #include directives, add missing STL headers 2013-09-13 03:35:29 -07:00
for_each.h Move metavariables to the kernel. This is the first step for implementing the new elaborator. 2013-09-15 12:09:01 -07:00
formatter.cpp refactor(kernel): move printer and formatter objects to the kernel 2013-10-22 08:15:36 -07:00
formatter.h refactor(kernel): move printer and formatter objects to the kernel 2013-10-22 08:15:36 -07:00
free_vars.cpp refactor(debug): improve lean_unreachable(), now we can avoid 'fake' return statements 2013-09-25 21:27:20 -07:00
free_vars.h Simplify metavariable context. Now, we have only 'lift' and 'inst' instead of 'subst', 'lift' and 'lower' 2013-09-16 19:32:28 -07:00
instantiate.cpp Simplify metavariable context. Now, we have only 'lift' and 'inst' instead of 'subst', 'lift' and 'lower' 2013-09-16 19:32:28 -07:00
instantiate.h Simplify metavariable context. Now, we have only 'lift' and 'inst' instead of 'subst', 'lift' and 'lower' 2013-09-16 19:32:28 -07:00
kernel_exception.h Use fullpath in #include directives, add missing STL headers 2013-09-13 03:35:29 -07:00
level.cpp refactor(debug): improve lean_unreachable(), now we can avoid 'fake' return statements 2013-09-25 21:27:20 -07:00
level.h Implement total order on expressions 2013-09-24 12:16:32 -07:00
metavar.cpp refactor(metavar): reorganize and simplify metavariables 2013-10-22 08:15:36 -07:00
metavar.h feat(kernel): add unification_constraint and trace objects to the kernel 2013-10-22 08:15:36 -07:00
normalizer.cpp refactor(metavar): reorganize and simplify metavariables 2013-10-22 08:15:36 -07:00
normalizer.h refactor(metavar): reorganize and simplify metavariables 2013-10-22 08:15:36 -07:00
object.cpp feat(kernel): add weight to kernel definitions 2013-10-15 14:50:08 -07:00
object.h feat(kernel): add weight to kernel definitions 2013-10-15 14:50:08 -07:00
occurs.cpp Update to suppress unused-parameter warnings 2013-09-19 22:40:34 -07:00
occurs.h Use fullpath in #include directives, add missing STL headers 2013-09-13 03:35:29 -07:00
printer.cpp refactor(kernel): move printer and formatter objects to the kernel 2013-10-22 08:15:36 -07:00
printer.h refactor(kernel): move printer and formatter objects to the kernel 2013-10-22 08:15:36 -07:00
replace.h feat(kernel): add static_assert to expr,expr_eq,replace 2013-10-01 16:47:36 -07:00
trace.cpp feat(kernel): add unification_constraint and trace objects to the kernel 2013-10-22 08:15:36 -07:00
trace.h feat(kernel): add unification_constraint and trace objects to the kernel 2013-10-22 08:15:36 -07:00
type_checker.cpp refactor(metavar): reorganize and simplify metavariables 2013-10-22 08:15:36 -07:00
type_checker.h refactor(metavar): reorganize and simplify metavariables 2013-10-22 08:15:36 -07:00
unification_constraint.cpp feat(kernel): add unification_constraint and trace objects to the kernel 2013-10-22 08:15:36 -07:00
unification_constraint.h feat(kernel): add unification_constraint and trace objects to the kernel 2013-10-22 08:15:36 -07:00
value.h Modify Doxygen file to extract all elements even the undocumented ones. Disable warnings for undocumented entities. Add extra comments. 2013-09-13 13:46:22 -07:00