Related articles |
---|
[ANN] PasScript v6.51 ab@virtlabor.donbass.com (Alexander Baranovsky) (2002-03-17) |
From: | "Alexander Baranovsky" <ab@virtlabor.donbass.com> |
Newsgroups: | comp.compilers |
Date: | 17 Mar 2002 23:12:31 -0500 |
Organization: | INTS InterNetNews site |
Keywords: | OOP, Pascal |
Posted-Date: | 17 Mar 2002 23:12:31 EST |
PasScript is an interpreter of the Object Pascal language which
supports all Object Pascal data types except interfaces and introduces
Poly data types that allow you to operate with dynamic data structures
(lists, trees, and more) without using pointers.
The interpreter allows you:
. use such concepts as default parameters, overloaded routines, open arrays,
records, classes, class references, objects, properties, events,
exceptions, and more
. create script-defined event handlers
. create script-defined callback functions
. import Delphi classes from dlls
. handle Windows messages
. control an OLE Automation server
. call routines defined in a dll
You can embed the PasScript interpreter into your Delphi application
by means of the TPasScript component.
The TPasScript is non-visual component that you can drop into your
Delphi application so you can extend and customize an application
without having to recompile it.
Using TPasScript you can:
. write and run scripts
. save/load compiled scripts to/from a stream
. pause, resume, and terminate a script
. call a script routine
. use Delphi types, routines, constants, and variables in a script
. import Delphi classes directly (without having to use dll)
. customize parsing process and error handling
. import dfm-files
New:
TPasScriptImporter class allows to parse a Delphi class definition and
produce a imp file that contains all the code needed to register the
class and its ancestors for the PasScript scripter. So, you can
register all public and published members of the Delphi class
automatically. TPasScriptImporter class was tested for all Delphi
classes which are presented at Standard, Additional, Win32, System,
Data Access and Data Controls pages of the Delphi IDE.
Alexander Baranovsky,
VIRT Laboratory
http://users.ints.net/virtlabor/
http://www.passcript.com/
ab@virtlabor.donbass.com
Return to the
comp.compilers page.
Search the
comp.compilers archives again.