Next: , Previous: Compile, Up: Compiler


2.2 Preprocessor

hacpp is a preprocessor that expands imports, much like cpp expands #include and other preprocessor directives. This can be convenient for flattening hierarchies of imported sources into a self-contained file.

One nice feature is that the output (by default) preserves precise information about which files were imported, so compiling a flattened source file should result in the same error messages as compiling the original source file.