You are arguing that the fallout is manageable. I'd like to simply do it right from the start.
Re:Always bet on text
by icebraining on Wednesday October 15, 2014 @07:20AM
(#8457909)
No, I'm saying it's an irrelevant implementation detail.
But IDEs already do that. An example I'm familiar with is Java on Eclipse - it validates the code as you're writing it and marking compilation errors. Your others example have been done as well.
You're right that you need an AST to do the properly, but when there's a cheap and reliable way to convert a blob of text to an AST - parsing - the distinction is somewhat irrelevant.