Hi and Wellcome!

First of all, ANTLR is a parser generator. Thus, ANTLR generates a
parser in several programming languages, such as Java and C#, from an
ANTLR-grammar. In order to read/parse your algorithm notation, you need
to have or define an ANTLR grammar for this language. Then, ANTLR can
generate a parser that is able to read your algorithm notation.

If you further want to translate it your notation into source code, you
have to write a mapping between your notation and the resulting source
code. But you unfortunately gave less information about what you exactly
want to do.

For language translation, you should also have a look at this article,
especially at chapter "Walking the AST":
http://www.antlr.org/article/1136917339929/stringTemplate.html

Regards,
Christian

Am 22.11.2011 04:23, schrieb wijanarto wijanarto:
> Hi, I am totally newbie in DSL with antlr. It it posibble to create 
> translation from algorithm notation (natural language) to generate specific 
> source code (formal language) (eg. C/java)
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: 
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>


List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to il-antlr-inter...@googlegroups.com.
To unsubscribe from this group, send email to 
il-antlr-interest+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to