Oh, yes! BTW, I am really worrying about the performance of the parser written in PEG, because I will face tens of thousands of Fortran code lines, so the parser must be very efficient.
Li 在 2013-7-1,下午5:23,Kaspar Schiess <[email protected]> 写道: >> Does infix engine support unary operator? Like parsing the condition in >> Fortran: >> >> .not. flag >> >> since currently I am using one expression rule for all the expression >> parsing, including logical condition (maybe this is not a good idea?). > > Why don't you roll the unary ops into your terms? (term op term) > > k > >
