[ R.I.P. ]
MSX Utilities
 by Oleg Alferov aka Secoh 
     

Uplink...

in Russian...


Windows
Utilities



MSX
Emulator...



About...

Links...

Friends...

Mailing List...
 
BASIC Editors    BASIC Visual effects    BASIC Games    Programming studies    File converters

File Conversion Utilities
* — works with any Pascal compiler

*PACP.PAS


thoroughness: 5/5
faultlessness: 5/5
PACP screenshot, small
*PACP.PAS
Download (44.0K).

The small utility to reduce the size of Pascal source file. But the resulting squeezed source still can be compiled, as the original file.

This goal is achieved by removing comments and unnecessary spaces from the source first, and second, by renaming all names and variables to the shorter versions.

This utility can be used, for example, if the original file is too big to be loaded by compiler (what I encountered) or in order to prevent source from being analysed.

PACP is intended to work with Turbo Pascal 2.00A for MSX-DOS, which is subset of Pascal language. To make PACP compatible with other Pascal compilers, extend HLP and HLP1 lists in the source code (line 64).

The difference between HLP and HLP1: HLP contain keywords that are used to declare something, like variable name or label. HLP1 — all other Pascal keywords.

The user interface of PACP is self-explanatory.
 


© 2002,
Oleg Alferov
aka Secoh
secoh@anl.gov