Werner Almesberger
|
ee0a2a41fa
|
b2/: add "print VAR" command in substitutions (for debugging/tracing)
|
2012-06-03 13:15:31 -03:00 |
|
Werner Almesberger
|
da1010f92a
|
b2/: add regular expression conversion debugging (option -R)
|
2012-06-03 10:10:47 -03:00 |
|
Werner Almesberger
|
3027daca18
|
b2/: move substitutions dump from parser to boom.c
|
2012-06-02 15:05:40 -03:00 |
|
Werner Almesberger
|
994ed00a51
|
b2/lang.y (provider): don't allow provider to be redefined
|
2012-06-02 07:56:36 -03:00 |
|
Werner Almesberger
|
ea5732371d
|
b2/lang.y (part): show part ID in error message
|
2012-06-02 05:54:55 -03:00 |
|
Werner Almesberger
|
f09e4b21fa
|
b2/: move parts dumping from lang.y to boom.c and make optional (-dc)
|
2012-06-02 05:49:22 -03:00 |
|
Werner Almesberger
|
d29e8a7aea
|
b2/lang.y: '<' is rel_lt, not rel_le
|
2012-06-01 01:27:49 -03:00 |
|
Werner Almesberger
|
d48a9030e0
|
b2/: introduce dimensionless values (field syntax: name=##)
|
2012-06-01 00:20:31 -03:00 |
|
Werner Almesberger
|
a892b63d55
|
b2/lang.y: don't pop fields from the stack before also handling the rule
|
2012-05-31 15:35:35 -03:00 |
|
Werner Almesberger
|
b0ed4364dc
|
b2/: new option -v to control verbosity level; move hierarchy dump from parser to boom.c
|
2012-05-31 15:35:21 -03:00 |
|
Werner Almesberger
|
b6a4a80652
|
separate dumping of hierchy rules from dumping of fields
With only one function, top-level fields definitions were printed in
a style as if they were rules and not fields.
|
2012-05-30 11:53:58 -03:00 |
|
Werner Almesberger
|
f22378937d
|
b2/: add parsing of supplemental symbol information (option -X)
|
2012-05-23 17:27:55 -03:00 |
|
Werner Almesberger
|
ddd22ba16c
|
b2/: add parsing of KiCad eeschema BOMs (option -b)
|
2012-05-23 17:23:14 -03:00 |
|
Werner Almesberger
|
4f142c1250
|
b2/: for consistency, make "break/continue $" equivalent to "break/continue"
Plus a bit of code simplification.
|
2012-05-22 15:57:55 -03:00 |
|
Werner Almesberger
|
694d48b56a
|
b2/: make the match name after "break" and "continue" optional
If the name is omitted, we jump back / out of the current block.
|
2012-05-22 15:47:02 -03:00 |
|
Werner Almesberger
|
107280b6d5
|
b2/: rename "again" to "continue"
|
2012-05-22 15:44:31 -03:00 |
|
Werner Almesberger
|
3d2eca34ff
|
b2/: meta-variable $ for "previously matched variable"
We need this for iterative processing of FN.
|
2012-05-22 13:01:39 -03:00 |
|
Werner Almesberger
|
d2171eba47
|
b2/: add "ignore" keyword for substitution rules
This allows us to decide in the project-specific rules how to indicate
DNP/NC/DNS/... parts. In the original BOOM, F1 == NC was hard-coded.
|
2012-05-21 23:17:33 -03:00 |
|
Werner Almesberger
|
2c5850ebe6
|
b2/: correct some whitespace anomalies
|
2012-05-21 21:25:29 -03:00 |
|
Werner Almesberger
|
061e8f5872
|
b2/: rename "name" field in struct value to more generic "s", for better sharing
|
2012-05-21 14:44:33 -03:00 |
|
Werner Almesberger
|
fdac542592
|
b2/: add relop to struct param, in preparation of merge with struct var
|
2012-05-21 14:35:51 -03:00 |
|
Werner Almesberger
|
6fd5313917
|
b2/: assigments to can express inequalities
|
2012-05-20 23:16:51 -03:00 |
|
Werner Almesberger
|
04d858e047
|
b2/: export field hierarchy and substitution rules from lang.y
|
2012-05-20 20:33:14 -03:00 |
|
Werner Almesberger
|
9fd1dc56e7
|
b2/: add parsing of substitution rules (WIP)
|
2012-05-20 20:33:14 -03:00 |
|
Werner Almesberger
|
702343cabc
|
b2/: connect stock to provider
|
2012-05-01 15:21:32 -03:00 |
|
Werner Almesberger
|
82d532e4a2
|
b2/: add provider database (WIP)
|
2012-05-01 14:57:12 -03:00 |
|
Werner Almesberger
|
c3a68453d0
|
b2/: add currency database
|
2012-04-30 22:49:33 -03:00 |
|
Werner Almesberger
|
24a32525e2
|
b2/: add dumping of stock information
Also use part_add without first calling part_lookup, since the latter is
implicit.
|
2012-04-30 20:40:11 -03:00 |
|
Werner Almesberger
|
e99a9f4705
|
b2/: add parsing of part inventories (WIP)
Also simplify representation of packaging variants.
|
2012-04-30 20:19:55 -03:00 |
|
Werner Almesberger
|
1394c6b61c
|
b2/: make top-level hierarchy item an action, not just a rule
This allows the definition of optional global fields. For now, we (ab)use
this for FP (footprint).
|
2012-04-28 23:30:50 -03:00 |
|
Werner Almesberger
|
6c49fdd789
|
b2/: dump part records (for debugging only)
|
2012-04-28 23:26:22 -03:00 |
|
Werner Almesberger
|
331fbdda6a
|
b2/: add parameter conversion
|
2012-04-28 22:50:15 -03:00 |
|
Werner Almesberger
|
8aa94edd2f
|
b2/: moved declarations of diagnostic functions from util.h to lang.h
|
2012-04-28 22:12:33 -03:00 |
|
Werner Almesberger
|
90e541cd7a
|
b2/: add parsing of part characteristics (WIP)
|
2012-04-28 11:46:42 -03:00 |
|
Werner Almesberger
|
1817efd6dc
|
b2/: add syntax switch
|
2012-04-26 03:02:48 -03:00 |
|
Werner Almesberger
|
3fff9373e3
|
b2/: choose better names for creator functions in chr.c
|
2012-04-26 02:48:08 -03:00 |
|
Werner Almesberger
|
75479a894b
|
b2/: syntax change: use = for instead of : for format declarations
|
2012-04-25 18:25:35 -03:00 |
|
Werner Almesberger
|
6bb8b03ef8
|
b2/: first tentative version of hierarchy parser, with example
|
2012-04-25 17:14:39 -03:00 |
|
Werner Almesberger
|
aa2fe3ef16
|
b2: BOOM rewrite (WIP)
|
2012-03-18 13:24:12 -03:00 |
|