skywalker
Posts: 28
Joined: Tue Nov 06, 2012 4:55 am
Location: Vancouver, Canada

Is anyone working on a bare-metal Forth?

Tue Dec 25, 2012 9:38 am

I have a soft spot for Forth (remembering the Jupiter Ace) and it might be quite cute to have a Forth that you can boot directly to on the Pi.

I know there are Forths available in Linux etc., but I'm specifically interested in a bare-metal implementation.

There are probably a number of suitable ARM Forths as a starting point and it might be easy enough to use the excellent bare-metal tutorials as a starting point for providing the I/O primitives for a text-only bootstrapping of an existing Forth on the Pi.

I might have a bash at this myself if I can find the time... but perhaps someone has already had the same idea?

User avatar
stanjones0net
Posts: 3
Joined: Fri Jun 15, 2012 2:24 pm

Re: Is anyone working on a bare-metal Forth?

Thu Dec 27, 2012 3:21 pm

skywalker wrote:I have a soft spot for Forth (remembering the Jupiter Ace) and it might be quite cute to have a Forth that you can boot directly to on the Pi.

I know there are Forths available in Linux etc., but I'm specifically interested in a bare-metal implementation.

There are probably a number of suitable ARM Forths as a starting point and it might be easy enough to use the excellent bare-metal tutorials as a starting point for providing the I/O primitives for a text-only bootstrapping of an existing Forth on the Pi.

I might have a bash at this myself if I can find the time... but perhaps someone has already had the same idea?
I am working on a Forth also but my day job is keeping me to busy for now. My first Forth was on a Radio Shack Color Computer (6809) but limited in memory. The Pi should be virtually unlimited. Please keep us posted with your progress.

User avatar
u8nc
Posts: 45
Joined: Mon Mar 05, 2012 7:55 am
Location: Rural Australia

Re: Is anyone working on a bare-metal Forth?

Sun Dec 30, 2012 6:17 am

I dont know how bare metal, but it may also be just a step away for you or I to meta-compile it into submission.

someone called Hans Bezemer at http://hansoft.come.to has an offering for the Raspberry Pi that looks like the ink on it is only a week old!. minimalist website, just navigate to downloads. If yo Java isnt up to date, you can open his directory tree "there".

I'm currently doing something Pi-centric on the iOS platform, so as soon as that's out of my hair I'll get back into Forth, I loved it on the Atari ST in the mid 80's. It certainly has a future on the Raspberry with its readability in coding and affinity for embedding.

too much fun by far..

skywalker
Posts: 28
Joined: Tue Nov 06, 2012 4:55 am
Location: Vancouver, Canada

Re: Is anyone working on a bare-metal Forth?

Mon Dec 31, 2012 7:57 am

Thanks for the link.

I've downloaded the RasPi package. I think this is for compilation and execution under Linux, but maybe the dependencies in the primitive words are simple enough to be replaced in order to make an independent bare-metal version. Anyway, that'll take some investigation...

User avatar
u8nc
Posts: 45
Joined: Mon Mar 05, 2012 7:55 am
Location: Rural Australia

Re: Is anyone working on a bare-metal Forth?

Thu Mar 21, 2013 12:38 pm

You may have noticed this here, but in case you haven't

http://www.raspberrypi.org/phpBB3/viewt ... 46#p314546

..hot off the press

Return to “Other programming languages”