[chbot] Forth for embedded programming.

Mark Atherton markaren1 at xtra.co.nz
Thu Nov 3 07:16:58 GMT 2011


Robin, you are making me feel old.

I did one for a 6809 (still have the board).

Also, just found the hardback in the library.

Remember doing a recursive binary tree search - just for the 
hallibut, cod that for a game of soldiers, but it worked...

-Mark

At 07:46 p.m. 3/11/2011, you wrote:

> >
> > Has anyone had any real world experience with forth?
> > Its one of those ones that always seemed like it might be worth playing
> > with but I never got around to it.
> >
> > Is it still a practical language? Worth the effort?
> > C
>
>I wrote a Forth interpreter many years ago for a Z80 CPU - hmmm must have
>been about 25 years ago.
>
>Was a fun job as once you have the primitives you can build your own
>language elements (I recall being well pleased with a switch statement
>referencing items off the stack.
>
>I have a very good book available for loan (i.e. it *MUST* be returned in
>good condition) called "Threaded Interpreive Languages" by R G Loeliger
>which funnily enough has an implementation in Z80 assembler :)
>
>I can't remember much about the implementation apart from the speed and
>small code size which were quite amazing.
>
>--
>Robin Gilks
>
>
>
>_______________________________________________
>Chchrobotics mailing list Chchrobotics at lists.linuxnut.co.nz
>http://lists.ourshack.com/mailman/listinfo/chchrobotics
>Mail Archives: http://lists.ourshack.com/pipermail/chchrobotics/
>Web site: http://kiwibots.org
>Meetings 3rd Monday each month at Tait Radio Communications, 175 
>Roydvale Ave, 6.30pm
>
>When replying, please edit your Subject line to reflect new content.




More information about the Chchrobotics mailing list