(October 26, 2020 at 11:18 am)HappySkeptic Wrote:(October 24, 2020 at 4:20 am)FlatAssembler Wrote: So, what do you think, is making compilers for your programming language (like I did) likely to make you a better programmer? Or is it likely to make you worse?
I think it should make you better, if it helps you understand how the syntax is formed. Just try not to focus too much on HOW the parser does its work
Maybe that's the problem. I've written the parser for my programming language by hand. And somehow I usually assume that's how it's done. But usually it isn't. Usually, the parsers are written using tools such as YACC or BISON, which, as far as I understand it, make it easy to write complicated grammar rules which are not at all obvious how to implement in a hand-written parser.

