Pascal source code cleaner
  • Pascal 92.9%
  • Makefile 7.1%
Find a file
2025-02-24 16:30:13 +01:00
.gitignore Initial commit 2025-02-23 20:53:43 +01:00
ioutils.pas Initial commit 2025-02-23 20:53:43 +01:00
LISEZMOI.md Edit README 2025-02-23 20:57:22 +01:00
Makefile Fix for 32-bit compilation 2025-02-24 16:30:13 +01:00
pcc.pas Fix for 32-bit compilation 2025-02-24 16:30:13 +01:00
README.md Edit README 2025-02-23 20:57:22 +01:00
sample.pas Initial commit 2025-02-23 20:53:43 +01:00

Pascal Code Cleaner

Program removing comments from a Pascal source file.

Usage

./pcc SOURCE DEST

SOURCE and DEST can be the same file. In that case, the original file is overwritten.

Compilation

Compilation using RegExpr unit.

make

Compilation using FLRE unit. (Downloads automatically the FLRE library if it isn't already present.)

make LIB=FLRE

Compilation of the DEBUG version.

make DEBUG=1

Test the program on the file sample.pas. Creates the file result.pas.

make test