Building an LR Parser generator as a hobby….. but losing motivation because “IT ALREADY EXISTS”
Hey everyone,
I have been working on building an LR parser generator as a hobby project. I’m not doing it for a job or anything, just curiosity to understand how parsing actually works under the hood.
I believe I can finish it in about 4 - 5 months with consistency. I already started designing the grammar system.
But recently I’ve been getting stuck mentally.
Every time I make progress, I hit the same thought:
“Why am I doing this? This problem was solved decades ago. Tools like Yacc/ANTLR already exist. Even if I finish this, who would use it?”
And honestly, that thought is starting to drain motivation. It feels like I’m reinventing something that doesn’t need to be reinvented.
So I wanted to ask people who have gone through similar projects.
Should I continue it??
https://redd.it/1t96jj1
@r_cpp
Post #25165
12