larsbrinkhoff / lbForth

Self-hosting metacompiled Forth, bootstrapping from a few lines of C; targets Linux, Windows, ARM, RISC-V, 68000, PDP-11, asm.js.
GNU General Public License v3.0
418 stars 112 forks source link

Accomodate asm.js changes in metacompiler #34

Closed larsbrinkhoff closed 7 years ago

larsbrinkhoff commented 7 years ago

The asm.js target added some [IF] sections to the metacompiler. See #33 and f832c946d32af9706a19dbcc65be891dec7b4c87. These should be fixed to use code from some target file instead.

The target also abuses cold.fth to insert special code for dumping the image. This doesn't hurt the overall structure of the metacompiler, but there is room for improvement.

larsbrinkhoff commented 7 years ago

Fixed by df617ad and b6e66b2.