p5c is a fast portable iso standard pascal compiler.

It is derived from the pascal p5 compiler and creates gnu c code instead of p-code.

This makes it very fast since it uses gcc to generate native code.

p5c is multi platform - it is easy to get up and running since you only need gcc to start.

Using gcc enables extra tools like a static analyser and code coverage analyser.
Execution profiling described in the blog here -> https://sourceforge.net/p/pascal-p5c/blog/2017/07/how-to-use-profiling-to-speed-up-p5c-pascal-programs

It extends p5 by adding arbitrary set limits and conformant arrays.

The project also contains p5x - pascal with extensions to the standard pascal language (underscores allowed in identifiers, otherwise in case statement, constant expressions, etc)

Features

  • free fast iso standard pascal
  • multi platform
  • extensive tests
  • arbitrary set limits
  • conformant arrays
  • embedded c code
  • easily portable to any OS that has gnu c
  • integrates with existing c libraries
  • takes advantage of gnu tools like code coverage and execution profiling

Project Samples

Project Activity

See All Activity >