Re: [stack] Re: Joy noob checking in!
Duke Normandin <[email protected]> Mon, 10 May 2010 19:37:51 -0600 (MDT)
| Newsgroups | gmane.comp.lang.concatenative |
|---|---|
| Message-ID | <alpine.OSX.2.01.1005101932050.32989@q75-154-107-232.noufvn.gryhf.arg> |
On Mon, 10 May 2010, William Tanksley, Jr wrote: > Duke Normandin <[email protected]> wrote: > > William Tanksley, Jr wrote: > >> >> By the way, if you HAD been interested in bare metal, I'd have > >> >> suggested learning colorForth and reimplementing it from scratch. Heh. > >> > Why re-implement from scratch? > >> Because it's the only way to really understand the bare metal -- and > >> the only way to get a language ideal for manipulating YOUR machine. > > > I see! Re-implementing it in C? or Assembly Language? > > In itself. And machine language -- see the source for Rainbow Forth > for an example (the white text that looks like assembly language is > actually a comment). Personally, I'd prefer to first implement an > assembler -- it makes it a bit harder to bootstrap on a new machine, > but if one tests carefully that problem can be avoided. But using raw > machine code for the bootstrap code does make the source code shorter, > as long as the reader allows himself to trust the bootstrap code > (which few humans can read). To re-cap - I would need to customize RainbowForth for the particular machine/CPU I'm using, using a combination of RainbowForth and Assembler. Which means that I would first have to learn to program in Assembly language for my target CPU. Ummm... Maybe it's easier than it sounds. ;) -- duke