Hacker News new | ask | show | jobs
by mossplix 4885 days ago
there are parser generators .. you dont have to build one from scratch
1 comments

As noted elsewhere, these usually make the hard part harder.

The other part of the issue is building the internal representation so that halfway decent code can be generated, not even thinking about optimization.

And, like the syntax and grammar of the language, the semantics of C++ are quite complex.