panda_4
Re:My First Fifteen Compilers
on Friday July 12, 2019 @10:12AM (#20420853)
Should that grammar be:
Expr = "A" | "(" Expr* ")" | ""
so that (()) is s a valid match? Because then Expr can be an empty string also?
Re:My First Fifteen Compilers
on Friday July 12, 2019 @08:21AM (#20420135)
Every single time I try to do an online Compilers class, my brain gets stuck at grammars. I understand the concept of grammars but for whatever reason can't go from taking rules and writing a grammar out with it.
Probably will have to do an in classroom course for it?