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

Darien Hager darien.hager at etelos-inc.com
Thu Feb 21 17:24:48 PST 2008


Mr. Token, if I understand you correctly, you want to create your
own scripting language, and then translate that language into some
other programming
language. Note that a custom scripting language is *not* the same as
pseudocode, since "pseudocode", by definition, is non-standardized and
vague. It's the difference between the mathmatical equation "X=Y+Z" and
someone writing on a sticky-note: "I think X should be Y plus whatever that
thing was from before."

Yes, ANTLR makes it much easier for you to do that than it would be by
hand. If your new language is very similar to an existing one (e.g.
Pascal) you can try to find an
ANTLR grammar file someone else might already have made and modify
that. Otherwise you will need to write your own grammar file.

And after *that* you will need to figure out how blocks of your scripting
language turn into blocks of another language, and program those in.


-- 
Darien Hager
Developer
Etelos, Inc.
darien at etelos.com

http://www.etelos.com
"Revolutionizing the way applications are developed, distributed and
consumed."

This e-mail message, including attachments, may contain confidential
information for the sole use of the intended recipient(s). If you are not
the intended recipient, then this is notice that any use, disclosure,
dissemination, distribution or copying is strictly prohibited. If you have
received this message in error please contact the sender by reply mail and
destroy all copies of the original message.


This e-mail message, including attachments, may contain confidential information for the sole use of the intended recipient(s). If you are not the intended recipient, then this is notice that any use, disclosure, dissemination, distribution or copying is strictly prohibited.  If you have received this message in error please contact the sender by reply mail and destroy all copies of the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080221/c6b57113/attachment.html 


More information about the antlr-interest mailing list