Re: Small embeddable scripting language ?

Java Script is a tempting way to go.  It was the first thing to cross my
mind when I was thinking of what would be the the best scripting
language to use.

- It is simple and a lot of coders of all levels know how to use it.

- It is proven itself as the basis for client side scripting in web

- A version of it is also used successfully in tools like Macromedia's

But the more you look at it the more it seems like Python is a better

- JavaScipt in anything more complicated than manipulating a structured
document gets tedious.  If you have ever had the pleasure to use
Netscape's Server Side java scripting tools you would understand.  It
realy is not up to the task that general languages like Python can
handle with ease.

- JavaScript has a fraction of the bindings that Python has and this
includes the GTK and GNOME libraries.  While work could be done to add
this the question is why, when Python already has it?  Included with
this that would be important to me is database bindings of which Python
has amazing support for.
- Python is just as easy to learn as JavaScript, produces more readable
code by default and is easy to embed & extend.

here are some links to docs for embeding Python: - Extending and Embedding
the Python Interpreter - Python/C API Reference
Manual - Restricted Execution HOWTO


On Thu, 2002-11-28 at 21:13, Owen Taylor wrote:
> Malcolm Tredinnick <malcolm commsecure com au> writes:
> > Also (4): where is a library implementation of ECMAscript (which is the
> > only "standard" for Javascript there is)? You can't just take a couple
> > of files from Mozilla and drop them in.
> Actually, the Javascript engine in Mozilla *is* designed to be
> reusable, see, e.g.:
> [ Doesn't mean that I'm recommending Javascript, just thought
>   I'd point that out ]
> Regards,
>                                         Owen
> _______________________________________________
> gnome-devel-list mailing list
> gnome-devel-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]