News for hackers. Stuff that matters.
Re:Show HN: Yantra – an LALR(1) parser generator for C++ by kazinator on Wednesday September 30, 2026 @11:55PM (#49917551)
Yacc has mid-rule actions which can be used to propagate information from left siblings to right siblings, as well as to children (embedded nonterminal symbols).

Of course, it's not the same as having the parse tree all done from a previous pass and just walking it to do semantics.

Re:Show HN: Yantra – an LALR(1) parser generator for C++ by renjipanicker on Thursday October 01, 2026 @12:18AM (#49917679)
Right, mid-rule actions genuinely let you shuttle state into a child before it's parsed, so it's not nothing.

But as you said, it's still one linear left-to-right pass. Appreciate you drawing the line precisely.