The lang.scheme module

Scheme language and transformation definition.

class Scheme[source]

Bases: SchemeLily

Scheme language definition.

classmethod common(pop=0)[source]

Yield common stuff. pop can be set to -1 for one-arg mode.

class SchemeTransform[source]

Bases: Transform

Transform Scheme quickly.dom.

common(items)[source]

Yield dom nodes from tokens.

root(items)[source]

Build a full scm.Document.

list(items)[source]

Build a scm.List ().

vector(items)[source]

Build a scm.Vector #().

number(items)[source]

Create a Number node.

string(items)[source]

Create a String node.

multiline_comment(items)[source]

Create a MultilineComment node.

singleline_comment(items)[source]

Create a SinglelineComment node.

scheme(items)[source]

Create a Scheme node in LilyPond.

argument(items)[source]

One scheme object, from within LilyPond.

class SchemeAdHocTransform[source]

Bases: AdHocTransform, SchemeTransform

SchemeTransform that does not keep the origin tokens.