From lieber@ccs.neu.edu Mon Nov 27 17:50:38 2000 Date: Thu, 26 Oct 2000 14:41:23 -0400 (EDT) From: Karl Lieberherr To: asimeqi@ccs.neu.edu, lieber@ccs.neu.edu Cc: com3360@ccs.neu.edu, dougo@ccs.neu.edu, johan@ccs.neu.edu Subject: Re: compiler for structure-shy language Hi Artan: Yes, this is a very interesting project and we have some technical infrastructure that makes it easier. We have a cd for Java so that you can work over your Java program using adaptive techniques. The cd is at: http://www.ccs.neu.edu/research/demeter/sources/DemeterJava/examples/j-Java11/program.cd It is probably good to use Google and search for "partial evaluation". This is a partial evaluation project where you "freeze" class graphs and strategies into your program. I am very excited about your project. Karl >From asimeqi@ccs.neu.edu Thu Oct 26 13:07:17 2000 >Date: Thu, 26 Oct 2000 13:07:16 -0400 (EDT) >From: Artan Simeqi >To: Karl Lieberherr >Subject: Re: compiler for structure-shy language >MIME-Version: 1.0 > > > >This sounds like a very good idea. >I would like to explore that idea in a project if you >want me to. > > Artan > >On Wed, 25 Oct 2000, Karl Lieberherr wrote: > >> Reminder: we continue with the Demeter Seminar today at 4pm in 149 CN: >> http://www.ccs.neu.edu/research/demeter/seminar/2000/oct4/seminar.txt >> >> About the message below: >> XSLT is an example of a structure-shy language for writing translators >> for XML documents. It supports features like "from A to B" >> and "from A bypassing X to Y". >> >> I was also thinking that it would be useful to write a compiler >> with a similar goal as the XSLT/XML compiler for >> programs that are written in Java and DJ. The idea would be to find >> statements like >> >> new TraversalGraph("from Customer through LastName to edu.neu.ccs.demeter.Ident", >> Main.cg). fetch(aCustomer) >> >> and to replace them by (for example): >> >> aCustomer.getHRData().getName().getLastName().getIdent() >> >> The goal is to improve performance. >> >> -- Karl Lieberherr >> >