SMC takes a state machine stored in an .sm file and generates the state pattern classes in fourteen programming languages. Its features include default transitions, transition arguments, transition guards, push/pop transitions, and Entry/Exit actions. It requires Java SE 1.6 or better.
Re: very entertaining sales pitch
> nice compiler too :-) How hard do you
> think it would be to target more
> declarative languages, eg: BXML
I am not familiar with BXML so I do not know what the
generated output should look like. But as for adding a new
language to SMC, it is a matter of adding
SmcBXMLGenerator class which extends the
SmcCodeGenerator class. SMC uses the visitor pattern to
emit the target language output.
Of course, after writing SmcBXMLGenerator there is writing