lilypond-devel
[Top][All Lists]
Advanced

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

Re: overfull lines in IR


From: Werner LEMBERG
Subject: Re: overfull lines in IR
Date: Tue, 23 Feb 2021 16:50:12 +0100 (CET)

> let me add a few thoughts...

Thanks for chiming in.

> For those static ones I have the strong opinion, we should always
> print them expanded and literally, even for a longer list. Thus
>
>   • Set translator property ottavationMarkups to:
> 
>     '((4 . "29")
>       (3 . "22")
>       (2 . "15")
>       (1 . "8")
>       (-1 . "8")
>       (-2 . "15")
>       (-3 . "22")
>       (-4 . "29"))
> 
> is fine.

OK.

> ###
> 
> For procedures, we probably could print only the name.  [...]
> hash-tables and unpure-pure-containers are even worse.

I agree.  What I can imagine is the following.

(1) Add a preface to the IR that explains some concepts and details
    related to the representation of data types.  In particular, it
    should be mentioned that the IR contains the values as seen by the
    Scheme interpreter, which is often different to what a user should
    write.

(2) Automatically generated references to source code lines,
    something like

      file ly/foo.ly, line xxx

    for top-level stuff like LilyPond contexts.


      Werner

reply via email to

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