Is there a library for .NET that does parenthesis or expression reduction and optimization?

Posted by Matt on Stack Overflow See other posts from Stack Overflow or by Matt
Published on 2010-04-03T03:04:59Z Indexed on 2010/04/03 3:13 UTC
Read the original article Hit count: 287

Filed under:
|
|

Is there a library for .NET that does parenthesis or expression reduction and optimization? Something that would take an expression such as (A & (((B) | (C)) | D))) and return

A & (B | C | D)

But also take (A & A) and return A

© Stack Overflow or respective owner

Related posts about .NET

Related posts about reduction