Werner Almesberger
9cafe23fb8
b2/: simplified and corrected logic behind relop_redundant
...
We now generate the operator map algorithmically, which is a bit less
classy than solving the logical equations, but easier to get right.
Also renamed the somewhat vague "redundant" to "unreachable".
2012-06-01 14:52:12 -03:00
Werner Almesberger
4943519eb3
b2/Makefile: run tests with bash, not with sh
...
We need bash for the <(cmd) construct.
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
88ad25e42c
add regression test infrastructure
2012-05-30 12:12:43 -03:00
Werner Almesberger
c582c47960
b2/: use -Wmissing-prototypes and -Wmissing-declarations
2012-05-23 19:33:10 -03:00
Werner Almesberger
8759410f80
b2/: use -Wshadow (and fix the place where this caused trouble)
2012-05-23 19:29:04 -03:00
Werner Almesberger
24abc2c49c
b2/: use -Wextra (and fix places where this caused trouble)
2012-05-23 18:48:59 -03:00
Werner Almesberger
ddd22ba16c
b2/: add parsing of KiCad eeschema BOMs (option -b)
2012-05-23 17:23:14 -03:00
Werner Almesberger
c9bd26a34d
b2/Makefile: generate dependencies also for YACC- and LEX-generated files
...
We need explicit rules to compile lex.yy.c and y.tab.c for the relaxed
CFLAGS. However, this means that the implicit rule was not used and
therefore no dependencies were generated.
2012-05-22 16:09:22 -03:00
Werner Almesberger
a34702cd8d
b2/: move relational operators to relop.[ch] (for sharing)
...
This also fixes a bug in dump_one_field, which switched > and >=
2012-05-20 23:04:41 -03:00
Werner Almesberger
4e39ca2e31
b2/: move variable-length strings to vstring.[ch], for sharing
2012-05-20 20:54:07 -03:00
Werner Almesberger
fd14c5200a
b2/: add processing of substitution rules
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
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
450769e031
b2/: add options to set file type on the command line
2012-04-30 20:19:55 -03:00
Werner Almesberger
c92ba6f21a
b2/Makefile: target "try" to run the example setup
2012-04-28 22:52:09 -03:00
Werner Almesberger
6bb8b03ef8
b2/: first tentative version of hierarchy parser, with example
2012-04-25 17:14:39 -03:00
Werner Almesberger
7fe553a4fc
b2/Makefile: add "spotless" target
2012-04-19 20:09:18 -03:00
Werner Almesberger
c274c1d07b
b2/Makefile: remove y.output on "make clean"
2012-04-19 20:08:25 -03:00
Werner Almesberger
9d5c6989e2
b2/Makefile: add dependency generation (.d method)
2012-04-19 20:06:02 -03:00
Werner Almesberger
aa2fe3ef16
b2: BOOM rewrite (WIP)
2012-03-18 13:24:12 -03:00