This package is a fork of openlilylib/oll-core.
oll-core
is the heart of openLilyLib and provides common functionality that any ”openLilyLib” package uses. However, it is also useful for inclusion in arbitrary LilyPond files.
Note: this code (and documentation) is currently in a conceptual state of pre-alpha quality.
Install using lyp
lyp install oll-core
\require "oll-core"
openLilyLib packages support configuration with the \setOption
command. Users can make use of that mechanism as well to make their files easily configurable.
A number of logging commands can be used in conjunction with a settable log level.
oll-core
provides predicates to match against the currently running LilyPond version. This makes it possible to write code that supports multiple LilyPond versions, which can be particularly appropriate for libraries.
oll-core
provides functions to get and set values from association lists, with specific concern of nested lists or “trees”.
The os-path
module (naming inspired by Python) provides a number of commands that simplify dealing with paths and file names.
The \consistToContexts
command adds an engraver to multiple contexts at once.