mirror of
https://github.com/HigherOrderCO/Kind1.git
synced 2024-10-26 16:58:48 +03:00
Add bootstrap script and removed the need for the inject comment
This commit is contained in:
parent
a8662bb93f
commit
4167d3f590
4
bootstrap.sh
Executable file
4
bootstrap.sh
Executable file
@ -0,0 +1,4 @@
|
||||
cargo build --release
|
||||
# Probably we should just use git clone in Wikind?
|
||||
cd ../Wikind
|
||||
../Kind2/target/release/kind2 to-hvm Kind/TypeChecker.kind2 >> ../Kind2/src/checker.hvm
|
1243
src/checker.hvm
1243
src/checker.hvm
File diff suppressed because it is too large
Load Diff
@ -287,7 +287,7 @@ pub fn readback_string(rt: &hvm::Runtime, host: u64) -> String {
|
||||
fn gen_checker(book: &Book) -> String {
|
||||
// Compile the Kind2 file to HVM checker
|
||||
let base_check_code = compile_book(&book);
|
||||
let mut check_code = (&CHECKER_HVM[0 .. CHECKER_HVM.find("////INJECT////").unwrap()]).to_string();
|
||||
let mut check_code = CHECKER_HVM.to_string();
|
||||
check_code.push_str(&base_check_code);
|
||||
return check_code;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user