>
> Questions: 
>

Are these for C or Perl or both?
 

> 1.) What should be its name?  [Probably not doit() ]. 
>

I'd like it to be called process().
 

> 2.)  I think doit() should throw an exception on error -- that's most 
> convenient in simply apps.  Does that sound right? 
>

Yes, if it ties in with Try::Tiny being the recommended handler at the Perl 
level.

That means $_ will hold the msg.
 

> 3,)  Also, doit() could catch ambiguous parses, and throw an error on 
> those, with an error message indicating where the ambiguity happened.   
> Currently ambiguity must be explicitly checked for.  If you don't, and 
> it's a problem, you (in effect) have a silent error condition.  Should I 
> treat ambiguous parses as errors? 
>

Could that be an option?
 

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

Reply via email to