X-FeedAbuse: http://nntpfeed.proxad.net/abuse.pl feeded by 88.191.16.109 Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!nospam.fr.eu.org!usenet-fr.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!news.glorb.com!news2.glorb.com!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!news.misty.com!news.iecc.com!nerds-end From: Patricia Shanahan Newsgroups: comp.programming,comp.compilers,comp.editors Subject: Re: New editor/Integrated Development Environment/compiler Date: Sun, 10 Apr 2011 13:30:03 -0700 Organization: Compilers Central Lines: 38 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <11-04-019@comp.compilers> References: <11-04-009@comp.compilers> <11-04-014@comp.compilers> NNTP-Posting-Host: news.iecc.com X-Trace: gal.iecc.com 1302535801 77316 64.57.183.58 (11 Apr 2011 15:30:01 GMT) X-Complaints-To: abuse@iecc.com NNTP-Posting-Date: Mon, 11 Apr 2011 15:30:01 +0000 (UTC) Keywords: tools, editor Posted-Date: 11 Apr 2011 11:30:01 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: x330-a1.tempe.blueboxinc.net comp.programming:199 comp.compilers:86 comp.editors:58 On 4/8/2011 2:39 PM, Hans-Peter Diettrich wrote: > HiramEgl schrieb: > >> Therefore, I see all these elements as branches and leaves of a big >> tree-structure (the SOURCE-STRUCTURE). > > Where do you want to start and stop building that tree? > > To start you need kind of a project, that contains a number of source > modules, which then refer to other modules or interfaces, depending on > the source language; C uses #include for importing external > declarations, Pascal dialects have "uses" for the same purpose. How > shall your editor find the related files? In the case of C, where > shall your editor find the definitions, related to the imported > declarations? At least you'll need according parsers, for every > supported language and compiler. > > Do you want to recurse down into every additional external > declaration, including all libraries used in the project? In the case > of Free Pascal this requires to add not only a compiler attribute and > related search pathes to the configuration, but also for the target > machine, OS and (Lazarus) widgetset. > > Your approach looks nice, as soon as such a structure tree exists, but I > see the biggest problems just in the construction of that tree. I think the import issue is important, but so is export. I would not start using such a system without being certain I could recover the file view of my code any time I needed it. Moreover, a programmer might want to combine the IDE with file orientated tools such as an existing revision control system. The IDE would need smooth, reliable, efficient import and export to stand any chance of widespread adoption. Patricia