RSS YouTube LinkedIn Twitter XCore IRC

Search

Projects Forum

Enter your XCore Exchange username.
Enter the password that accompanies your username.

Forgot your password?

Sign up for an account

Things to do: Search all projects, Create a project

  • Status: Under development
  • Downloads: 63
  • Licence: GPL
  • Last updated: 12/Jan/2010 at 07:25 PM
  • Sponsors:
  • Wiki entry: View project wiki entry

Version 0.1

Size: 162.01kb

View older versions

Project Overview

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.

Verified to run on

Images and diagrams

Rate this project


5
Average: 5 (1 vote)
Your rating: None

Share this project!

Twitter Icon Share on Twitter

Twitter Icon Share on Facebook

submit to reddit Share on Reddit

Comments / Updates

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.

X
X