Thank you all very much for the help. I have formalized an encoding from a language I named RepliX10 to X10 (considering only subset of features).
Essentially, RepliX10 has a construct for sharing objects across places i.e., val x:T shared with p1, p2 = e that should translate to a piece of X10 code that creates distributed array across places p1 and p2, each point initialized to what expression e evaluates to. Further, read of value x from place p2, should then access the local 'replica' contained in the distributed array. The idea is to implement this translation. I have come across a document titled "An annotation and compiler plugin system for X10" (2007) that, I think, describes the kind of framework I should use. Could you please point me to recent developments in this direction, if any? Kind regards, Marina On Sat, Jan 2, 2016 at 10:41 AM, Vijay Saraswat <vi...@saraswat.org> wrote: > ...except during the year-end holiday period :-), which will end any day > now! > > > On 1/1/16 9:48 PM, V. Krishna Nandivada wrote: > > Hi Marina, > > We have some code that does 1. loop chunking and 2. expanding and reducing > the scope of finish and async constructs — all implemented as AST-AST > transformation inside X10 compiler. But we have not released the code yet. > > If you have any specific questions on doing AST-AST transformation, then > please post to the mailing list. We will try to answer. > > In general, we find that even though the documentation is not extensive, > the code is well written and the mailing list is responsive. > > Warm regards, > Krishna. > > On 29-Dec-2015, at 5:22 AM, Marina Andric < <marina.and...@imtlucca.it> > marina.and...@imtlucca.it> wrote: > > Hi everyone, > > I need to implement a program transformation (from X10 code to X10 > code). Is there something already available (a parser) that I could re-use, > for instance to extract the syntax tree of an X10 program and create a new > one? > > Thanks a lot! > > Marina > > ------------------------------------------------------------------------------ > _______________________________________________ > X10-users mailing list > X10-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/x10-users > > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > X10-users mailing > listX10-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/x10-users > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > X10-users mailing list > X10-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/x10-users > >
------------------------------------------------------------------------------
_______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users