major cleanup of tsig datastructures and extend/merge operations; fixes old bugs in classes/arities code; proper treatment of nonterminals and syntax-only types;
Defs = Types +
consts nand, exor :: gate
defs nand_def "nand A B == ~(A & B)"
exor_def "exor A B == A & ~B | ~A & B"
end