This project has moved. For the latest updates, please go here.

hexadecimal numbers

Aug 24, 2010 at 9:52 PM

How do I represent hexadecimal numbers in my language that can be bitwise OR'd like this:



Aug 25, 2010 at 5:17 PM

You should treat them as binary expressions, with "|" as binary operator. Look at ExpressionEvaluator grammar for an example