Wiki

pl_DWScript

 

pl_DWScript

 

it's a fork of DelphiWebScript for CodeTyphon Studio.

DWS allows to use as well as define whole classes (with polymorphism, meta-class and interfaces support, etc.).
The scripting language is based on Delphi, but also supports syntax and features similar to Prism and FreePascal, as well as various language extensions.
Scripts can be executed from CodeTyphon applications (in a safe, sand-boxed fashion).

  • supports classes, interfaces, records
  • supports static and dynamic arrays
  • sand-boxed, automatic memory management
  • strong typing
  • type inference
  • full support for meta-classes
  • support function & methods pointers
  • contracts-programming
  • generalized helpers
  • generalized “case of” and “in […]” syntax
  • scoped, inline variable declaration
  • operator overloading
  • compound assignment operators
  • extensive exposure, declaration, inspection & debugging features
  • inline implementations of class methods
  • partial classes
  • property expressions
  • Automated exposure of Delphi types via RTTI
  • Optional COM/OLE capability (via COM Connector)
  • Optional RTTI direct connectivity (via RTTI Connector)
  • Optional asm capability (32 bits, via NASM)
  • Optional JavaScript code generation (compile to JavaScript)
  • etc.

 

 

home64 Home page: https://bitbucket.org/egrange/dwscript/src/master/