Orm Finnendahl <[email protected]> writes: > Hi, > > Am Mittwoch, den 20. Juli 2022 um 13:14:25 Uhr (-0600) schrieb Carl Sorensen: >> The way to do this is to write the plain scheme code files as lilypond >> files. >> >> Put the functions in a .ly file. >> >> Preface each function with # (to put the parser into scheme mode). > > Thanks, I'm aware of that but that's a bit tedious. I hoped there is > an on/off command to put the lilypond parser into scheme mode before > the scheme code and put it back into the normal mode afterwards, but > assume from your answer this hasn't been implemented.
Well, that's more or less what #(begin ... ) does. -- David Kastrup
