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
d48a9030e0
b2/: introduce dimensionless values (field syntax: name=##)
2012-06-01 00:20:31 -03:00
Werner Almesberger
39382b1872
b2/: add test for redundant conditions in hierarchy
2012-05-31 15:35:31 -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
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
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
8aa94edd2f
b2/: moved declarations of diagnostic functions from util.h to lang.h
2012-04-28 22:12:33 -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