Where to go after this tutorial?¶
Here are a few resources to learn more about Scheme and its integration with LilyPond.
LilyPond’s Scheme, a tutorial that is similar to this one. It is unfinished, but some subjects are treated in more details. (It is available in English only, while this one has a French version).
Guile’s technical reference is a vital aid for ambitious projects. The Guile 1.8 manual is here:
The Guile 2.2 manual is here:
To know which version of Guile ships with your LilyPond installation, read Why Scheme? again.
Numerous tutorials and books have been written about Scheme, with basic to advanced content (and focusing on the language in general, not in the context of LilyPond like this tutorial). Two of these books deserve special mention: Structure and Interpretation of Computer Programs (by Abelson and Sussman, considered as a Bible by many Schemers), and An Introduction to Scheme and its Implementation (by Paul Wilson). Many more can be found on this page from https://schemers.org. The same website suggests How to Design Programs (Felleisen, Findler, Flatt and Krishnamurti).
LilyPond’s offical extension manual contains information about a few of LilyPond’s main programming interfaces. Sadly, to this day, it remains highly incomplete.
Extending LilyPond (by myself) is a much more thorough guide to the same topics.