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
ascii.cpp
ascii.h
bit_tricks.cpp
bit_tricks.h
CMakeLists.txt
escaped.cpp
escaped.h
exception_with_pos.h
ffi.cpp
freset.h
init_module.cpp
init_module.h
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
name.cpp
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
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
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