about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-07-14 23:33:50 +0200
committerBaitinq <[email protected]>2025-07-14 23:33:50 +0200
commite06af40803db2200f11eab81f4ec45122f1bc38a (patch)
tree3bc86f318d4018cc12c0330aa748d3b1bc7054d6
parentstd: Fix hashmap hash (diff)
downloadpry-lang-e06af40803db2200f11eab81f4ec45122f1bc38a.tar.gz
pry-lang-e06af40803db2200f11eab81f4ec45122f1bc38a.tar.bz2
pry-lang-e06af40803db2200f11eab81f4ec45122f1bc38a.zip
Misc: Add boostrap script
-rwxr-xr-xbootstrap.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
new file mode 100755
index 0000000..6bcfacd
--- /dev/null
+++ b/bootstrap.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+zig build run -- src/bootstrap/main.pry && cc $(llvm-config --libs) output.o -o stage1 && ./stage1 src/bootstrap/main.pry && cc $(llvm-config --libs) bootstrap_output.o -o stage2 && ./stage2 src/bootstrap/main.pry && cc $(llvm-config --libs) bootstrap_output.o -o stage3