lilypond-user
[Top][All Lists]
Advanced

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

Re: \retrograde to equivalent Scheme function directly from the command


From: David Kastrup
Subject: Re: \retrograde to equivalent Scheme function directly from the command line
Date: Thu, 19 Oct 2017 09:59:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Jorge Gomez Abrante <address@hidden> writes:

> Hello all!
>
> Is there a command line option that allows me to translate lilypond grammar
> to scheme internal code.
>
> I want to study how the \retrograde function was implemented in Scheme.

This is Free Software, so you have the right to get the source code
without extra cost.  The freedom to study code is explicitly listed as
one of the fundamental four software freedoms.  Now in this particular
case this isn't exactly hard since both LilyPond and Guile are
interpreters and thus the source code _has_ to be in your installation
directory anyway.  If we were talking proprietary or precompiled
software, this could be in some mangled or stripped down form (and once
Guile 2 is fully supported, there _will_ be such a form in addition),
but it isn't.  All the original comments (which does not necessarily
mean a lot, but if you want, you can submit more) are still there.

You'll find the LilyPond part in ly/music-functions-init.ly and the
Scheme part in scm/modal-transforms.scm .

-- 
David Kastrup



reply via email to

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