Factor out loader functions and core loads as hol_loader.ml and hol_lib.ml #107
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch is a second one of splitted patches to support module compilation of HOL Light.
This
(1) Factors out core library loads as hol_lib.ml, which will be compiled into one giant module in the future
(2) Moves
#install_printer
commands from local files tohol.ml
because the directive cannot be compiled(3) Also factors out
use_file
,loads
,needs
,loadt
and the functions they use tohol_loader.ml
because these will be independently used by the inliner script which will be included in the later patch.Passed holtest on OCaml 4.14 and 4.05, and also checked that hol.sh can be successfully loaded outside hol-light dir.