Skip to content

Commit

Permalink
Update for new way of doing in-logic compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
myreen committed Aug 8, 2024
1 parent 7208aa9 commit 9bf0053
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions compiler/binary/Holmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ INCLUDES = ../../language \
$(CAKEMLDIR)/examples \
$(CAKEMLDIR)/translator \
$(CAKEMLDIR)/compiler \
$(CAKEMLDIR)/cv_translator \
$(HOLDIR)/examples/formal-languages/context-free \
$(HOLDIR)/examples/algorithms \
$(HOLDIR)/examples/algorithms/unification/triangular/first-order

ifdef POLY
HOLHEAP = $(CAKEMLDIR)/cv_translator/cake_compile_heap
endif
4 changes: 2 additions & 2 deletions compiler/binary/pure_compilerCompileScript.sml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
Compiles the PureCake compiler using the CakeML compiler
*)

open preamble compilationLib pure_compilerProgTheory;
open preamble pure_compilerProgTheory eval_cake_compile_x64Lib

val _ = new_theory "pure_compilerCompile"

Theorem pure_compiler_compiled =
compile_x64 "pure" pure_compiler_prog_def;
eval_cake_compile_x64 "" pure_compiler_prog_def "pure.S";

val _ = export_theory ();

0 comments on commit 9bf0053

Please sign in to comment.