Skip to content

Boolean expressions with parenthesis do not represent themselves properly in decompiler output. #41

@AngeloD2022

Description

@AngeloD2022

For example:

ESTK Input:

(a || b && c) || !d

Decompiler output given the above compiled input:

((((a) || (b)) && (c)) || (!d))

which can be simplified to:

((a || b) && c) || ! d

Problems

  1. These two expressions are not algebraically equivalent.
  2. There are many redundant parenthesis.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions