[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \retrograde to equivalent Scheme function directly from the command
From: |
Thomas Morley |
Subject: |
Re: \retrograde to equivalent Scheme function directly from the command line |
Date: |
Thu, 19 Oct 2017 09:22:15 +0200 |
2017-10-19 2:11 GMT+02:00 Jorge Gomez Abrante <address@hidden>:
> 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.
>
> Your help is greatly appreciated!
>
> best regards,
>
> Jorge Gomez Abrante composer and performer
You could do
lilypond scheme-sandbox
(procedure-source (ly:music-function-extract retrograde))
(procedure-source retrograde-music)
But why?
It's far easier to look it up in the relevant .ly and .scm-files using
searching utilities of a good editor.
Cheers,
Harm