OK, got postFORTH version 0 compiling again. This time I actually put the return stack at the end of .bss where it belongs, instead of fiddling with the machine stack. Well, it really doesn't belong there either, but it's an improvement. Ideally it would be malloc'd and protected separate from any other memory section so stack overflows would crash rather than overwrite other memory areas. But leave that for v1.

Back to blog or home page

last updated 2013-01-10 20:27:15. served from tektonic.jcomeau.com