Jump to content

Pascal Script

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Jwdietrich2 (talk | contribs) at 21:43, 29 January 2019 (Rewriting the article to make it more neutral and less advertisement-like.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Pascal Script is a scripting language based on the programming language Pascal that facilitates automated runtime control over scriptable applications. It is implemented by a free scripting engine that includes a compiler and an interpreter for byte code.

Pascal Script supports the majority of Object Pascal constructs, making it partly compatible to Delphi, Free Pascal and GNU Pascal.

Initially developed by RemObjects for the Delphi IDE, the software has later been ported to Free Pascal, where it is now included as a standard component in the Lazarus IDE.

Use

Pascal Script is used in 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.