Projects Forum
Download latest build of this project:
Size: 162.01kb
| Revision | Operations | |
|---|---|---|
| 12/01/2010 - 19:25 by jason First code release | current revision | |
| 04/01/2010 - 13:25 by DrFingersSchaefer | ||
| 04/01/2010 - 06:59 by DrFingersSchaefer | ||
| 03/01/2010 - 22:12 by DrFingersSchaefer The projects objectives are to create a G4th, initially something like the ANS/ISO spec and then add in any necessary extras to make best expose/use of all the native features of the processor. | ||
It is years since I last looked at Forth, but a quick recap has convinced me that it may be worth while creating a Forth for the G4 processor (Hence G4th). More than likely written in Assembler.
Does anyone else have Forth experience or interested in taking part ??
This is a Project for if you have/are.
The projects objectives are to create a G4th, initially something like the ANS/ISO spec and then add in any necessary extras to make best of/expose all the native features of the processor.

Implementing FORTH should usually be a bottom-up job
Rather than trying to implement FORTH as a top-down job within an outline, it usually works better to get a core interpreter running, then add the dictionary to it using FORTH itself. Then it's a small job in the native language, and you or anyone else can add additional words to that. Most of FORTH is written in FORTH.
For a blow-by-blow look at implementing a FORTH, you might want to look at Jonesforth. The hosting page is offline now, but you can find the two files at archive.org:
http://annexia.org/_file/jonesforth.s.txt
http://www.annexia.org/_file/jonesforth.f.txt
Good copies can be found at:
http://web.archive.org/web/20080620234645/http://www.annexia.org/_file/j...
http://web.archive.org/web/20080602131211/http://www.annexia.org/_file/j...
I implemented a FORTH on an ASIC processor back in about 1983. It took about two weeks of occasional work in my spare time. I could have had it going in one intensive weekend. I used the standard old way of using blocks with no underlying file system (the mass storage was a single raw floppy disk.)
Note for G4 developement
I thought this page may interest some...
How to apply Forth
Great stuff
Great stuff! On another note - if anyone else is having issues uploading files to projects please let me know, as I cant seem to recreate DrFingersSchaefer's upload problem my end.
First cut of project structure and source files uploaded
Good news and thanks to Jason for helping me get the first cut of the project files uploaded. No actual real source yet just lots of template files with comments ready to add source to and the makefile based command line IDE.
Please take a look, all feedback welcome.
Development Platform
I will be doing initial development work on an XC-1 using the XDE as an assembler.