#16 UA client: code generator plugin for translating scripts


Using antlr, it should be possible to create a configurable code generator for transforming the UA client scripts (written in i.e. beanshell) into source code for a compiled programming language, such as C++, EC++, Ada or SPARK/Ada.

For professional users this would be a very useful feature, as it helps turning prototypes into application code that can be compiled and tested on the target hardware.

Obviously, it would be complex to come up with the transformation for all sorts of programming languages and syntax constructs.

But maybe it would be possible to just provide the infrastructure so that users can come up with their own transformation rules for transforming certain constructs (loops, conditionals, functions etc) from the target language to the output language?

Whenever something is missing, a simple wizard could be shown to allow users to specify custom antlr transformations.

Such custom rules could then be saved in the standard antlr format, so that they could also be easily contributed back to the j661 project, eventually there would probably be a growing library of supported programming languages and language features.



  • Hervé Girod

    Hervé Girod - 2010-11-22

    I have to look on these resources. txl seems interesting for example. I should give it a try.

  • Nobody/Anonymous

    Actually, it would be kinda cool to use some graphical way to create scripts, something like a UML wizard - that should be also easier to transform to different output languages?


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks