Re: [stack] Re: Joy noob checking in!
Rodney D Price <[email protected]> Tue, 11 May 2010 16:05:15 -0600
| Newsgroups | gmane.comp.lang.concatenative |
|---|---|
| Message-ID | <[email protected]> |
Not to mention that you'd have to learn the low-level OS calls for either Linux, OSX, or Windows, plus the dirty details of OS device drivers, plus... It makes me shudder just to think of it. The reasons stated above are why I say that Forth is great for /small/ embedded systems, but not for other things. There exist several (many?) Forths that various people have written to run on top of an OS. It appears that RainbowForth is not one of them. If you really must start with Forth, download the free trial Forth from http://www.forth.com. It at least is a commercial-grade implementation of Forth. No guarantees on any of the others. -Rod On May 10, 2010, at 7:37 PM, Duke Normandin wrote: > 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 > ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/concatenative/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/concatenative/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/