[Mono-dev] CSharpSyntaxWalker and Expression operator precedence

Karl Stevens karlstevens at verizon.net
Mon Nov 21 15:24:31 UTC 2016

I am compiling C code and generating control words for an FPGA design. 
SyntaxWalker and StringBuilder creates an infix expression. Handling
operator precedence to build the expression tree can be done by converting
to Reverse Polish Notation, then the expression evaluation will be done in
the FPGA executing the delegate created using ExpressionClass.

Is there a built in way to handle operator precedence?  or a better way?

View this message in context: http://mono.1490590.n4.nabble.com/CSharpSyntaxWalker-and-Expression-operator-precedence-tp4669208.html
Sent from the Mono - Dev mailing list archive at Nabble.com.

More information about the Mono-devel-list mailing list