Hi Jakob, > I think it would be a good idea to use the ones in wrangler.
I agree. The AST used by Wrangler is annotated with static semantic information and location information. This information could make certain things, such as semantic highlighting, straightforward to implement. > BTW, a good pretty-printer is high on the wish-list for erlide. The standard Erlang pretty-printer is not good enough. I have adjusted it a bit by taking the original layout (such as the maximal line length of each function) into account, so that the produced layout is more similar to the original one. > How do you think we should integrate them? Should we share the same > repository, or keep them apart? I think one solution would be for George to commit his plugin (including both the integration and the refactorings) to your repository, while we keep a seperate repository of Wrangler. What do you think? Best Regards, Huiqing > /Jakob > > > 2008/6/25 <[EMAIL PROTECTED]>: > >> Hi George, >> >> Thanks very much indeed for your information. >> >> > The way I see it there are two ways to do this, either a minimal >> approach, >> > where wrangler is provided as a plugin within the erlide feature, or a >> > more ambitious one, where the AST tools in wrangler is factorized out, >> > and used as tools throughout erlide. >> >> Wrangler is built on top of SyntaxTools. Does Erlide have its own >> parser, >> or >> does Erlide use SyntaxTools too? >> >> Replacing the AST tool used by Wrangler could be hard, but it also >> depends on how different the two AST tools are. >> >> > - It shouldn't really rewrite entire files, only the portions affected >> by >> > the refactoring >> >> That's a good suggestion. Because of the use of pretty-printing, >> rewriting >> the entire files seems unavoidable, but I will try to see whether there >> are any better solutions. >> >> Kind Regards, >> Huiqing >> >> > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Erlide-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/erlide-devel
