[Introspector-developers] Fwd: Re: Question about extensible HLL syntax
Status: Beta
Brought to you by:
mdupont
|
From: James M. D. <mdu...@ya...> - 2003-02-05 09:43:13
|
Here we are getting to the idea of making modifiers for algorithms that can be used on many data-types, like in a c++ templating system, but based on introspection. mike --- James Michael DuPont <mdu...@ya...> wrote: > From James Michael DuPont Tue Feb 4 22:20:01 2003 > Received: from [80.128.233.199] by web41503.mail.yahoo.com via HTTP; > Tue, 04 Feb 2003 22:20:01 PST > Date: Tue, 4 Feb 2003 22:20:01 -0800 (PST) > From: James Michael DuPont <mdu...@ya...> > Subject: Re: Question about extensible HLL syntax > To: Brian T Rice <wa...@tu...>, Michael Conrad > <con...@em...> > CC: tu...@tu... > In-Reply-To: <Pin...@be...> > MIME-Version: 1.0 > Content-Type: text/plain; charset=iso-8859-1 > Content-Transfer-Encoding: 8bit > Content-Length: 1146 > > > --- Brian T Rice <wa...@tu...> wrote: > > So really it would be extra information about laying out the code > > that would be "tagged" onto the syntax tree nodes as needed, or if > there's > > an automatic layout algorithm that someone used, the "whole tree" > would > > be tagged that way. The way Migration deals with it is that these > > attributes are only moved across the network on demand, or even > that > it wouldn't be migrated, but the remote user who changes the code > ships back the > > changes which the first user incorporates. Pretty-printing vs. > careful manual > > arrangement (of various kinds) is a matter of aesthetics, though, > so > > I don't think there's an ideal solution for this, but it could > probably be done well enough. Does that make sense? > > Brian, Sorry if you know all about this, but > You might be interested in the VCG (Visualization of Compiler Graphs > )tool, it is a GPLed graph layout tool written in C. > > http://rw4.cs.uni-sb.de/users/sander/html/gsvcg1.html > > I have started to create a new version of it, and have gotten all the > uglified code from the author that was not availible for years. > If you are interested in that code, please let me know. > > So if you want someone to port that to tunes some day, I am sure it > would be a nice algorithm that would translate well to a different > language. In fact, the whole idea of semantics preservation is very > interesting with such a graph layout algorithm, becuase the basic > algortithm should be independent of the names and the structure of > the > graph data structure. > > Will tunes allow for algorithms to be modified on the fly to use > different underlying datastructures that basically have the same > semantics : like two different graph data structures? If so, then the > VCG algorithm could act directly on the internal language > representation with some mapping code, or on the standard vcg graph > data structures. > > > Just some ideas, hope you find them interesting. > mike > > > mike > > ===== > James Michael DuPont > http://introspector.sourceforge.net/ > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > ===== James Michael DuPont http://introspector.sourceforge.net/ __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |