Better HN
topnewbestaskshowjobs
Log inSign up

oneoff14326

3 karma · joined Nov 19, 2021 (5y ago) · 1 submissions

Submissions

comment 5y ago · link · parent

What's more curious than the irreducability issue is, how on earth does the syntax ever get accepted by the parser?

I mean the lex/yacc syntax has to reflect the nestability of the while/switch [1], ditto if you do recursive descent, so how is it possible this even parses?

[1] original and weirder version here https://en.wikipedia.org/wiki/Duff%27s_device#Original_versi...