Pascal Script

Pascal Script is a free scripting engine that allows you to use most of the Object Pascal language within Delphi or Free Pascal projects at runtime.

Was written completely in Delphi, it is composed of a set of units that can be compiled into an executable, eliminating the need to distribute any external files.

Pascal Script started out as a need for a good working script, when there were none available at the time.

Use

One prominent use of Pascal Script is the Open Source Inno Setup project. Inno Setup is a widely used setup engine that uses Pascal Script as scripting engine to provide advanced scripting abilities during installation and uninstallation. Using Pascal Script, users can customize almost all parts of the setup, add new wizard pages, call into DLLs to add advanced features and provide custom behavior and install conditions.

Pascal Script is also used for server-side scripting in Pascal Server Pages.

A full running and extended application is maXbox. maXbox a scripter studio with an inbuild delphi engine in one Exe! Designed for teaching/programming methods and algorithms for Win, Mac and Linux (CLX) to build OP code plus support Arduino / Android. https://github.com/maxkleiner/maXbox3/releases

History

Pascal Script started out in 2001 with CajScript 1.0, which was soon superseded by CajScript 2.0 (later called Innerfuse Pascal Script 2.0).

Version 2.0 interpreted scripts while it ran them, which had the disadvantage that every piece of code had to be reparsed every time the script engine went over it.

With Pascal Script 3.0, this was changed to a new model, where the compiler and runtime were completely separated from each other and used a custom byte code format to represent the compiled script. This compiled script only contained the bare minimum that was required to execute the code.

Later, when Carlo Kok joined RemObjects, it was renamed RemObjects Pascal Script and is now being maintained by RemObjects Software.[1]

References

  1. "Pascal Script | RemObjects Software". RemObjects Software. Retrieved 18 January 2014.
This article is issued from Wikipedia - version of the 7/30/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.