ProSurfer73 / Macro-Parser

A C/C++ macro calculator
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Support binary literals. #74

Closed ProSurfer73 closed 1 year ago

ProSurfer73 commented 1 year ago

It would be great to add support for binary literals inside macro parser. image (source of the image: https://www.geeksforgeeks.org/integer-literal-in-c-cpp-prefixes-suffixes/)

ProSurfer73 commented 1 year ago

As you can see by the picture below, the program now knows how to convert binary expressions into decimal ones. image

But we still face an issue when binary expressions are alone, as with this example : image

ProSurfer73 commented 1 year ago

image The issue is now closed.