Subdirectory source/tools/ inside PasDoc sources contains some useful programs related to PasDoc. They are either small programs helpful for development of PasDoc, or tools that use PasDoc units to do other tasks.

file_to_pascal_string

Converts any text file into a Pascal string, so that you can compile text files inside your program.

file_to_pascal_data

Converts any file into a Pascal array of bytes, so that you can compile binary files inside your program.

pascal_pre_proc

Pascal preprocessor. It reads the Pascal source file given on the command-line, and outputs it's processed version to the standard output. Features (all inherited from pasdoc tokenizer and scanner):

The preprocessor behavior can be configured by a couple of command-line options, a subset of PasDoc command line options. Run pascal_pre_proc --help to get a list of supported options. Examples of use:

OtherTools (last edited 2007-10-28 22:57:11 by localhost)