Package Exports
- cli-compiler
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cli-compiler) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Table of Contents
Compiler
Compiler for the command module, a component of the toolkit.
Compiles markdown program definitions to javascript.
Install
npm i cli-compilerTest
npm testUsage
The compiler executes the following phases:
- Create or initialize a
Programinstance or subclass (create). - Load and execute library modules (libs).
- Gather source files to merge with parsed program data (sources).
- Load and concatenate markdown input files (cat).
- Parse markdown document to tokens (parse).
- Render markdown tokens into program definition (render).
- Replace variables in the program strings (replace).
- Transform the program definition to a module (transform).
- Write the transformed javascript module to a file (write).
- Print the javascript document (print).
License
Everything is MIT. Read the license if you feel inclined.
Generated by mdp(1).