Interpreter
The interpreter executes the circuitscript code in the following stages:
- Execution: Code is executed and a simpler representation of the code is generated.
- Annotation: Assignment of reference designators is done and the simpler representation includes the reference designators.
- Layout: This representation is passed to the layout engine to perform the sizing and laying out of components, wires, etc.
- Render: The layout data is passed to the render engine that creates the graphical output. Currently SVG and PDF formats are supported.
It is also possible to generate a KiCAD netlist file. In this case, only the first 2 stages (Execution and Annocation) are run. Please see Output formats for more information.