4 ms·
For the ignorant: what decisions are you referring to? I've heard this a lot but am not sure what people mean.
by anitil 9y ago
For the ignorant: what decisions are you referring to? I've heard this a lot but am not sure what people mean.
- eru 9y agohttps://news.ycombinator.com/item?id=15408652 https://news.ycombinator.com/item?id=15408652 explains it better than I did. Basically, early on they didn't want GCC to be able to be used piecemeal with closed source compilers / plugins. Thus they made GCC hard to be used piecemeal. But using bits and pieces of your compiler is exactly what you'd want to be doing when you want to have good editor integration: eg syntax highlighting _should_ actually use the compiler instead of duplicating logic. Especially with a language that's Turing complete to even parse like C++; the logic just to figure out whether something is a type to be coloured eg blue or a variable name to be coloured eg green. (See http://blog.reverberate.org/2013/08/parsing-c-is-literally-undecidable.html http://blog.reverberate.org/2013/08/parsing-c-is-literally-u...)