lean4-htt/src/library
Mac Malone 2a8cd373ca
feat: respect lean --setup module name in code generation (#8780)
This PR makes Lean code generation respect the module name provided
through `lean --setup`.

This is accomplished by porting to Lean the portion of `shell.cpp` that
spans running the frontend to exiting the process. This makes it easier
to load the module setup and control how its name is passed to the code
generation functions. This port attempts to minimize the changes made to
Lean. It marks the new Lean functions `private` and tries to preserve as
faithfully as possible the behavior of the original C++ code. Exposing
the new Lean interface publicly and/or further improving the code now
that is written in Lean is left for the future.
2025-06-15 01:11:58 +00:00
..
compiler feat: respect lean --setup module name in code generation (#8780) 2025-06-15 01:11:58 +00:00
constructions chore: reimplement mk_projections in Lean (#7295) 2025-03-03 01:10:27 +00:00
annotation.cpp
annotation.h
aux_recursors.cpp feat: split Lean.Kernel.Environment from Lean.Environment (#5145) 2025-01-18 18:42:57 +00:00
aux_recursors.h feat: split Lean.Kernel.Environment from Lean.Environment (#5145) 2025-01-18 18:42:57 +00:00
bin_app.cpp
bin_app.h
class.cpp feat: split Lean.Kernel.Environment from Lean.Environment (#5145) 2025-01-18 18:42:57 +00:00
class.h feat: split Lean.Kernel.Environment from Lean.Environment (#5145) 2025-01-18 18:42:57 +00:00
CMakeLists.txt feat: smarter plugin loading (#7090) 2025-02-18 23:03:52 +00:00
constants.cpp
constants.h
constants.txt
dynlib.cpp feat: smarter plugin loading (#7090) 2025-02-18 23:03:52 +00:00
dynlib.h feat: smarter plugin loading (#7090) 2025-02-18 23:03:52 +00:00
elab_environment.cpp feat: allow use of experimental module system in Init (#7919) 2025-04-22 09:09:27 +00:00
elab_environment.h feat: allow use of experimental module system in Init (#7919) 2025-04-22 09:09:27 +00:00
expr_lt.cpp feat: add the nondep field of Expr.letE to the C++ data model (#8751) 2025-06-14 23:10:27 +00:00
expr_lt.h
expr_pair.h
expr_pair_maps.h
expr_unsigned_map.h
formatter.cpp
formatter.h
init_module.cpp feat: smarter plugin loading (#7090) 2025-02-18 23:03:52 +00:00
init_module.h
max_sharing.cpp
max_sharing.h
module.cpp feat: environment extension data can be split into .olean.server (#7914) 2025-04-11 13:06:19 +00:00
module.h feat: split Lean.Kernel.Environment from Lean.Environment (#5145) 2025-01-18 18:42:57 +00:00
num.cpp
num.h
print.cpp feat: add the nondep field of Expr.letE to the C++ data model (#8751) 2025-06-14 23:10:27 +00:00
print.h
profiling.cpp
profiling.h
projection.cpp feat: split Lean.Kernel.Environment from Lean.Environment (#5145) 2025-01-18 18:42:57 +00:00
projection.h feat: split Lean.Kernel.Environment from Lean.Environment (#5145) 2025-01-18 18:42:57 +00:00
reducible.cpp feat: split Lean.Kernel.Environment from Lean.Environment (#5145) 2025-01-18 18:42:57 +00:00
reducible.h feat: split Lean.Kernel.Environment from Lean.Environment (#5145) 2025-01-18 18:42:57 +00:00
replace_visitor.cpp
replace_visitor.h
suffixes.h fix: allow arbitrary sorts in structural recursion over reflexive inductive types (#7639) 2025-06-13 21:51:09 +00:00
time_task.cpp feat: respect lean --setup module name in code generation (#8780) 2025-06-15 01:11:58 +00:00
time_task.h perf: remove most remaining async blockers in Init.Data.List.Sublist (#7500) 2025-03-15 15:26:06 +00:00
util.cpp
util.h