Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lmm
on Aug 15, 2012
|
parent
|
context
|
favorite
| on:
GCC switches from C to C++
A nonoptimizing C compiler is pretty easy (a friend of mine wrote one in high school), and that's all you need to bootstrap GCC.
He didn't even finish his parser for C++ though.
duaneb
on Aug 15, 2012
[–]
Strictly speaking, C++03 can't be parsed, only interpreted (into a typed AST); it is not a context free grammar.
klodolph
on Aug 18, 2012
|
parent
[–]
You can parse languages that are not context-free. "Parse" just means that you figure out the structure of the file, the word has nothing to do with the techniques used.
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
He didn't even finish his parser for C++ though.