Skip to main content

Interpreter

The interpreter executes the circuitscript code in the following stages:

  1. Execution: Code is executed and a simpler representation of the code is generated.
  2. Annotation: Assignment of reference designators is done and the simpler representation includes the reference designators.
  3. Layout: This representation is passed to the layout engine to perform the sizing and laying out of components, wires, etc.
  4. 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.