Displaying posts categorized under

ANTLR

ANother Tool For Language Recognitzion.

How to embed actions within every match of a one-or-more ( rule+ ) or zero-or-more ( rule* ) rule in ANTLR?

This article shows how to embed and action into an ANTLR grammar, that should be executed for every match of a one-or-more rule ( rule+ ) or a zero-or-more rule ( rule* ).