Hi Joep,

> I took a look at fifth, but only found one relevant hit and that was
> an reference only to an article...

Fifth is internally developped by Philips (I believe in the mid 80's), so it 
is not strange to find many
references. During one of the projects I've ported the code to a power PC 
based platform and
added specific dictionary entries for that platform

>
> This thread however inspired me to spend (spoil?) some time on this
> concept again. I mentioned the huge footprint of the forth
> interpreter. I now build a small forth interpreter with some basic
> words and without the option to add words from scratch. It is running
> now and is (with serial and i2c routines) about 13k in size. Not in
> Jal but in C for Atmel, but this is mainly for practical reasons (test
> code on pc first, a larger atmel board at hand).

Not bad, so it might be feasible to port it to a PIC 18f

>
> My idea is to add a finit state machine engine. All basic functions
> (interrupts, serial comms, i2c comms with slave processors) is done in
> C. At the top level, the FSM runs. The FSM consists of states, where
> each state has multibple actions (onentry, onexit, dostate) and
> multiple conditions (with a new state when true and oncondition
> action). The forth engine is used for the condition evaluation and
> actions. The fsm (fsm structure, forth code and some logical names) is
> defined in an editor and converted by a perl script into data. This
> data is loaded into an i2c eeprom.
> And why forth? Since it is simple to build (got it up and running from
> scratch within one day!) and can hande complex conditions and actions.
> And it can be easily extended if required.
>
> Let me know what you think of this!

Sounds nice, though I have not any practical experience with Atmel devices

Albert


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to