guile-user
[Top][All Lists]
Advanced

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

Re: my current project: new lalr module


From: Nala Ginrut
Subject: Re: my current project: new lalr module
Date: Mon, 08 Jun 2015 11:15:38 +0800

On Sat, 2015-06-06 at 10:19 -0700, Matt Wette wrote:
> On Jun 4, 2015, at 1:41 AM, Nala Ginrut <address@hidden> wrote:
> > 
> >> 1) There is no specification of terminals.  Terminals are detected in
> >> rules (via fenders) as quoted symbols or characters.
> >>    Example of terminals:  'number, #\+
> > 
> > hmm...and strings? Do you have plan to let users choose whether to use
> > terminals-inference? ;-)
> 
> This I will think about.  It should not be difficult.   (I'm wondering what 
> to do with strings like "(hello)" that I might want to convert to symbols.)

IIRC, this is implementation specific, say, #{\x28;hello\x29;}#
You can get it from string->symbol. And #{...}# notation is Guile
specific.
But you don't have to worry about the portability, since you may use
cond-expand.


Best regards.






reply via email to

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