Closed ingydotnet closed 3 years ago
I'm not sure about the special productions. I think that /* Where m < n */
is more readable than where-m-lt-n
, and it also helps assertions to stand out. See, e.g., this ECMAScript production.
@ingydotnet I approved this already earlier, but the force-pushes have lost the previous commits so I can't see what's changed since then. Is there a diff somewhere that I can look at?
This PR rewrites chapter 4 and reworks all the grammar productions to be more consistent and readable.
Chapter 4 now defines all the concepts needed to fully understand the productions.