Vector Pascal is a language targeted at SIMD
instruction-sets such as the MMX and the AMD 3d Now
It currently supports
the AMD Opteron
64 bit processor,
Playstation 3 Emotion Engine see report here
the Intel P3 and
It has a SIMD compiler which supports parallel vector
operations, loop unrolling, common sub expression removal etc. It is
implemented in Java, and is available for download in source or binary.
It is an open source project. Any volunteers to work
further on the project contact email@example.com
for SVN access.
To download the latest binary version of Vector Pascal
you should click on install.jar.
The release is as
at SVN revision 159.
For a source version click on source release
Vector Pascal is an extended Pascal incorporating:
- Unicode support -
Vector Pascal extensions aimed at vector processing. These are derived from APL
and similar to the extensions provided in Fortran90. These extensions translate
to the SIMD instructions of the Athlon and P4 etc.
operator extensions to support SIMD programming
system extensions to support scientific and image processing
of the features of ISO extended Pascal (see http://www.dcs.gla.ac.uk/~wpc/reports/compilers/compilerindex/iso10206.ps ) in particular
Turbo Pascal features: Units, Strings, Turbo Pascal style file operations
Similar vectorisation transformations for a C compiler
have been done by Aart Bi
k whose web page contains
useful articles on vectorisation.
Vector Pascal now comes with the VIPER IDE , which supports:
translation of Pascal to Tex
Both the command line
and the IDE compilers contain the facility to translate Pascal to Latex to
provide a literate programming environment. Comments can contain Latex which is
passed to the latex output, pascal code is translated using a literate
for binary version 1.
Unpack the jar file into a directory preferably called
mmpc. This is done using the command:
jar -xf install.jar
Define an environment variable mmpcdir to point at this
Within the mmpc directory unpack the file viper.jar
Make the files vpc and vp executable for linux, the
corresponding windows files are vpc.bat and viper.bat.
5. Put the mmpc directory on your path.
the most recent source package to be released
Installation of the source
directory for Vector Pascal and place the src.jar file in this directory. then
unpack the archive using the command
to create the
installation jar file. You then proceed as for the binary install procedure
using the install.jar file you have created. Since the works of the compiler
are all in Java and since the C code of the run-time library is portable, the
same version of the source will work under both Windows and Linux.