|[2 earlier articles]|
|Re: Looking for scripting suggestions email@example.com (Eric Tetz) (2001-08-02)|
|Re: Looking for scripting suggestions firstname.lastname@example.org (2001-08-02)|
|Re: Looking for scripting suggestions email@example.com (2001-08-02)|
|Re: Looking for scripting suggestions firstname.lastname@example.org (2001-08-02)|
|Re: Looking for scripting suggestions Ron@Profit-Master.com (Ron Pinkas) (2001-08-02)|
|Re: Looking for scripting suggestions email@example.com (Manoj Plakal) (2001-08-08)|
|Re: Looking for scripting suggestions firstname.lastname@example.org (Fabrice Medio) (2001-08-15)|
|Re: Looking for scripting suggestions email@example.com (George B. Smith) (2001-08-24)|
|Re: Looking for scripting suggestions firstname.lastname@example.org (Eric Tetz) (2001-09-03)|
|From:||Fabrice Medio <email@example.com>|
|Date:||15 Aug 2001 01:44:40 -0400|
|Posted-Date:||15 Aug 2001 01:44:40 EDT|
firstname.lastname@example.org (Spam MeNot) writes:
> I'm looking for a scripting library that can be embedded in an
> application. What I want is fairly simple, but difficult to locate.
> First, the syntax has to be simple and comfortable. I need for
> non-programmers to be able to generate these simple scripts.
OK for this particular constraint.
> Second, the language should be non-typed. This makes it easier for
> new users to pickup.
> Next, and this one is a bit strange, I don't want it able to do a
> great deal of processing. The idea is that these scripts could do
> simple conditional checks and validations on data entry, but any
> serious processing would be delegated to a remote service.
Did you think about Lisp-ish languages, most probably Scheme, to
fulfill this task ? Weak typing, extremely simple syntax and a very
small memory footprint makes it a scripting language of choice.
> Also, it needs to be embeddable and simply extendable. I will be
> wanting to add access to certain functions in the host environment
> that the script is running in. The main application is written in
There are many free Scheme implementation written in C, many of them
being specifically targetted at being extension/scripting
language. The GNU Guile project may in the spirit of what you're
looking for (see http://www.gnu.org/software/guile/)
> Finally, it should be small. I'm not looking for a "DO EVERYTHING"
> type language.
Funny enough, some small (and canonical) Scheme implementations fit in
2000 lines of C code. You might even want to write it yourself :)
Return to the
Search the comp.compilers archives again.