lean4-htt/src/util
Mac Malone 79838834c1
refactor: port shell option processing to Lean (v2) (#11434)
This PR moves the processing of options passed to the CLI from
`shell.cpp` to `Shell.lean`.

As with previous ports, this attempts to mirror as much of the original
behavior as possible, Benefits to be gained from the ported code can
come in later PRs. There should be no significant behavioral changes
from this port. Nonetheless, error reporting has changed some, hopefully
for the better. For instance, errors for improper argument
configurations has been made more consistent (e.g., Lean will now error
if numeric arguments fall outside the expected range for an option).

(Redo of #11345 to fix Windows issue.)
2025-12-02 17:41:51 +00:00
..
alloc.h perf: use mimalloc with important C++ hash maps (#7868) 2025-04-11 16:23:33 +00:00
ascii.cpp
ascii.h
bit_tricks.cpp
bit_tricks.h
CMakeLists.txt fix: Windows needs more LEAN_EXPORTs 2024-08-12 14:14:42 +02:00
escaped.cpp
escaped.h
exception_with_pos.h
ffi.cpp chore: CMAKE_CXX_SYSROOT_FLAG is also needed for linking (#6297) 2024-12-03 16:14:22 +00:00
freset.h
init_module.cpp fix: Windows needs more LEAN_EXPORTs 2024-08-12 14:14:42 +02:00
init_module.h fix: Windows needs more LEAN_EXPORTs 2024-08-12 14:14:42 +02:00
io.h feat: zero cost BaseIO (#10625) 2025-10-22 10:55:12 +02:00
kvmap.cpp
kvmap.h perf: mark move constructors and assignment operators as noexcept (#10784) 2025-10-22 14:21:51 +00:00
lbool.cpp
lbool.h
list.h perf: mark move constructors and assignment operators as noexcept (#10784) 2025-10-22 14:21:51 +00:00
list_fn.cpp
list_fn.h
macros.h
map_foreach.cpp
map_foreach.h
message_definitions.h feat: define Int8 (#5790) 2024-10-25 06:06:40 +00:00
name.cpp fix: Windows needs more LEAN_EXPORTs 2024-08-12 14:14:42 +02:00
name.h perf: mark move constructors and assignment operators as noexcept (#10784) 2025-10-22 14:21:51 +00:00
name_generator.cpp
name_generator.h
name_hash_map.h perf: used hashmaps for symbol lookup in the interpreter (#10927) 2025-10-23 11:45:20 +00:00
name_hash_set.h
name_map.h
name_set.cpp
name_set.h
nat.h perf: mark move constructors and assignment operators as noexcept (#10784) 2025-10-22 14:21:51 +00:00
null_ostream.h
option_declarations.cpp feat: document that backward options may disappear (#11304) 2025-11-24 17:49:46 +00:00
option_declarations.h fix: Windows needs more LEAN_EXPORTs 2024-08-12 14:14:42 +02:00
options.cpp refactor: port shell option processing to Lean (v2) (#11434) 2025-12-02 17:41:51 +00:00
options.h refactor: port shell option processing to Lean (v2) (#11434) 2025-12-02 17:41:51 +00:00
output_channel.h chore: fix spelling mistakes in non-Lean files (#5430) 2024-09-23 21:11:20 +00:00
pair.h
path.cpp fix: resolve symbolic links through IO.FS.realPath on windows (#8534) 2025-06-13 13:16:13 +00:00
path.h fix: resolve symbolic links through IO.FS.realPath on windows (#8534) 2025-06-13 13:16:13 +00:00
rb_map.h
rb_tree.h perf: mark move constructors and assignment operators as noexcept (#10784) 2025-10-22 14:21:51 +00:00
rc.h
shell.cpp refactor: port shell option processing to Lean (v2) (#11434) 2025-12-02 17:41:51 +00:00
test.h
timeit.cpp
timeit.h chore: fix C++ warning (#10922) 2025-10-24 11:09:08 +00:00
timer.cpp
timer.h
unit.h
unlock_guard.h