Re: Yet another IDE
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Jul 25, 2003
- 529 views
On Fri, 25 Jul 2003 07:14:22 +0000, Peter Willems <peter at integratedmoves.com> wrote: >> I can easily automate processing of include statements via EUBNF, >> which should help considerably in that regard. > > I'm not sure where you are going here, probably misunderstand it. > I want my IDE to parse a main-project file (or "top level" file) > for include statements and add the called include files to the > project tree automatically. I also want it to parse all project > files and build a list of all procedures and functions available > in the project, sorted by include file. That way I can include a > library like win32lib and instantly see what functions are > available from that library. All I meant was that since EUBNF uses simple productions such as=20 -- routine ::=3D "procedure" $pname pdef "end" "procedure" -- | "function" $fname fdef "end" "function" -- | "type" tdef "end" "type" In theory, at least, it should be reasonably straightforward to detect when such a rule has been successfully applied (which would be the very last line of apply(), btw) and call a routine with the required details to maintain the database, since at that point it has a full symbol table, global list(s), include file stack etc to work with. Mind you, it certainly wouldn't be the fastest way... <snip>=20 > The problem for me with apps like MEditor is that they are to > much centered around.... well, the editor =46air point, I want an editor with a project sub-component, you want a project manager with an editor sub-component. That shouldn't necessarily prevent collaboration on individual components though. Pete