<div dir="ltr">Is the precise grammar for the expressions for CoinModel (the one shown at the end of examples/addBits.cpp) documented somewhere.  It appears that there is slightly more than +-*/^(), but reverse engineering the pda is not something I would be likely to enjoy.  If there is no doc, are the original yacc and lex files available?<div>
<br></div><div>On a related note, would adding a new primitive function, say floor to the parser, be as simple as adding </div><div><br></div><div>inline double floor_wrapper (double x) { return floor(x) ; }<br></div><div>
<br></div><div>around line 770 of CoinModelUseful2 then adding </div><div><br></div><div>{&quot;floor&quot;, floor_wrapper},<br></div><div><br></div><div>to the arith_fncts array?</div><div><br></div><div>It appears to work, but I am loath to go around monkeying with yacc output.</div>
</div>