Pascal Script

from Wikipedia, the free encyclopedia
Pascal Script
Paradigms : procedural, object-oriented, scripting language
Publishing year: 2000
Developer: Carlo Kok, Innerfuse, RemObjects, Lazarus and Free Pascal teams
Current  version : 3.0   ()
Typing : strong
Influenced by: Object Pascal , Pascal , HyperTalk, AppleScript , JavaScript , Perl , ALGOL

Pascal Script is a scripting language based on the Pascal programming language . Its main area of application is the automated control of scriptable programs and the expansion of server-side software . The technical basis is a free scripting engine that consists of a compiler and an interpreter for bytecode .

Pascal Script supports most of the Object Pascal constructs, so that it is partially compatible with Delphi , Free Pascal and GNU Pascal .

Software with support for Pascal Script

Pascal Script can be used in installer scripts for Inno Setup , so that additional adjustments, e.g. in the form of wizard pages, calling DLLs and a predefined behavior for installation or deinstallation tasks are possible.

Pascal Script can also be used for server-side control of software such as Pascal Server Pages or maXbox .

ReNamer, a batch- oriented program for renaming file lists under Windows , can be extended by macros in Pascal Script.

Since version 1.2 the Pascal Script Engine has also been integrated into the Lazarus development environment . Today, Pascal Script is available in several Lazarus components. Some standard packages such as SynEdit and TAChart support Pascal Script as well as the Lazarus IDE, which can be extended by macros written in Pascal Script.

history

The language has its origins in CajScript , which was published by Carlo Kok in 2000. With version 2.23 the language and the associated software were renamed to Innerfuse Pascal Script , after being taken over by RemObjects to RemObjects Pascal Script . Originally intended as an open source extension for Delphi, Pascal Script from version 2.07 was ported to Free Pascal. Pascal Script has been a standard component of the Lazarus development environment since 2017.

The first versions of CajScript / Pascal Script were still very slow, as each line had to be interpreted individually and possibly again by the interpreter. As of version 3.0, the compiler and runtime environment were separated, and a byte code format was introduced to represent the translated scripts. This significantly increased the speed of execution.

Today, Pascal Script is administered and further developed by RemObjects. A fork is maintained in the Lazarus development environment. The Lazarus and Free Pascal teams also ported Pascal Script from Intel processors to additional architectures such as PowerPC and ARM .

Individual evidence

  1. www.physics.ucla.edu .
  2. Craig Murphy: Inno Setup Revisited . In: The Developers Magazine . 2004, pp. 15-28. Retrieved May 25, 2019.
  3. ReNamer: Pascal Script - den4b Wiki . Retrieved July 7, 2019.
  4. Pascal Script | RemObjects software . RemObjects software. Retrieved January 18, 2014.
  5. ^ Pascal Script - Lazarus wiki . Retrieved May 25, 2019.

Web links