[EMAIL PROTECTED] writes:
> On Fri, 3 May 2002, Han-Wen Nienhuys wrote:
> > how would you distinguish between
> > 
> >   c~ c
> > 
> > and
> > 
> >   c ~c
> > 
> 
> The idea was to use a directed bound with '~'-marks: tie either the object
> in the left side or the object in the right side. If situation is
> symmetric, like in <x>~<y>, bind both the left and right directions.
> 
> Briefly:
> 
> "<x>~�<y>" = "bind object <x> to the object <y> on the right side"
> "<x> ~<y>" = "bind object <y> to the object <x> on the left side"

You don't understand the question. Lily input is space insensitive,
meaning that generally

  c4
  c   4 
  c
      4

all mean the same thing, i.e. a quarter c. This means that you can't
distinguish between


  c~   c
  c  ~ c
  c

    ~c

unless you introduce to a distinction between ~ followed by spaces and
a ~ which isn't. I think that it is bad idea, and I doubt whether you
can pull this off in lexer.ll at all.


-- 

Han-Wen Nienhuys   |   [EMAIL PROTECTED]    | http://www.cs.uu.nl/~hanwen/


_______________________________________________
Lilypond-devel mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to