Great! We had the same idea :)
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 ... Lionel 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 > patterns), > one for Pharo syntax ( https://github.com/OpenPonk/ > class-editor/blob/master/docs/code-generation/uml-to-code.md ) > and one for VW syntax ( https://github.com/OpenPonk/ > class-editor/blob/master/docs/vw-code-generation/pim-psm.md ) > > (the code is here https://github.com/OpenPonk/class-editor/tree/master/ > repository/DynaCASE-Generator.package and here > https://github.com/OpenPonk/class-editor/tree/master/ > repository/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 > powerful.) > > 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. :) > > Peter > > 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 > generated > > 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 >