From: Matthias T. <mt...@we...> - 2009-12-06 19:12:12
|
Hi, > ,---- > | Most of the words are written in forth itself, but are precompiled > | into the assembler syntax. This solves the chicken-and-egg problem: > | how to compile the compiler words. > `---- > > Where can I find the (forth) source code for the compiler, There is none, I outlined the code with the stack effects on paper&pencil basis and wrote the assembler sources directly without an immediate tool. Did you look at the http://amforth.sourceforge.net/words/ pages? > and the > precompiler that generates the assembly? I did some searching in the > source tree, to no avail. > Michael writes a forth2assembler tool named g4 and publishes it at http://www.forth-ev.de/repos/g4/ His tool is very well suited for most use cases (and with known limitations). Matthias |