[nem-en] errors in reference documentation
Kamil Skalski
kamil.skalski at gmail.com
Tue May 22 22:02:36 CEST 2007
Yeah, right, so the same problem is for all uses of {} on the same page...
2007/5/22, Kamil Dworakowski <kamil.dworakowski at googlemail.com>:
> According to http://nemerle.org/Conventions_%28ref%29
> {} means to repeat at least once, therefore it is not the same as regex
> star. I think it is a standard interpretation and would be good to keep
> it like this.
>
> Kamil Dworakowski
>
> > In a more "regex" syntax will be:
> >
> > (<method_parameter> (',' <method_parameter>)*)?
> >
> > I fixed method_parameters to method_parameter
> >
> >
> > 2007/5/22, Kamil Dworakowski <kamil.dworakowski at googlemail.com>:
> >> A production taken from reference that has two errors
> >> (http://nemerle.org/Type_members_%28ref%29#method_parameters):
> >>
> >> <method_parameters> ::=
> >> [ <method_parameters> { ',' <method_parameter> } ]
> >>
> >> I think that it should be:
> >>
> >> <method_parameters> ::=
> >> [ <method_parameter> [{ ',' <method_parameter> }] ]
> >>
> >> Apart from the extra s on the right side there is also the mistake of
> >> using {} where [{}] is needed. Am I right?
> >>
> >> -- Kamil Dworakowski
> >>
> >>
> >>
> >> _______________________________________________
> >> https://nemerle.org/mailman/listinfo/devel-en
> >>
> >
> >
>
>
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>
--
Kamil Skalski
http://nazgul.omega.pl
More information about the devel-en
mailing list