[antlr-interest] How does one handle variable number of function parameters?

Sohail Somani sohail at taggedtype.net
Mon Nov 28 19:19:13 PST 2005


On Mon, 2005-28-11 at 21:00 -0600, Rob Greene wrote:
> At work, I'm trying to get functions to work within expressions but I
> have no clue how to handle the variable number of parameters (the
> functions will be defined outside of the grammar file). The example
> (the basic interpreter) doesn't explain what's going on, so is simply
> baffling to me.

Functions within expressions? Could you elaborate a bit? Do you mean
that an expression can contain a function call?

Sohail



More information about the antlr-interest mailing list