Tx thierry I will check and make some experiments.
On Sat, Apr 1, 2017 at 9:45 PM, Thierry Goubier
wrote:
>
>
> Le 01/04/2017 à 19:31, Stephane Ducasse a écrit :
>
>> Hi
>>
>> I'm trying to understand what are the idioms in Smacc when converting from
>> ANTLR
>>
>> # the case of * ##
Le 01/04/2017 à 19:31, Stephane Ducasse a écrit :
Hi
I'm trying to understand what are the idioms in Smacc when converting from
ANTLR
# the case of *
Function = ‘(‘ (',' Arguments )* ‘)’
Function: "(" ( Argument ("," Argument) * ) ? ")" {{}} ;
Argument: 'a
Hi
I'm trying to understand what are the idioms in Smacc when converting from
ANTLR
# the case of *
Function = ‘(‘ (',' Arguments )* ‘)’
should be transformed into
Function
: "(" 'leftParen' _ArgumentsOption ")" 'rightParen' {{}}
;
_ArgumentsOption
:
| Ar