[antlr-interest] Re : pseudocode translator to java, c and Ada

Gerald B. Rosenberg gbr at newtechlaw.com
Thu Feb 21 16:05:02 PST 2008


At 03:30 PM 2/21/2008, you wrote:
>ok, let's say , I'll be happy to find One pseudocode translator to 
>Ada, for instance.


Since no one is using your particular pseudo-code representation, 
other than yourself, and Ada has such a small market share, you are 
bound to be unhappy.

If you wish a commercial solution, then www.jazillian.com is likely 
your best bet for having a translator developed for you.

Otherwise, http://www.antlr.org/grammar/pascal/ is probably the 
closest you are going to get to an existing solution.  "All" you have 
to do then is tweak the grammar to accept your pascal-like 
pseudo-code and add an AST->stringtemplate walker to generate 
Java.  If you really want Ada as output, you will have to port the 
stringtemplate libary to generate Ada.



More information about the antlr-interest mailing list