digitalmars.D - Special compilation mode
- Arlen Albert Keshabyan (2/2) Apr 13 2008 It would be very handy to introduce a special compilation mode in the...
- Ary Borenszweig (3/7) Apr 13 2008 Are you sure Eclipse does that to Java source files? I think Eclipse
- Robert Fraser (4/7) Apr 13 2008 The problem is, it's difficult to determine exactly what should be in
- Arlen Albert Keshabyan (2/10) Apr 13 2008 what are you talking about? :) Of course, it's not difficult to a compil...
- Robert Fraser (4/15) Apr 13 2008 I meant easier for Walter. A great deal of semantic info is produced if
- Arlen Albert Keshabyan (2/18) Apr 13 2008 Right. So, that was the question.
- Arlen Albert Keshabyan (2/11) Apr 13 2008
It would be very handy to introduce a special compilation mode in the D compiler that would build a special report file instead of a binary object file upon a source code file compilation. It’s supposed to contain special information on types, variable and class names, errors, warnings, optimization notes and other useful information that would help an IDE (or any other frontends) to help programmers in a code completion and in other useful things. It’s supposed to run fast in a background like Eclipse does that to java source files. Does Walter consider that worth of his attention to bother about?
Apr 13 2008
Arlen Albert Keshabyan escribió:It would be very handy to introduce a special compilation mode in the D compiler that would build a special report file instead of a binary object file upon a source code file compilation. It’s supposed to contain special information on types, variable and class names, errors, warnings, optimization notes and other useful information that would help an IDE (or any other frontends) to help programmers in a code completion and in other useful things. It’s supposed to run fast in a background like Eclipse does that to java source files.Are you sure Eclipse does that to Java source files? I think Eclipse developed a Java compiler, from which they gather all that information.Does Walter consider that worth of his attention to bother about?
Apr 13 2008
Arlen Albert Keshabyan wrote:It would be very handy to introduce a special compilation mode in the D compiler that would build a special report file instead of a binary object file upon a source code file compilation. It’s supposed to contain special information on types, variable and class names, errors, warnings, optimization notes and other useful information that would help an IDE (or any other frontends) to help programmers in a code completion and in other useful things. It’s supposed to run fast in a background like Eclipse does that to java source files. Does Walter consider that worth of his attention to bother about?The problem is, it's difficult to determine exactly what should be in such a file. If you need complete semantic information, it would be a lot easier to just embed the DMD front-end or dil or something.
Apr 13 2008
Robert Fraser Wrote:Arlen Albert Keshabyan wrote:what are you talking about? :) Of course, it's not difficult to a compiler :) whatever documented file format would provide is sufficient for this! "What should be in such a file" is the matter of what Wllter considers to be possible to provide :) Whatever is valuable! Even a minute speckle of dust that helps :) None but compiler can provide the best info on what the source code is :)It would be very handy to introduce a special compilation mode in the D compiler that would build a special report file instead of a binary object file upon a source code file compilation. It’s supposed to contain special information on types, variable and class names, errors, warnings, optimization notes and other useful information that would help an IDE (or any other frontends) to help programmers in a code completion and in other useful things. It’s supposed to run fast in a background like Eclipse does that to java source files. Does Walter consider that worth of his attention to bother about?The problem is, it's difficult to determine exactly what should be in such a file. If you need complete semantic information, it would be a lot easier to just embed the DMD front-end or dil or something.
Apr 13 2008
Arlen Albert Keshabyan wrote:Robert Fraser Wrote:I meant easier for Walter. A great deal of semantic info is produced if you run dmd with the -v switch, but going as deep as you suggest is quite a bit of work.Arlen Albert Keshabyan wrote:what are you talking about? :) Of course, it's not difficult to a compiler :) whatever documented file format would provide is sufficient for this! "What should be in such a file" is the matter of what Wllter considers to be possible to provide :) Whatever is valuable! Even a minute speckle of dust that helps :) None but compiler can provide the best info on what the source code is :)It would be very handy to introduce a special compilation mode in the D compiler that would build a special report file instead of a binary object file upon a source code file compilation. It’s supposed to contain special information on types, variable and class names, errors, warnings, optimization notes and other useful information that would help an IDE (or any other frontends) to help programmers in a code completion and in other useful things. It’s supposed to run fast in a background like Eclipse does that to java source files. Does Walter consider that worth of his attention to bother about?The problem is, it's difficult to determine exactly what should be in such a file. If you need complete semantic information, it would be a lot easier to just embed the DMD front-end or dil or something.
Apr 13 2008
Robert Fraser Wrote:Arlen Albert Keshabyan wrote:Right. So, that was the question.Robert Fraser Wrote:I meant easier for Walter. A great deal of semantic info is produced if you run dmd with the -v switch, but going as deep as you suggest is quite a bit of work.Arlen Albert Keshabyan wrote:what are you talking about? :) Of course, it's not difficult to a compiler :) whatever documented file format would provide is sufficient for this! "What should be in such a file" is the matter of what Wllter considers to be possible to provide :) Whatever is valuable! Even a minute speckle of dust that helps :) None but compiler can provide the best info on what the source code is :)It would be very handy to introduce a special compilation mode in the D compiler that would build a special report file instead of a binary object file upon a source code file compilation. It’s supposed to contain special information on types, variable and class names, errors, warnings, optimization notes and other useful information that would help an IDE (or any other frontends) to help programmers in a code completion and in other useful things. It’s supposed to run fast in a background like Eclipse does that to java source files. Does Walter consider that worth of his attention to bother about?The problem is, it's difficult to determine exactly what should be in such a file. If you need complete semantic information, it would be a lot easier to just embed the DMD front-end or dil or something.
Apr 13 2008
Ary Borenszweig Wrote:Arlen Albert Keshabyan escribió:yes, it does.It would be very handy to introduce a special compilation mode in the D compiler that would build a special report file instead of a binary object file upon a source code file compilation. It’s supposed to contain special information on types, variable and class names, errors, warnings, optimization notes and other useful information that would help an IDE (or any other frontends) to help programmers in a code completion and in other useful things. It’s supposed to run fast in a background like Eclipse does that to java source files.Are you sure Eclipse does that to Java source files? I think Eclipse developed a Java compiler, from which they gather all that information.Does Walter consider that worth of his attention to bother about?
Apr 13 2008