Difference between revisions of "Virtual Pascal"

From Free Pascal wiki
Jump to navigationJump to search
(language)
Line 1: Line 1:
Virtual Pascal is a 32-bit compiler for Dos, Windows and OS/2 that got later 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 originating dosims and 16-bitisms, and under certain circumstances requires less modifications.
+
== Overview ==
 +
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 for 5 years or more.
+
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 ning.com. (see links section)
 
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 ning.com. (see links section)
  
= Using FPC/Delphi code under VP =
+
== Using FPC/Delphi code under VP ==
  
Mostly notably missing (compared to FPC 1.x) are int64 and overloading support. It also isn't entirely compatible with Delphi in the way an external procedure is declared. Modifiers like "stdcall" and the "external 'dllname.dll' name 'symbol' syntax are not supported, which makes porting headers hard.
+
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 copyrighted sysutils with FPC's, but the number of modifications needed was quite high, and VPs revival was short lived.
+
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.
  
= links =
+
== See also ==
 
* [http://vpascal.ning.com VP community]  Flow: several tens of msgs/year.
 
* [http://vpascal.ning.com VP community]  Flow: several tens of msgs/year.
  

Revision as of 13:54, 25 May 2014

Overview

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 ning.com. (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 | PascalABC.net | 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.