-
I am working on the C pest grammar development by referring to the ANSI C Yacc grammar. Just have a question How can I translate into pest, the difficulty is how to resolve the left recursive? Really appreciate! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
It is very important for me to move forward, anyone can share the idea? thanks |
Beta Was this translation helpful? Give feedback.
-
How about this:
|
Beta Was this translation helpful? Give feedback.
-
I re-defined the rule as below *direct_abstract_declarator = { direct_abstract_declarator_part = _{ Hope I have correctly understood your comments, ^o^ |
Beta Was this translation helpful? Give feedback.
@tomtau Really thanks. I will validate it