-
Notifications
You must be signed in to change notification settings - Fork 4
Add Nand, Nor and Xnor #7
Copy link
Copy link
Open
Labels
A-astTask operating on the stevia_ast crate in isolation.Task operating on the stevia_ast crate in isolation.B-enhancementAn enhancement or new feature.An enhancement or new feature.C-questionA question.A question.D-easyA task that is considered to be simple to implement.A task that is considered to be simple to implement.
Metadata
Metadata
Assignees
Labels
A-astTask operating on the stevia_ast crate in isolation.Task operating on the stevia_ast crate in isolation.B-enhancementAn enhancement or new feature.An enhancement or new feature.C-questionA question.A question.D-easyA task that is considered to be simple to implement.A task that is considered to be simple to implement.
Stevia could profit by implementing or at least providing
Nand,NorandXnorin addition toAnd,OrandXorthat currently exist. This could make some simplifications involving negation simpler or at least more performant temporarily.These additional expression types could be implemented on several different layers.
And,OrandXor. The downside is that this is quite intransparent to users that might be confused why no actual negated versions are created.