ahmed-alllam / AlphaLogos

Boolean Function Analyzer and Synthesis Optimization Tool
http://alpha-logos-1464863388.eu-west-3.elb.amazonaws.com/
MIT License
1 stars 0 forks source link

Implementing a function for validating a Sum of Products (SoP) #18

Closed Hamdy1337 closed 1 year ago

Hamdy1337 commented 1 year ago

Is your feature request related to a problem? Please describe. Users' input might not be valid as a SoP. This will be implemented to validate the input of the user and ensure the expression is in SoP form, which is a boolean expression of OR operations (sums) between AND operations (Products). For example: (ac) + (d’e) + (bc').

Describe the solution you'd like Making a C++ parser that takes in a string and parses it looking for SoP (Sum of Products) expressions by adhering to the following constraints:

Describe alternatives you've considered Using Regex code to program the matching of the expression string.