[ANN] PasScript v5.5: Event Handlers

"Alexander Baranovsky" <ab@virtlabor.donbass.com>
18 May 2001 23:53:08 -0400

          From comp.compilers

Related articles
[ANN] PasScript v5.5: Event Handlers ab@virtlabor.donbass.com (Alexander Baranovsky) (2001-05-18)
| List of all articles for this month |

From: "Alexander Baranovsky" <ab@virtlabor.donbass.com>
Newsgroups: comp.compilers
Date: 18 May 2001 23:53:08 -0400
Organization: INTS InterNetNews site
Keywords: Pascal, available
Posted-Date: 18 May 2001 23:53:08 EDT

Newest version of the PasScript interpreter allows you to create event
handlers in a script.You can freely combine PasScript-defined events and
handlers with Delphi-defined events and handlers. Thus, for example, you can
assign a PasScript-defined handler to a Delphi-defined event , and
vice versa. Moreover you can customize existing Delphi-defined handler.

PasScript is an interpreter of a vast subset of the Object Pascal language
which includes ordinal, real, variant, procedural, pointer, file, record,
set, array and class types, allows modular programming on the basis of units
and ensures exception handling.

This subset was extended by the Poly data type that allows you to operate
with dynamic data structures (lists, trees, and more) without using pointers
and apply Pascal language in the AI data domain as well.

Besides using PasScript you can:

o import Delphi classes from a dll (that allows you to use instances of any
Delphi class, create new instances of a Delphi class and destroy them,
create new PasScript classes which inherit a Delphi class)
o create event handlers
o handle Windows messages directly in a script
o control an OLE Automation server
o call routines defined in a DLL

Demos illustrate the use of the PasScript in mechanical theorem proving,
character differentiation, graph algorithmes, applied algebra,

Direct link to download the PasScript interpreter:
http://virtlabor.chat.ru/downloads/passcript.zip (Win95/98/2000/NT,
freeware, 566Kb).

You can embed PasScript interpreter into your Delphi application by means of
TPasScript component.

The TPasScript is non-visual component that you can drop into your Delphi
application so that you can extend and customize an application without
having to recompile it.

Using TPasScript you can:

o write and run scripts
o call a script routine
o allow user interface (buttons, memos etc) "be alive" during parsing and
running a script
o use Delphi types, routines, constants, and variables in a script
o import Delphi classes directly (without having to use dl)
o customize parsing process and error handling
o check script syntax at design time


1. Event handlers.
2. Script-defined callback functions which have the register calling

Direct link to download trial version:
http://virtlabor.chat.ru/downloads/abpasscr.zip (D4, D5, shareware, 377Kb).

To learn more about PasScript, please visit site:


Thank you.

Alexander Baranovsky,
VIRT Laboratory

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.