Skip to content
πŸŽ‰ Free Pascal v3.2.4 is out! See Release Notes
Tools

Tools

Free Pascal comes with several command-line tools that you can use to ease your programming:

Pas2js
Pas2js is an open source Pascal to JavaScript transpiler that translates Object Pascal source code directly into optimized JavaScript.
H2Pas
H2Pas translates C header files to pascal units. The Free Pascal team uses it to make import units for important C libraries such as GTK or MySQL.
FPCMake
A tool that allows you to make complex makefiles to compile programs and units with FPC. The Free Pascal team uses it to create all it’s makefiles.
PPDep
PPDep scans a program or unit and creates a depend file that can be used for inclusion by make. It understands conditional symbols and interdependency of units.
Delp
Delp is a small utility that scans a directory for files that are left over by the Free Pascal compiler, and deletes them.
PPUDump
PPUDump dumps the contents of a unit in human-readable format. It understands older versions of units and gracefully handles unknown (future) versions.
PPUFiles
PPUFiles lists the object files that you need to link in when using a unit file. It lists all libraries and units that are needed.
PPUMove
PPUMove combines several units into one; as such it can be used to create static and dynamic libraries.
PtoP
PtoP is a configurable source formatter. It pretty-prints your pascal code, much like indent does for C code.
RSTConv
A small utility that converts .rst files (files that contain resource strings, as created by the compiler to some other format. (GNU gettext at the moment)
Turbo Pascal Lex/Yacc
Turbo Pascal Lex and Yacc is a small utility that can be used to create pascal units from a Lex vocabulary and Yacc grammar.