Skip to content

lyp-packages/oll-core

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oll-core: Common infrastructure for OpenLilyLib packages

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.

Installation

Install using lyp

lyp install oll-core

Usage

\require "oll-core"

Option handling

openLilyLib packages support configuration with the \setOption command. Users can make use of that mechanism as well to make their files easily configurable.

Logging

A number of logging commands can be used in conjunction with a settable log level.

LilyPond version predicates

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.

Simplified and extended access to association lists

oll-core provides functions to get and set values from association lists, with specific concern of nested lists or “trees”.

OS independent path handling

The os-path module (naming inspired by Python) provides a number of commands that simplify dealing with paths and file names.

Utilities

The \consistToContexts command adds an engraver to multiple contexts at once.

About

Library Infrastructure for LilyPond add-ons

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • LilyPond 51.5%
  • Scheme 48.5%