Am Donnerstag, 26. November 2015 11:13:50 UTC+1 schrieb rns:
>
>
>
> On Thu, Nov 26, 2015 at 12:00 PM, Cev Ing <[email protected] <javascript:>>
> wrote:
>
>> I got the following error:
>>
>> "::lhs" blessing only allowed if LHS is whitespace and alphanumerics
>> LHS was <create_table>
>>
>> Does this mean, that the use of underscores in G1 rule names is
>> discouraged?
>>
> This is related to blessing -- LHS being used as the name of a Perl class
> -- and is as documented:
>
> --
>> https://metacpan.org/pod/distribution/Marpa-R2/pod/Semantics.pod#Blessings
>>
>
Yes, but this restriction does not exist in Perl:
$ perl -M'Data::Dumper' -e 'print Dumper(bless {}, "a_b");'
$VAR1 = bless( {}, 'a_b' );
Why does it exist in Marpa?
--
You received this message because you are subscribed to the Google Groups
"marpa parser" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.