From: Spam on

On Fri, 23 Apr 2010, Raul wrote:

> Date: Fri, 23 Apr 2010 02:10:02 -0700 (PDT)
> From: Raul <raul.bachmann(a)gmail.com>
> Newsgroups: comp.arch.embedded
> Subject: Embedded scripting engine
>
> Hi,
>
> I'm looking for a small scripting engine implementation for my
> embedded project running on STM32F103T6 MCU @ 72MHz and FreeRTOS 6.0.4
> and ST library 3.2.0.
>
> Right now, I'm using a derivate of basic language with code:
> c=0
> for d=1 to 10000
> set_onboard_led c
> if c=0 then c=1 else c=0
> next d
> end
>
> and get performance roughly 1 millisecond per 1 loop. The project is
> level 2 optimized in GCC (-O2).
> The script is running as an operating system task. I'm looking for an
> alternative scripting solution that can do roughly 20 microseconds per
> 1 loop.
>
> Thanks in advance!
>

I should think ficl would fill the bill ...

http://ficl.sourceforge.net/

This C based forth interpreter is used to boot FreeBSD, and was designed
from the outset to be embedded.

HTH,

Rob Sciuk