Improve Parsing for SDAG Boolean Expressions
See https://lists.cs.illinois.edu/lists/arc/charm/2016-03/msg00003.html for context.
In core meeting, this was discussed and it was stated that in the past Bob's suggested approach was difficult, because even getting the parser to match the parens around an if/while condition was difficult since we can't fully parse C++ but it may be useful to explore this a bit deeper.
#3 Updated by Robert Steinke almost 3 years ago
In my original request I actually had two suggestions. The second one may be infeasible if the C++ is hard to parse, but I'd like to draw attention again to my first suggestion.
sdagCondition = (some complex boolean expression);
In order to have the above code in my .ci file I need to have sdagCondition be a member variable of the class. Could there be some syntactic sugar that even if it doesn't eliminate the need for the serial block, at least eliminates the need for me to declare sdagCondition as a member of my class? My idea was a hidden member variable declared in the SDAG_CODE macro.