Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

ID: 16040, DelphiWebScriptII beta 1

by Willibald Krenn Email: Anonymous

OOP capable Pascal interpreter (Not only web-scripting!)
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 6.0  to 6.0 187 downloads
Copyright: Open Source or other

Size: 377,783 bytes
Updated on Fri, 18 May 2001 09:56:55 GMT
Originally uploaded on Wed, 02 May 2001 13:20:06 GMT
SHA1 Hash: C5CD9C4212171FC3BA4C7B8F86B396ACDDCC4B48
MD5 Hash: 87556F522B4A7DC2E123307DB5120C90

    Explore the files in this upload

DWS is an OpenSource project. Our goal is to create a multi-purpose scripting language for use in Borland Delphi projects. DWS is distributed under Mozilla Public License 1.1

Programming Language
The programming language supported by DWS is a subset of Delphi pascal. In difference to DWS 1 the new version DWSII now supports all important features of an object orientated programming language.

Connection to Delphi
DWS is an invisible Delphi component. To execute a script you just have to call the component's compile method. Compile returns a TProgram object that executes your script.

To call a native-Delphi function from within a DWS script, you have to declare a DWS-wrapper-function using the Tdws2Unit component. As soon as this function is called, it's "OnEval" event is fired. The event handler now executes every Delphi code you wrote...

Technical Details
DWS uses a recursive parser to transform a script program into a data structure called "Abstract Syntax Tree" (AST). During the execution the compiled AST is beeing evaluated. Information about the variables, data types and classes used in the script program is maintained in a separate symbol table.

DWS is a typed language. This means that you have to declare a variable before you can use it. Therefore the compiler is able to find type mismatches at compile time.

For further information, updates and/or additional tools (e.g. Debugger) point your browser to

For more information, see

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC04