paka icon indicating copy to clipboard operation
paka copied to clipboard

boot.bc

Open dragondjf opened this issue 3 years ago • 4 comments

where is src of boot.bc,how to build

dragondjf avatar Jan 09 '22 12:01 dragondjf

boot.bc is the bootstrap compiler for paka, it is built from the last paka that can build the current. make clean && make && mv bin/stage3.bc bins/boot.bc

ShawSumma avatar Jan 09 '22 15:01 ShawSumma

originally paka was written in Dlang, the first boot.bc was compiled from that... we are a few dozen away from that time.

ShawSumma avatar Jan 09 '22 21:01 ShawSumma

I run bench/fib.paka successfully, that's great job, run fast ,cool ! Dlang source for the bootstrap compiler for paka is not opened? I want to learn this, thanks!

scriptiot-dev avatar Jan 10 '22 15:01 scriptiot-dev

The boostrap compiler was in this repo. It was eventually and slowly removed in favor of a Paka hosted compiler.

ShawSumma avatar Jan 10 '22 16:01 ShawSumma