[Top][All Lists]

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

Re: hash/backslash confusion

From: Mark Polesky
Subject: Re: hash/backslash confusion
Date: Thu, 13 Aug 2009 13:42:08 -0700 (PDT)

Carl Sorensen wrote:
> This is *exactly* the same issue.

Is it accurate to say that the parser is a LilyPond interpreter in
the same sense that guile is a scheme interpreter? If so, is it
also accurate to say that the parser temporarily hands over
control to guile when it sees the # operator? It gets confusing
for me because, IIUC the parser interfaces with guile even when
there are no # expressions in the .ly file.

But the way I see it, something like a single quote (') is
interpreted as "up an octave" in the parser but interpreted as
the (quote ...) procedure in guile.

I'm guessing something is wrong with my understanding because the
hash (#) doesn't appear anywhere in the "LilyPond grammar",
appendix, and I'm thinking of it as a unary operator meaning
"interpret the following as a scheme-expression using guile".

- Mark


reply via email to

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