February 06, 2007Re: DMD 1.005 release
Posted in reply to Ary Manzana
Reply to Ary, > > Second, this makes even harder to get good IDE support for D. You can > have syntax coloring, and that's it. Autocompletion is going to be a > very though part: the IDE must act as a compiler, as you say it, to > figure out what the program will look like so that it can know what > are the declarations available to the programmer. > Cool thought: build a compiler / IDE where the would front end short of code-gen is ued to read in code and the editor actually edits the parsed code tree. Say goodbye to syntax errors, maybe even semantic ones as well because you can't edit code to something that isn't correct... Er, maybe that wouldn't be such a good idea. Anyway, what is on the screen is actually a rendering of the parsed stuff. Talk about fast compile times: codetree.CodeGen(); // no parsing etc. Also the same functions that do name scopeing can do auto-compleat (or the other way around).