Pascal source code cleaner written in Lua
- Lua 71%
- Pascal 26.8%
- Makefile 2.2%
| keywords | ||
| debug1.txt | ||
| debug2.txt | ||
| LISEZMOI.md | ||
| Makefile | ||
| pascal_expert.lua | ||
| pcb.lua | ||
| pcc.lua | ||
| README.md | ||
| sample.pas | ||
| sample1_in.pas | ||
| sample1_out.pas | ||
| sample2_in.pas | ||
| sample2_out.pas | ||
Pascal Code Cleaner
Lua script removing comments from a Pascal source file.
Usage
lua pcc.lua SOURCE DEST [DEBUG1] [DEBUG2]
SOURCE and DEST can be the same file. In that case, the original file is overwritten.
The optional parameters DEBUG1 and DEBUG2 are the names of the files where the program writes debug data, if those parameters are provided.