DMDScript - an ECMA 262 implementation

Top Page

Reply to this message
Author: Andy Sy
Date:  
To: True Computer Science Mailing List
Subject: DMDScript - an ECMA 262 implementation
Another interesting piece of software downloadable
from the Digital Mars website is DMDScript which is
an ECMA-262 (aka Javascript) implementation

http://www.digitalmars.com/dscript/index.html

DMDScript is available as source and is written
in C++ as well as D. The C++ version exists to help
with interfacing to C++ applications and when support
for the IActiveScript COM interface is desired (e.g.
using DMDScript as an alternative javascript engine
for IE).

Both the D and C++ implementations are claimed to offer
twice the performance of JScript.

The D implementation source code looks very clear and
will probably serve as a great guide to learning how
to write a parser/interpreter (e.g. for computer science
classes).

Since Douglas Crockford's efforts have made Javascript
a very respectable language (he has a nice new book out
- "Javascript - The Good Parts"), DMDScript also looks
like it would make a great language for scripting D code.



------------------------
http://www.neotitans.com
SEO, Web Development and IT Consulting
______________________________________________________
True Computer Science Mailing List
compsci@??? (#CompSci @ irc.free.net.ph)
http://lists.free.net.ph/mailman/listinfo/compsci
Searchable Archives: http://archives.free.net.ph