Skip to content

implement support for XOR, XNOR, NAND operators #84

@cyfrost

Description

@cyfrost

Hi, first off, Thanks for this great module. It's proving to be quite useful for my research use-cases and probably to others with similar ones.

I'm trying to parse some boolean expressions involving the XOR, XNOR, NAND operators but the parser fails to parse the said expressions since they're not recognised as known operators.

In the current scenario, an expression involving such operators would need to be simplified by hand (since XOR, XNOR, NAND translate into forms of AND, OR, NOT eventually) before the boolean.py parser can handle them. Is there any simpler way to achieve this?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions