Virtual Pascal

From Lazarus wiki
Jump to navigationJump to search

Deutsch (de) English (en) français (fr)


Virtual Pascal is a 32-bit compiler for DOS, Windows and OS/2 that later got retargeted to Linux/x86 using a pe2elf postprocessor. Its dialect is a subset of older Delphi's and FPC 1.x. VP goes a bit further in its support for TP's DOS and 16 bit specific behaviour, and under certain circumstances existing TurboPascal code requires less modifications.

The main strengths of VP are the very TP compatible textmode IDE and its OS/2 support. One of the other main strengths, stability is also its main weakness: it is fairly static, and hasn't changed significantly since at least 2005.

VP was declared EOL in 2005, and a brief revival attempt failed. The site is gone (but can still be found using wayback), but the owner set up a community at (see links section)

Using FPC/Delphi code under VP

Most notably missing (compared to FPC 1.x) are int64 and overloading support. The way external procedures are declared isn't entirely compatible with Delphi either. Modifiers like "stdcall" and the "external 'dllname.dll' name 'symbol' syntax are not supported, which makes porting headers hard.

At a certain point is was attempted to update VP's partially closed source sysutils with FPC's, but the number of modifications needed was quite high, and VPs revival was short lived.

See also

Various Pascal Compilers:
AAEC Pascal | Alice Pascal | Apple Pascal | Borland Pascal | Clascal | Delphi | Free Pascal Compiler (FPC) | GNU Pascal | Kylix | Lisa Pascal | Mac Pascal | Metrowerks Pascal | NBS Pascal | OMSI Pascal | | P32 | Sibyl | Smart Pascal | Stanford Pascal Compiler | Swedish Pascal | THINK Pascal | Turbo Pascal | UCSD Pascal | VAX Pascal | Virtual Pascal | winsoft PocketStudio
An extensive list of compilers was maintained at Pascaland (Internet Archive Version) up to January 2018.