diff options
author | Paulo Henrique Silva <ph.silva@gmail.com> | 2015-03-03 03:41:55 -0300 |
---|---|---|
committer | Paulo Henrique Silva <ph.silva@gmail.com> | 2015-03-03 03:41:55 -0300 |
commit | 670d3fbbd7ebfb69bd223ac30b73ec47b195b380 (patch) | |
tree | 5373fdec50462a210f84d25caa93f1bc1204c4cb /doc/source/documentation | |
parent | b8dcc86cb4560d033761db0ad41924f6d9669333 (diff) | |
download | gerbonara-670d3fbbd7ebfb69bd223ac30b73ec47b195b380.tar.gz gerbonara-670d3fbbd7ebfb69bd223ac30b73ec47b195b380.tar.bz2 gerbonara-670d3fbbd7ebfb69bd223ac30b73ec47b195b380.zip |
Add aperture macro parsing and evaluation.
Aperture macros can get complex with arithmetical operations,
variables and variables substitution.
Current pcb-tools code just read each macro block as an independent
unit, this cannot deal with variables that get changed after used.
This patch splits the task in two: first we parse all macro content
and creates a bytecode representation of all operations. This bytecode
representation will be executed when an AD command is issues passing
the required parameters.
Parsing is heavily based on gerbv using a Shunting Yard approach to
math parsing.
Integration with rs274x.py code is not finished as I need to figure out
how to integrate the final macro primitives with the graphical primitives
already in use.
Diffstat (limited to 'doc/source/documentation')
0 files changed, 0 insertions, 0 deletions