Re: [Pharo-users] In the quest of Smacc idioms

2017-04-02 Thread Stephane Ducasse
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 * ##

Re: [Pharo-users] In the quest of Smacc idioms

2017-04-01 Thread Thierry Goubier
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

[Pharo-users] In the quest of Smacc idioms

2017-04-01 Thread Stephane Ducasse
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