2016-10-18 9:35 GMT-03:00 Lionel Akue <lionela...@gmail.com>:
> We had the same idea :)
Let me know if we can join forces to speed uo things.
> The first requirements I wrote was to generate Spec UI directly. But I
> rather chose to make Magritte compatible with Spec.
> So from the Magritte description, we could generate Spec, Seaside ...
The CodeGenerator I wrote already generates Magritte code. If you load it
in Pharo 5
smalltalkhubUser: 'hernan' project: 'CodeGenerator';
Have a look at the usage examples:
If you have suggestions I would like to read.
> 2016-10-18 14:20 GMT+02:00 Peter Uhnak <i.uh...@gmail.com>:
>> Hi Hernan,
>> I wrote some time ago two basic code generators (both in Pharo) from
>> UML-ified FAMIX for a particular user (so there are some domain-specific
>> one for Pharo syntax ( https://github.com/OpenPonk/cl
>> ass-editor/blob/master/docs/code-generation/uml-to-code.md )
>> and one for VW syntax ( https://github.com/OpenPonk/cl
>> ass-editor/blob/master/docs/vw-code-generation/pim-psm.md )
>> (the code is here https://github.com/OpenPonk/cl
>> ass-editor/tree/master/repository/DynaCASE-Generator.package and here
>> ory/UML-CodeGenerator.package )
>> The most pain I had was with expressing templateable code to which I
>> could just plug specific data, I wanted to look at QVT but didn't have the
>> time yet.
>> But it would be interesting to see if your generator could address such
>> issues; plus soon I want to iterate on my generators to have more live
>> interaction (so the code is generated on the fly as the model is created,
>> although I am using Pharo Refactoring engine for now, which is also quite
>> Addionally, Lionel (in cc) is working on some meta system generating
>> classes with magritte descriptions.
>> So it would be cool if we could have some really cool generator that
>> could do many cool things. :)
>> On Tue, Oct 18, 2016 at 02:24:28AM -0300, Hernán Morales Durand wrote:
>> > Hi guys,
>> > I am writing a code generator, doing a few iterations right now.
>> > I want your opinion, which most useful thing would you like to be
>> > automatically? It could be a pattern, an idiom, another language...
>> > For example my own wish (roadmap) list:
>> > - A "settings framework" settings class generator.
>> > - A state machine generator (based in the excellent paper of Trevor P.
>> > Hopkins)
>> > - A Spec UI generator.
>> > Let me know your thoughts.
>> > Cheers,
>> > Hernán