[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lilypond source code pretty-printer
From: |
Noeck |
Subject: |
Re: Lilypond source code pretty-printer |
Date: |
Sat, 04 May 2013 09:52:14 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130404 Thunderbird/17.0.5 |
Am 04.05.2013 09:08, schrieb Jacques Menu:
> Hello,
>
> I've seen various opinions expressed in this list as to how one should layout
> Lily source code.
>
> Has there been attempts yet to produce an automatic pretty-printer?
Hi,
as far as indentation and syntax highlighting is concerned, Frescobaldi
does a very good job.
If you are talking about code structure, so where to use variables and
whether to state things explicitly or not, I think this depends on the
size of your project. In the examples in the docs you will often find
the following ordering, which is a good decision for a wide range of
project sizes:
% version, header, paper, …
% variables for music and lyrics
% score structure
Cheers,
Joram