UNPKG

pascal-utils

Version:

Utility functions for compilation of simple pascal programs, with the Free Pascal compiler, in Node.js.

12 lines 425 B
/** * Compiles a Pascal source file. * @category Compilation * @param {string} inputFile - Source file to compile. * @param {string} outputFile - Output file name (or path). * @returns {Promise<{file: string}>} * @throws {@link CompilationFailedError} if compilation fails. */ export default function compile(inputFile: string, outputFile: string): Promise<{ file: string; }>; //# sourceMappingURL=compile.d.ts.map