guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nyacc: how to lex comments?


From: tomas
Subject: Re: Nyacc: how to lex comments?
Date: Tue, 17 Mar 2020 13:42:15 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Mar 17, 2020 at 05:31:32AM -0700, Matt Wette wrote:
> 
> 
> On 3/17/20 12:46 AM, address@hidden wrote:

[...]

> >I didn't quite understand the difference between both. Would I have
> >to include comments explicitly in the grammar if the lexer uses
> >#:comment-reader?
> >
> >Thanks again
> >-- tomás
> Yes.  Use comm-reader if your grammar accepts comments.
> Use comm-skipper if your grammar does not.
> 
> The ffi-helper does read comments in the C grammar and
> dumps them in the output files, for example.

Ah, I see, thanks. Thank you for your invaluable help!

Cheers
-- t

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]