ConfigurationOfOpalCompiler from SmalltalkHub is better suited for current Pharo, btw
On Jun 21, 2012, at 3:12 PM, Goubier Thierry wrote: > Le 21/06/2012 15:06, Marcus Denker a écrit : >> >> On Jun 21, 2012, at 2:50 PM, Jean Baptiste Arnaud wrote: >> >>> ok >>> >>> On Jun 21, 2012, at 2:28 PM, Marcus Denker wrote: >>> >>>> >>>> On Jun 21, 2012, at 2:22 PM, Damien Cassou wrote: >>>> >>>>> On Thu, Jun 21, 2012 at 2:01 PM, Goubier Thierry<[email protected]> >>>>> wrote: >>>>>> I met J-C. Arnaud in Rennes yesterday and he told me I should try the >>>>>> Opal >>>>>> compiler. So, how do I load Opal in a Pharo 1.4 image ? >>>>> >>>>> I think it is there: >>>>> http://www.squeaksource.com/OpalCompiler >>>>> >>>> >>>> There is a problem: this is not finished. The problem is that it is not >>>> really useful right now. >>> As I understand (stop me if i am wrong) , it doesn't really matters, the >>> idea is to put annotation on an ast for inject code. >>> I think it is usable in state for that use. Maybe not for full remplacement >>> of the current compiler. >>> But i thinks, it is painless to implement with opal comparing to the energy >>> needed for change the old one. >> >> The problem is that the code generated should be correct... its almost >> there... some days... > > So, how is the state of Opal? My old code insert nodes in the compiler > generated ast, but the way the nodes are build in the pharo compiler makes it > more difficult. > > If there is a reasonable chance the code generation is correct, I can try. > > For now, I've just discovered there is a dependency on petit parser. I'll > break my 1.4 image soon :-) > > Thierry > -- > Thierry Goubier > CEA list > Laboratoire des Fondations des Systèmes Temps Réel Embarqués > 91191 Gif sur Yvette Cedex > France > Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95 >
