Support for more than one optable

Florian Hatat mininet at wanadoo.fr
Fri Oct 10 12:40:32 UTC 2008


Andrew Whitworth a écrit :
> My initial reaction is that the second example you list shouldn't be
> an optable at all but a rule:
>
> rule tuple {
>    <type> [ '*' <type> ] *
> }
>   

Sure... My example was over-simplified. There are of course more than
one operator for each optable (for type expression, there is also a "->"
for functional types).

If you are curious, you can have a look at :
http://caml.inria.fr/pub/docs/manual-ocaml/manual012.html
which describes the type expressions in OCaml.

-- 
Florian,
http://openweb.eu.org/
http://www.linux-france.org/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
Url : http://lists.parrot.org/pipermail/parrot-dev/attachments/20081010/a5f98f7d/attachment.pgp 


More information about the parrot-dev mailing list