|
From: Jeffery, C. (<jef...@ui...> - 2016-12-11 09:45:50
|
Hi Bruce,
Yes, those grammar rules are intended to allow [] as a default value. Yes, I will add this to the Unicon book sources, thanks for the observation.
Cheers,
Clint
________________________________
From: Bruce & Breeanna Rennie <br...@dc...>
Sent: Sunday, December 11, 2016 1:27:38 AM
To: uni...@li...
Subject: [Unicon-ldif] The intended meaning of :[] when specified with an argument of a procedure, etc
Good evening Clinton and Jafar,
I am in the process of doing some testing and I have a question related
to the the BNF supplied in the unigram.y file.
In the BNF for arg, the following two lines are specified,
| IDENT COLON LBRACK RBRACK { $$ := argument($1.s, , , 1) } ;
| IDENT COLON IDENT COLON LBRACK RBRACK { $$ := argument($1.s,
$3.s, , 1) } ;
What is the intended meaning of these definitions? Is this intended to
mean that the default value for the arg is an empty list? If so, would
the Unicon Book sources be updated to reflect this, please.
regards
Bruce Rennie
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Unicon-ldif mailing list
Uni...@li...
https://lists.sourceforge.net/lists/listinfo/unicon-ldif
|