lilypond-user
[Top][All Lists]
Advanced

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

Re: format source code


From: karl
Subject: Re: format source code
Date: Thu, 10 Nov 2016 11:59:17 +0100 (CET)

Micheal Gerdau:
...
> > C:\Test>perl .\tidy_midi.pl Irish.ly > i.ly
> > and a 0 bytes file length is created. Any hints?

I you send me the file I can have a look to see if I can adjust the
program to handle it, or if you send me the midi file I can have a look
to see if I can do a converter that makes nicer looking code.

> I'm using Strawberry Perl (http://strawberryperl.com/) and have just tried
> perl .\tidy_midi.pl LottiAminAgnus-midi.ly  > LottiAminAgnus.out2.ly
> 
> Comparing the result with the original LottiAminAgnus.out.ly shows no
> differences except for line endings.

Thanks for the check.

///

To be honest, to do a proper indenter is best done with lilyponds
parser etc. parts (I guess).

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57





reply via email to

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