[nem-en] errors in reference documentation

Kamil Dworakowski kamil.dworakowski at googlemail.com
Tue May 22 22:00:15 CEST 2007


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
>>
>
>




More information about the devel-en mailing list