LilyPond-Ruby 0.0.2.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/etc/fonts/conf.d/10-hinting-slight.conf +15 -0
- data/etc/fonts/conf.d/10-scale-bitmap-fonts.conf +83 -0
- data/etc/fonts/conf.d/11-lcdfilter-default.conf +17 -0
- data/etc/fonts/conf.d/20-unhint-small-vera.conf +49 -0
- data/etc/fonts/conf.d/30-metric-aliases.conf +637 -0
- data/etc/fonts/conf.d/40-nonlatin.conf +332 -0
- data/etc/fonts/conf.d/45-generic.conf +136 -0
- data/etc/fonts/conf.d/45-latin.conf +301 -0
- data/etc/fonts/conf.d/48-spacing.conf +16 -0
- data/etc/fonts/conf.d/49-sansserif.conf +22 -0
- data/etc/fonts/conf.d/50-user.conf +16 -0
- data/etc/fonts/conf.d/51-local.conf +7 -0
- data/etc/fonts/conf.d/60-generic.conf +64 -0
- data/etc/fonts/conf.d/60-latin.conf +88 -0
- data/etc/fonts/conf.d/65-fonts-persian.conf +418 -0
- data/etc/fonts/conf.d/65-nonlatin.conf +228 -0
- data/etc/fonts/conf.d/69-unifont.conf +28 -0
- data/etc/fonts/conf.d/80-delicious.conf +19 -0
- data/etc/fonts/conf.d/90-synthetic.conf +64 -0
- data/etc/fonts/conf.d/README +23 -0
- data/etc/fonts/fonts.conf +101 -0
- data/etc/relocate/fontconfig.reloc +2 -0
- data/etc/relocate/guile.reloc +2 -0
- data/etc/relocate/libexec.reloc +1 -0
- data/lib/guile/2.2/ccache/ice-9/and-let-star.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/arrays.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/atomic.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/binary-ports.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/boot-9.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/buffered-input.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/calling.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/channel.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/command-line.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/common-list.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/control.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/curried-definitions.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/debug.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/deprecated.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/documentation.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/eval-string.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/eval.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/expect.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/fdes-finalizers.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/format.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/ftw.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/futures.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/gap-buffer.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/getopt-long.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/hash-table.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/hcons.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/history.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/i18n.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/iconv.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/lineio.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/list.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/local-eval.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/ls.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/mapping.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/match.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/networking.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/null.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/occam-channel.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/optargs.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/peg/cache.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/peg/codegen.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/peg/simplify-tree.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/peg/string-peg.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/peg/using-parsers.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/peg.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/poe.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/poll.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/popen.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/ports.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/posix.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/pretty-print.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/psyntax-pp.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/q.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/r5rs.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/rdelim.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/receive.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/regex.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/runq.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/rw.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/safe-r5rs.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/safe.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/sandbox.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/save-stack.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/scm-style-repl.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/serialize.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/session.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/slib.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/stack-catch.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/streams.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/string-fun.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/suspendable-ports.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/syncase.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/textual-ports.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/threads.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/time.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/top-repl.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/unicode.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/vlist.go +0 -0
- data/lib/guile/2.2/ccache/ice-9/weak-vector.go +0 -0
- data/lib/guile/2.2/ccache/language/brainfuck/compile-scheme.go +0 -0
- data/lib/guile/2.2/ccache/language/brainfuck/compile-tree-il.go +0 -0
- data/lib/guile/2.2/ccache/language/brainfuck/parse.go +0 -0
- data/lib/guile/2.2/ccache/language/brainfuck/spec.go +0 -0
- data/lib/guile/2.2/ccache/language/bytecode/spec.go +0 -0
- data/lib/guile/2.2/ccache/language/bytecode.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/closure-conversion.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/compile-bytecode.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/constructors.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/contification.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/cse.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/dce.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/effects-analysis.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/elide-values.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/handle-interrupts.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/intmap.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/intset.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/licm.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/optimize.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/peel-loops.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/primitives.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/prune-bailouts.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/prune-top-level-scopes.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/reify-primitives.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/renumber.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/rotate-loops.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/self-references.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/simplify.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/slot-allocation.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/spec.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/specialize-numbers.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/specialize-primcalls.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/split-rec.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/type-checks.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/type-fold.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/types.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/utils.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/verify.go +0 -0
- data/lib/guile/2.2/ccache/language/cps/with-cps.go +0 -0
- data/lib/guile/2.2/ccache/language/cps.go +0 -0
- data/lib/guile/2.2/ccache/language/ecmascript/array.go +0 -0
- data/lib/guile/2.2/ccache/language/ecmascript/base.go +0 -0
- data/lib/guile/2.2/ccache/language/ecmascript/compile-tree-il.go +0 -0
- data/lib/guile/2.2/ccache/language/ecmascript/function.go +0 -0
- data/lib/guile/2.2/ccache/language/ecmascript/impl.go +0 -0
- data/lib/guile/2.2/ccache/language/ecmascript/parse.go +0 -0
- data/lib/guile/2.2/ccache/language/ecmascript/spec.go +0 -0
- data/lib/guile/2.2/ccache/language/ecmascript/tokenize.go +0 -0
- data/lib/guile/2.2/ccache/language/elisp/bindings.go +0 -0
- data/lib/guile/2.2/ccache/language/elisp/boot.go +0 -0
- data/lib/guile/2.2/ccache/language/elisp/compile-tree-il.go +0 -0
- data/lib/guile/2.2/ccache/language/elisp/falias.go +0 -0
- data/lib/guile/2.2/ccache/language/elisp/lexer.go +0 -0
- data/lib/guile/2.2/ccache/language/elisp/parser.go +0 -0
- data/lib/guile/2.2/ccache/language/elisp/runtime/function-slot.go +0 -0
- data/lib/guile/2.2/ccache/language/elisp/runtime/value-slot.go +0 -0
- data/lib/guile/2.2/ccache/language/elisp/runtime.go +0 -0
- data/lib/guile/2.2/ccache/language/elisp/spec.go +0 -0
- data/lib/guile/2.2/ccache/language/scheme/compile-tree-il.go +0 -0
- data/lib/guile/2.2/ccache/language/scheme/decompile-tree-il.go +0 -0
- data/lib/guile/2.2/ccache/language/scheme/spec.go +0 -0
- data/lib/guile/2.2/ccache/language/tree-il/analyze.go +0 -0
- data/lib/guile/2.2/ccache/language/tree-il/canonicalize.go +0 -0
- data/lib/guile/2.2/ccache/language/tree-il/compile-cps.go +0 -0
- data/lib/guile/2.2/ccache/language/tree-il/debug.go +0 -0
- data/lib/guile/2.2/ccache/language/tree-il/effects.go +0 -0
- data/lib/guile/2.2/ccache/language/tree-il/fix-letrec.go +0 -0
- data/lib/guile/2.2/ccache/language/tree-il/optimize.go +0 -0
- data/lib/guile/2.2/ccache/language/tree-il/peval.go +0 -0
- data/lib/guile/2.2/ccache/language/tree-il/primitives.go +0 -0
- data/lib/guile/2.2/ccache/language/tree-il/spec.go +0 -0
- data/lib/guile/2.2/ccache/language/tree-il.go +0 -0
- data/lib/guile/2.2/ccache/language/value/spec.go +0 -0
- data/lib/guile/2.2/ccache/oop/goops/accessors.go +0 -0
- data/lib/guile/2.2/ccache/oop/goops/active-slot.go +0 -0
- data/lib/guile/2.2/ccache/oop/goops/composite-slot.go +0 -0
- data/lib/guile/2.2/ccache/oop/goops/describe.go +0 -0
- data/lib/guile/2.2/ccache/oop/goops/internal.go +0 -0
- data/lib/guile/2.2/ccache/oop/goops/save.go +0 -0
- data/lib/guile/2.2/ccache/oop/goops/simple.go +0 -0
- data/lib/guile/2.2/ccache/oop/goops/stklos.go +0 -0
- data/lib/guile/2.2/ccache/oop/goops.go +0 -0
- data/lib/guile/2.2/ccache/rnrs/arithmetic/bitwise.go +0 -0
- data/lib/guile/2.2/ccache/rnrs/arithmetic/fixnums.go +0 -0
- data/lib/guile/2.2/ccache/rnrs/arithmetic/flonums.go +0 -0
- data/lib/guile/2.2/ccache/rnrs/base.go +0 -0
- data/lib/guile/2.2/ccache/rnrs/bytevectors.go +0 -0
- data/lib/guile/2.2/ccache/rnrs/conditions.go +0 -0
- data/lib/guile/2.2/ccache/rnrs/control.go +0 -0
- data/lib/guile/2.2/ccache/rnrs/enums.go +0 -0
- data/lib/guile/2.2/ccache/rnrs/eval.go +0 -0
- data/lib/guile/2.2/ccache/rnrs/exceptions.go +0 -0
- data/lib/guile/2.2/ccache/rnrs/files.go +0 -0
- data/lib/guile/2.2/ccache/rnrs/hashtables.go +0 -0
- data/lib/guile/2.2/ccache/rnrs/io/ports.go +0 -0
- data/lib/guile/2.2/ccache/rnrs/io/simple.go +0 -0
- data/lib/guile/2.2/ccache/rnrs/lists.go +0 -0
- data/lib/guile/2.2/ccache/rnrs/mutable-pairs.go +0 -0
- data/lib/guile/2.2/ccache/rnrs/mutable-strings.go +0 -0
- data/lib/guile/2.2/ccache/rnrs/programs.go +0 -0
- data/lib/guile/2.2/ccache/rnrs/r5rs.go +0 -0
- data/lib/guile/2.2/ccache/rnrs/records/inspection.go +0 -0
- data/lib/guile/2.2/ccache/rnrs/records/procedural.go +0 -0
- data/lib/guile/2.2/ccache/rnrs/records/syntactic.go +0 -0
- data/lib/guile/2.2/ccache/rnrs/sorting.go +0 -0
- data/lib/guile/2.2/ccache/rnrs/syntax-case.go +0 -0
- data/lib/guile/2.2/ccache/rnrs/unicode.go +0 -0
- data/lib/guile/2.2/ccache/rnrs.go +0 -0
- data/lib/guile/2.2/ccache/scripts/api-diff.go +0 -0
- data/lib/guile/2.2/ccache/scripts/autofrisk.go +0 -0
- data/lib/guile/2.2/ccache/scripts/compile.go +0 -0
- data/lib/guile/2.2/ccache/scripts/disassemble.go +0 -0
- data/lib/guile/2.2/ccache/scripts/display-commentary.go +0 -0
- data/lib/guile/2.2/ccache/scripts/doc-snarf.go +0 -0
- data/lib/guile/2.2/ccache/scripts/frisk.go +0 -0
- data/lib/guile/2.2/ccache/scripts/generate-autoload.go +0 -0
- data/lib/guile/2.2/ccache/scripts/help.go +0 -0
- data/lib/guile/2.2/ccache/scripts/lint.go +0 -0
- data/lib/guile/2.2/ccache/scripts/list.go +0 -0
- data/lib/guile/2.2/ccache/scripts/punify.go +0 -0
- data/lib/guile/2.2/ccache/scripts/read-rfc822.go +0 -0
- data/lib/guile/2.2/ccache/scripts/read-scheme-source.go +0 -0
- data/lib/guile/2.2/ccache/scripts/read-text-outline.go +0 -0
- data/lib/guile/2.2/ccache/scripts/scan-api.go +0 -0
- data/lib/guile/2.2/ccache/scripts/snarf-check-and-output-texi.go +0 -0
- data/lib/guile/2.2/ccache/scripts/snarf-guile-m4-docs.go +0 -0
- data/lib/guile/2.2/ccache/scripts/summarize-guile-TODO.go +0 -0
- data/lib/guile/2.2/ccache/scripts/use2dot.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-1.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-10.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-11.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-111.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-13.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-14.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-16.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-17.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-18.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-19.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-2.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-26.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-27.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-28.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-31.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-34.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-35.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-37.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-38.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-39.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-4/gnu.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-4.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-41.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-42.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-43.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-45.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-6.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-60.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-64.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-67.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-69.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-71.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-8.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-88.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-9/gnu.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-9.go +0 -0
- data/lib/guile/2.2/ccache/srfi/srfi-98.go +0 -0
- data/lib/guile/2.2/ccache/statprof.go +0 -0
- data/lib/guile/2.2/ccache/sxml/apply-templates.go +0 -0
- data/lib/guile/2.2/ccache/sxml/fold.go +0 -0
- data/lib/guile/2.2/ccache/sxml/match.go +0 -0
- data/lib/guile/2.2/ccache/sxml/simple.go +0 -0
- data/lib/guile/2.2/ccache/sxml/ssax/input-parse.go +0 -0
- data/lib/guile/2.2/ccache/sxml/ssax.go +0 -0
- data/lib/guile/2.2/ccache/sxml/transform.go +0 -0
- data/lib/guile/2.2/ccache/sxml/xpath.go +0 -0
- data/lib/guile/2.2/ccache/system/base/ck.go +0 -0
- data/lib/guile/2.2/ccache/system/base/compile.go +0 -0
- data/lib/guile/2.2/ccache/system/base/lalr.go +0 -0
- data/lib/guile/2.2/ccache/system/base/language.go +0 -0
- data/lib/guile/2.2/ccache/system/base/message.go +0 -0
- data/lib/guile/2.2/ccache/system/base/pmatch.go +0 -0
- data/lib/guile/2.2/ccache/system/base/syntax.go +0 -0
- data/lib/guile/2.2/ccache/system/base/target.go +0 -0
- data/lib/guile/2.2/ccache/system/base/types.go +0 -0
- data/lib/guile/2.2/ccache/system/foreign-object.go +0 -0
- data/lib/guile/2.2/ccache/system/foreign.go +0 -0
- data/lib/guile/2.2/ccache/system/repl/command.go +0 -0
- data/lib/guile/2.2/ccache/system/repl/common.go +0 -0
- data/lib/guile/2.2/ccache/system/repl/coop-server.go +0 -0
- data/lib/guile/2.2/ccache/system/repl/debug.go +0 -0
- data/lib/guile/2.2/ccache/system/repl/error-handling.go +0 -0
- data/lib/guile/2.2/ccache/system/repl/repl.go +0 -0
- data/lib/guile/2.2/ccache/system/repl/server.go +0 -0
- data/lib/guile/2.2/ccache/system/syntax.go +0 -0
- data/lib/guile/2.2/ccache/system/vm/assembler.go +0 -0
- data/lib/guile/2.2/ccache/system/vm/coverage.go +0 -0
- data/lib/guile/2.2/ccache/system/vm/debug.go +0 -0
- data/lib/guile/2.2/ccache/system/vm/disassembler.go +0 -0
- data/lib/guile/2.2/ccache/system/vm/dwarf.go +0 -0
- data/lib/guile/2.2/ccache/system/vm/elf.go +0 -0
- data/lib/guile/2.2/ccache/system/vm/frame.go +0 -0
- data/lib/guile/2.2/ccache/system/vm/inspect.go +0 -0
- data/lib/guile/2.2/ccache/system/vm/linker.go +0 -0
- data/lib/guile/2.2/ccache/system/vm/loader.go +0 -0
- data/lib/guile/2.2/ccache/system/vm/program.go +0 -0
- data/lib/guile/2.2/ccache/system/vm/trace.go +0 -0
- data/lib/guile/2.2/ccache/system/vm/trap-state.go +0 -0
- data/lib/guile/2.2/ccache/system/vm/traps.go +0 -0
- data/lib/guile/2.2/ccache/system/vm/vm.go +0 -0
- data/lib/guile/2.2/ccache/system/xref.go +0 -0
- data/lib/guile/2.2/ccache/texinfo/docbook.go +0 -0
- data/lib/guile/2.2/ccache/texinfo/html.go +0 -0
- data/lib/guile/2.2/ccache/texinfo/indexing.go +0 -0
- data/lib/guile/2.2/ccache/texinfo/plain-text.go +0 -0
- data/lib/guile/2.2/ccache/texinfo/reflection.go +0 -0
- data/lib/guile/2.2/ccache/texinfo/serialize.go +0 -0
- data/lib/guile/2.2/ccache/texinfo/string-utils.go +0 -0
- data/lib/guile/2.2/ccache/texinfo.go +0 -0
- data/lib/guile/2.2/ccache/web/client.go +0 -0
- data/lib/guile/2.2/ccache/web/http.go +0 -0
- data/lib/guile/2.2/ccache/web/request.go +0 -0
- data/lib/guile/2.2/ccache/web/response.go +0 -0
- data/lib/guile/2.2/ccache/web/server/http.go +0 -0
- data/lib/guile/2.2/ccache/web/server.go +0 -0
- data/lib/guile/2.2/ccache/web/uri.go +0 -0
- data/lib/guile.rb +19 -0
- data/lib/lilypond/2.24.1/ccache/lily/accreg.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/auto-beam.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/autochange.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/backend-library.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/bar-line.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/breath.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/c++.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/chord-entry.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/chord-ignatzek-names.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/chord-name.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/clip-region.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/color.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/curried-definitions.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/define-context-properties.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/define-event-classes.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/define-grob-interfaces.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/define-grob-properties.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/define-grobs.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/define-markup-commands.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/define-music-callbacks.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/define-music-display-methods.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/define-music-properties.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/define-music-types.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/define-note-names.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/define-stencil-commands.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/define-woodwind-diagrams.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/display-lily.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/display-woodwind-diagrams.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/file-cache.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/flag-styles.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/font-encodings.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/font.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/framework-cairo.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/framework-ps.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/framework-svg.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/fret-diagrams.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/graphviz.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/harp-pedals.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/layout-beam.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/layout-slur.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/lily-library.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/lily.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/ly-syntax-constructors.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/markup-macros.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/markup.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/midi.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/modal-transforms.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/music-functions.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/output-lib.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/output-ps.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/output-svg.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/page.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/paper-system.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/paper.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/parser-clef.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/parser-ly-from-scheme.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/part-combiner.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/predefined-fretboards.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/ps-to-png.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/scheme-engravers.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/scheme-performers.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/script.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/skyline.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/song-util.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/song.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/stencil.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/tablature.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/time-signature-settings.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/time-signature.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/titling.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/to-xml.go +0 -0
- data/lib/lilypond/2.24.1/ccache/lily/translation-functions.go +0 -0
- data/lib/lilypond/builder.rb +161 -0
- data/lib/lilypond-ruby.rb +18 -3
- data/share/emacs/site-lisp/lilypond-font-lock.el +208 -0
- data/share/emacs/site-lisp/lilypond-indent.el +605 -0
- data/share/emacs/site-lisp/lilypond-init.el +21 -0
- data/share/emacs/site-lisp/lilypond-mode.el +1204 -0
- data/share/emacs/site-lisp/lilypond-song.el +556 -0
- data/share/emacs/site-lisp/lilypond-what-beat.el +279 -0
- data/share/emacs/site-lisp/lilypond-words.el +1428 -0
- data/share/guile/2.2/guile-procedures.txt +8860 -0
- data/share/guile/2.2/ice-9/and-let-star.scm +73 -0
- data/share/guile/2.2/ice-9/arrays.scm +70 -0
- data/share/guile/2.2/ice-9/atomic.scm +38 -0
- data/share/guile/2.2/ice-9/binary-ports.scm +53 -0
- data/share/guile/2.2/ice-9/boot-9.scm +4131 -0
- data/share/guile/2.2/ice-9/buffered-input.scm +109 -0
- data/share/guile/2.2/ice-9/calling.scm +326 -0
- data/share/guile/2.2/ice-9/channel.scm +170 -0
- data/share/guile/2.2/ice-9/command-line.scm +477 -0
- data/share/guile/2.2/ice-9/common-list.scm +278 -0
- data/share/guile/2.2/ice-9/control.scm +110 -0
- data/share/guile/2.2/ice-9/curried-definitions.scm +57 -0
- data/share/guile/2.2/ice-9/debug.scm +25 -0
- data/share/guile/2.2/ice-9/deprecated.scm +93 -0
- data/share/guile/2.2/ice-9/documentation.scm +203 -0
- data/share/guile/2.2/ice-9/eval-string.scm +90 -0
- data/share/guile/2.2/ice-9/eval.scm +723 -0
- data/share/guile/2.2/ice-9/expect.scm +171 -0
- data/share/guile/2.2/ice-9/fdes-finalizers.scm +25 -0
- data/share/guile/2.2/ice-9/format.scm +1626 -0
- data/share/guile/2.2/ice-9/ftw.scm +564 -0
- data/share/guile/2.2/ice-9/futures.scm +308 -0
- data/share/guile/2.2/ice-9/gap-buffer.scm +283 -0
- data/share/guile/2.2/ice-9/getopt-long.scm +371 -0
- data/share/guile/2.2/ice-9/hash-table.scm +45 -0
- data/share/guile/2.2/ice-9/hcons.scm +80 -0
- data/share/guile/2.2/ice-9/history.scm +65 -0
- data/share/guile/2.2/ice-9/i18n.scm +531 -0
- data/share/guile/2.2/ice-9/iconv.scm +95 -0
- data/share/guile/2.2/ice-9/lineio.scm +115 -0
- data/share/guile/2.2/ice-9/list.scm +36 -0
- data/share/guile/2.2/ice-9/local-eval.scm +261 -0
- data/share/guile/2.2/ice-9/ls.scm +94 -0
- data/share/guile/2.2/ice-9/mapping.scm +118 -0
- data/share/guile/2.2/ice-9/match.scm +59 -0
- data/share/guile/2.2/ice-9/match.upstream.scm +917 -0
- data/share/guile/2.2/ice-9/networking.scm +94 -0
- data/share/guile/2.2/ice-9/null.scm +34 -0
- data/share/guile/2.2/ice-9/occam-channel.scm +261 -0
- data/share/guile/2.2/ice-9/optargs.scm +381 -0
- data/share/guile/2.2/ice-9/peg/cache.scm +45 -0
- data/share/guile/2.2/ice-9/peg/codegen.scm +359 -0
- data/share/guile/2.2/ice-9/peg/simplify-tree.scm +97 -0
- data/share/guile/2.2/ice-9/peg/string-peg.scm +273 -0
- data/share/guile/2.2/ice-9/peg/using-parsers.scm +116 -0
- data/share/guile/2.2/ice-9/peg.scm +42 -0
- data/share/guile/2.2/ice-9/poe.scm +116 -0
- data/share/guile/2.2/ice-9/poll.scm +172 -0
- data/share/guile/2.2/ice-9/popen.scm +178 -0
- data/share/guile/2.2/ice-9/ports.scm +566 -0
- data/share/guile/2.2/ice-9/posix.scm +75 -0
- data/share/guile/2.2/ice-9/pretty-print.scm +483 -0
- data/share/guile/2.2/ice-9/psyntax-pp.scm +3542 -0
- data/share/guile/2.2/ice-9/psyntax.scm +3326 -0
- data/share/guile/2.2/ice-9/q.scm +153 -0
- data/share/guile/2.2/ice-9/quasisyntax.scm +136 -0
- data/share/guile/2.2/ice-9/r5rs.scm +45 -0
- data/share/guile/2.2/ice-9/r6rs-libraries.scm +242 -0
- data/share/guile/2.2/ice-9/rdelim.scm +208 -0
- data/share/guile/2.2/ice-9/receive.scm +26 -0
- data/share/guile/2.2/ice-9/regex.scm +229 -0
- data/share/guile/2.2/ice-9/runq.scm +241 -0
- data/share/guile/2.2/ice-9/rw.scm +27 -0
- data/share/guile/2.2/ice-9/safe-r5rs.scm +145 -0
- data/share/guile/2.2/ice-9/safe.scm +34 -0
- data/share/guile/2.2/ice-9/sandbox.scm +1399 -0
- data/share/guile/2.2/ice-9/save-stack.scm +58 -0
- data/share/guile/2.2/ice-9/scm-style-repl.scm +279 -0
- data/share/guile/2.2/ice-9/serialize.scm +114 -0
- data/share/guile/2.2/ice-9/session.scm +530 -0
- data/share/guile/2.2/ice-9/slib.scm +33 -0
- data/share/guile/2.2/ice-9/stack-catch.scm +47 -0
- data/share/guile/2.2/ice-9/streams.scm +168 -0
- data/share/guile/2.2/ice-9/string-fun.scm +280 -0
- data/share/guile/2.2/ice-9/suspendable-ports.scm +788 -0
- data/share/guile/2.2/ice-9/syncase.scm +37 -0
- data/share/guile/2.2/ice-9/textual-ports.scm +70 -0
- data/share/guile/2.2/ice-9/threads.scm +392 -0
- data/share/guile/2.2/ice-9/time.scm +58 -0
- data/share/guile/2.2/ice-9/top-repl.scm +78 -0
- data/share/guile/2.2/ice-9/unicode.scm +26 -0
- data/share/guile/2.2/ice-9/vlist.scm +595 -0
- data/share/guile/2.2/ice-9/weak-vector.scm +31 -0
- data/share/guile/2.2/language/brainfuck/compile-scheme.scm +123 -0
- data/share/guile/2.2/language/brainfuck/compile-tree-il.scm +184 -0
- data/share/guile/2.2/language/brainfuck/parse.scm +95 -0
- data/share/guile/2.2/language/brainfuck/spec.scm +43 -0
- data/share/guile/2.2/language/bytecode/spec.scm +42 -0
- data/share/guile/2.2/language/bytecode.scm +104 -0
- data/share/guile/2.2/language/cps/closure-conversion.scm +848 -0
- data/share/guile/2.2/language/cps/compile-bytecode.scm +610 -0
- data/share/guile/2.2/language/cps/constructors.scm +106 -0
- data/share/guile/2.2/language/cps/contification.scm +448 -0
- data/share/guile/2.2/language/cps/cse.scm +414 -0
- data/share/guile/2.2/language/cps/dce.scm +363 -0
- data/share/guile/2.2/language/cps/effects-analysis.scm +597 -0
- data/share/guile/2.2/language/cps/elide-values.scm +88 -0
- data/share/guile/2.2/language/cps/handle-interrupts.scm +69 -0
- data/share/guile/2.2/language/cps/intmap.scm +765 -0
- data/share/guile/2.2/language/cps/intset.scm +830 -0
- data/share/guile/2.2/language/cps/licm.scm +308 -0
- data/share/guile/2.2/language/cps/optimize.scm +135 -0
- data/share/guile/2.2/language/cps/peel-loops.scm +287 -0
- data/share/guile/2.2/language/cps/primitives.scm +141 -0
- data/share/guile/2.2/language/cps/prune-bailouts.scm +86 -0
- data/share/guile/2.2/language/cps/prune-top-level-scopes.scm +63 -0
- data/share/guile/2.2/language/cps/reify-primitives.scm +179 -0
- data/share/guile/2.2/language/cps/renumber.scm +217 -0
- data/share/guile/2.2/language/cps/rotate-loops.scm +239 -0
- data/share/guile/2.2/language/cps/self-references.scm +79 -0
- data/share/guile/2.2/language/cps/simplify.scm +274 -0
- data/share/guile/2.2/language/cps/slot-allocation.scm +1058 -0
- data/share/guile/2.2/language/cps/spec.scm +51 -0
- data/share/guile/2.2/language/cps/specialize-numbers.scm +724 -0
- data/share/guile/2.2/language/cps/specialize-primcalls.scm +87 -0
- data/share/guile/2.2/language/cps/split-rec.scm +174 -0
- data/share/guile/2.2/language/cps/type-checks.scm +72 -0
- data/share/guile/2.2/language/cps/type-fold.scm +455 -0
- data/share/guile/2.2/language/cps/types.scm +1826 -0
- data/share/guile/2.2/language/cps/utils.scm +550 -0
- data/share/guile/2.2/language/cps/verify.scm +304 -0
- data/share/guile/2.2/language/cps/with-cps.scm +145 -0
- data/share/guile/2.2/language/cps.scm +358 -0
- data/share/guile/2.2/language/ecmascript/array.scm +121 -0
- data/share/guile/2.2/language/ecmascript/base.scm +251 -0
- data/share/guile/2.2/language/ecmascript/compile-tree-il.scm +576 -0
- data/share/guile/2.2/language/ecmascript/function.scm +78 -0
- data/share/guile/2.2/language/ecmascript/impl.scm +169 -0
- data/share/guile/2.2/language/ecmascript/parse.scm +352 -0
- data/share/guile/2.2/language/ecmascript/spec.scm +37 -0
- data/share/guile/2.2/language/ecmascript/tokenize.scm +513 -0
- data/share/guile/2.2/language/elisp/bindings.scm +107 -0
- data/share/guile/2.2/language/elisp/boot.el +617 -0
- data/share/guile/2.2/language/elisp/compile-tree-il.scm +812 -0
- data/share/guile/2.2/language/elisp/falias.scm +47 -0
- data/share/guile/2.2/language/elisp/lexer.scm +430 -0
- data/share/guile/2.2/language/elisp/parser.scm +222 -0
- data/share/guile/2.2/language/elisp/runtime/function-slot.scm +63 -0
- data/share/guile/2.2/language/elisp/runtime/value-slot.scm +24 -0
- data/share/guile/2.2/language/elisp/runtime.scm +153 -0
- data/share/guile/2.2/language/elisp/spec.scm +43 -0
- data/share/guile/2.2/language/scheme/compile-tree-il.scm +33 -0
- data/share/guile/2.2/language/scheme/decompile-tree-il.scm +796 -0
- data/share/guile/2.2/language/scheme/spec.scm +63 -0
- data/share/guile/2.2/language/tree-il/analyze.scm +1568 -0
- data/share/guile/2.2/language/tree-il/canonicalize.scm +82 -0
- data/share/guile/2.2/language/tree-il/compile-cps.scm +1149 -0
- data/share/guile/2.2/language/tree-il/debug.scm +246 -0
- data/share/guile/2.2/language/tree-il/effects.scm +591 -0
- data/share/guile/2.2/language/tree-il/fix-letrec.scm +314 -0
- data/share/guile/2.2/language/tree-il/optimize.scm +43 -0
- data/share/guile/2.2/language/tree-il/peval.scm +1669 -0
- data/share/guile/2.2/language/tree-il/primitives.scm +630 -0
- data/share/guile/2.2/language/tree-il/spec.scm +46 -0
- data/share/guile/2.2/language/tree-il.scm +630 -0
- data/share/guile/2.2/language/value/spec.scm +30 -0
- data/share/guile/2.2/oop/goops/accessors.scm +72 -0
- data/share/guile/2.2/oop/goops/active-slot.scm +63 -0
- data/share/guile/2.2/oop/goops/composite-slot.scm +83 -0
- data/share/guile/2.2/oop/goops/describe.scm +189 -0
- data/share/guile/2.2/oop/goops/internal.scm +30 -0
- data/share/guile/2.2/oop/goops/save.scm +874 -0
- data/share/guile/2.2/oop/goops/simple.scm +30 -0
- data/share/guile/2.2/oop/goops/stklos.scm +74 -0
- data/share/guile/2.2/oop/goops.scm +3176 -0
- data/share/guile/2.2/rnrs/arithmetic/bitwise.scm +92 -0
- data/share/guile/2.2/rnrs/arithmetic/fixnums.scm +291 -0
- data/share/guile/2.2/rnrs/arithmetic/flonums.scm +203 -0
- data/share/guile/2.2/rnrs/base.scm +291 -0
- data/share/guile/2.2/rnrs/bytevectors.scm +83 -0
- data/share/guile/2.2/rnrs/conditions.scm +225 -0
- data/share/guile/2.2/rnrs/control.scm +22 -0
- data/share/guile/2.2/rnrs/enums.scm +152 -0
- data/share/guile/2.2/rnrs/eval.scm +39 -0
- data/share/guile/2.2/rnrs/exceptions.scm +276 -0
- data/share/guile/2.2/rnrs/files.scm +96 -0
- data/share/guile/2.2/rnrs/hashtables.scm +190 -0
- data/share/guile/2.2/rnrs/io/ports.scm +554 -0
- data/share/guile/2.2/rnrs/io/simple.scm +167 -0
- data/share/guile/2.2/rnrs/lists.scm +55 -0
- data/share/guile/2.2/rnrs/mutable-pairs.scm +23 -0
- data/share/guile/2.2/rnrs/mutable-strings.scm +23 -0
- data/share/guile/2.2/rnrs/programs.scm +22 -0
- data/share/guile/2.2/rnrs/r5rs.scm +34 -0
- data/share/guile/2.2/rnrs/records/inspection.scm +81 -0
- data/share/guile/2.2/rnrs/records/procedural.scm +289 -0
- data/share/guile/2.2/rnrs/records/syntactic.scm +248 -0
- data/share/guile/2.2/rnrs/sorting.scm +27 -0
- data/share/guile/2.2/rnrs/syntax-case.scm +68 -0
- data/share/guile/2.2/rnrs/unicode.scm +104 -0
- data/share/guile/2.2/rnrs.scm +289 -0
- data/share/guile/2.2/scripts/api-diff.scm +179 -0
- data/share/guile/2.2/scripts/autofrisk.scm +218 -0
- data/share/guile/2.2/scripts/compile.scm +273 -0
- data/share/guile/2.2/scripts/disassemble.scm +38 -0
- data/share/guile/2.2/scripts/display-commentary.scm +67 -0
- data/share/guile/2.2/scripts/doc-snarf.scm +439 -0
- data/share/guile/2.2/scripts/frisk.scm +290 -0
- data/share/guile/2.2/scripts/generate-autoload.scm +144 -0
- data/share/guile/2.2/scripts/help.scm +188 -0
- data/share/guile/2.2/scripts/lint.scm +318 -0
- data/share/guile/2.2/scripts/list.scm +91 -0
- data/share/guile/2.2/scripts/punify.scm +87 -0
- data/share/guile/2.2/scripts/read-rfc822.scm +131 -0
- data/share/guile/2.2/scripts/read-scheme-source.scm +282 -0
- data/share/guile/2.2/scripts/read-text-outline.scm +253 -0
- data/share/guile/2.2/scripts/scan-api.scm +223 -0
- data/share/guile/2.2/scripts/snarf-check-and-output-texi.scm +303 -0
- data/share/guile/2.2/scripts/snarf-guile-m4-docs.scm +86 -0
- data/share/guile/2.2/scripts/summarize-guile-TODO.scm +213 -0
- data/share/guile/2.2/scripts/use2dot.scm +110 -0
- data/share/guile/2.2/srfi/srfi-1.scm +1061 -0
- data/share/guile/2.2/srfi/srfi-10.scm +89 -0
- data/share/guile/2.2/srfi/srfi-11.scm +146 -0
- data/share/guile/2.2/srfi/srfi-111.scm +37 -0
- data/share/guile/2.2/srfi/srfi-13.scm +132 -0
- data/share/guile/2.2/srfi/srfi-14.scm +99 -0
- data/share/guile/2.2/srfi/srfi-16.scm +51 -0
- data/share/guile/2.2/srfi/srfi-17.scm +174 -0
- data/share/guile/2.2/srfi/srfi-18.scm +382 -0
- data/share/guile/2.2/srfi/srfi-19.scm +1470 -0
- data/share/guile/2.2/srfi/srfi-2.scm +31 -0
- data/share/guile/2.2/srfi/srfi-26.scm +66 -0
- data/share/guile/2.2/srfi/srfi-27.scm +96 -0
- data/share/guile/2.2/srfi/srfi-28.scm +34 -0
- data/share/guile/2.2/srfi/srfi-31.scm +35 -0
- data/share/guile/2.2/srfi/srfi-34.scm +84 -0
- data/share/guile/2.2/srfi/srfi-35.scm +351 -0
- data/share/guile/2.2/srfi/srfi-37.scm +234 -0
- data/share/guile/2.2/srfi/srfi-38.scm +207 -0
- data/share/guile/2.2/srfi/srfi-39.scm +55 -0
- data/share/guile/2.2/srfi/srfi-4/gnu.scm +80 -0
- data/share/guile/2.2/srfi/srfi-4.scm +118 -0
- data/share/guile/2.2/srfi/srfi-41.scm +505 -0
- data/share/guile/2.2/srfi/srfi-42/ec.scm +1053 -0
- data/share/guile/2.2/srfi/srfi-42.scm +66 -0
- data/share/guile/2.2/srfi/srfi-43.scm +1077 -0
- data/share/guile/2.2/srfi/srfi-45.scm +93 -0
- data/share/guile/2.2/srfi/srfi-6.scm +29 -0
- data/share/guile/2.2/srfi/srfi-60.scm +73 -0
- data/share/guile/2.2/srfi/srfi-64/testing.scm +1040 -0
- data/share/guile/2.2/srfi/srfi-64.scm +55 -0
- data/share/guile/2.2/srfi/srfi-67/compare.scm +686 -0
- data/share/guile/2.2/srfi/srfi-67.scm +88 -0
- data/share/guile/2.2/srfi/srfi-69.scm +336 -0
- data/share/guile/2.2/srfi/srfi-71.scm +267 -0
- data/share/guile/2.2/srfi/srfi-8.scm +31 -0
- data/share/guile/2.2/srfi/srfi-88.scm +53 -0
- data/share/guile/2.2/srfi/srfi-9/gnu.scm +168 -0
- data/share/guile/2.2/srfi/srfi-9.scm +351 -0
- data/share/guile/2.2/srfi/srfi-98.scm +44 -0
- data/share/guile/2.2/statprof.scm +988 -0
- data/share/guile/2.2/sxml/apply-templates.scm +102 -0
- data/share/guile/2.2/sxml/fold.scm +250 -0
- data/share/guile/2.2/sxml/match.scm +75 -0
- data/share/guile/2.2/sxml/simple.scm +408 -0
- data/share/guile/2.2/sxml/ssax/input-parse.scm +180 -0
- data/share/guile/2.2/sxml/ssax.scm +265 -0
- data/share/guile/2.2/sxml/sxml-match.ss +1181 -0
- data/share/guile/2.2/sxml/transform.scm +298 -0
- data/share/guile/2.2/sxml/upstream/SSAX.scm +3235 -0
- data/share/guile/2.2/sxml/upstream/SXML-tree-trans.scm +249 -0
- data/share/guile/2.2/sxml/upstream/SXPath-old.scm +1216 -0
- data/share/guile/2.2/sxml/upstream/assert.scm +35 -0
- data/share/guile/2.2/sxml/upstream/input-parse.scm +326 -0
- data/share/guile/2.2/sxml/xpath.scm +493 -0
- data/share/guile/2.2/system/base/ck.scm +55 -0
- data/share/guile/2.2/system/base/compile.scm +282 -0
- data/share/guile/2.2/system/base/lalr.scm +51 -0
- data/share/guile/2.2/system/base/lalr.upstream.scm +2096 -0
- data/share/guile/2.2/system/base/language.scm +119 -0
- data/share/guile/2.2/system/base/message.scm +238 -0
- data/share/guile/2.2/system/base/pmatch.scm +68 -0
- data/share/guile/2.2/system/base/syntax.scm +299 -0
- data/share/guile/2.2/system/base/target.scm +152 -0
- data/share/guile/2.2/system/base/types.scm +561 -0
- data/share/guile/2.2/system/foreign-object.scm +91 -0
- data/share/guile/2.2/system/foreign.scm +200 -0
- data/share/guile/2.2/system/repl/command.scm +946 -0
- data/share/guile/2.2/system/repl/common.scm +263 -0
- data/share/guile/2.2/system/repl/coop-server.scm +200 -0
- data/share/guile/2.2/system/repl/debug.scm +210 -0
- data/share/guile/2.2/system/repl/describe.scm +347 -0
- data/share/guile/2.2/system/repl/error-handling.scm +183 -0
- data/share/guile/2.2/system/repl/repl.scm +233 -0
- data/share/guile/2.2/system/repl/server.scm +332 -0
- data/share/guile/2.2/system/syntax.scm +33 -0
- data/share/guile/2.2/system/vm/assembler.scm +2614 -0
- data/share/guile/2.2/system/vm/coverage.scm +351 -0
- data/share/guile/2.2/system/vm/debug.scm +766 -0
- data/share/guile/2.2/system/vm/disassembler.scm +658 -0
- data/share/guile/2.2/system/vm/dwarf.scm +1852 -0
- data/share/guile/2.2/system/vm/elf.scm +1042 -0
- data/share/guile/2.2/system/vm/frame.scm +485 -0
- data/share/guile/2.2/system/vm/inspect.scm +188 -0
- data/share/guile/2.2/system/vm/linker.scm +732 -0
- data/share/guile/2.2/system/vm/loader.scm +27 -0
- data/share/guile/2.2/system/vm/program.scm +312 -0
- data/share/guile/2.2/system/vm/trace.scm +121 -0
- data/share/guile/2.2/system/vm/trap-state.scm +302 -0
- data/share/guile/2.2/system/vm/traps.scm +608 -0
- data/share/guile/2.2/system/vm/vm.scm +32 -0
- data/share/guile/2.2/system/xref.scm +369 -0
- data/share/guile/2.2/texinfo/docbook.scm +240 -0
- data/share/guile/2.2/texinfo/html.scm +279 -0
- data/share/guile/2.2/texinfo/indexing.scm +75 -0
- data/share/guile/2.2/texinfo/plain-text.scm +322 -0
- data/share/guile/2.2/texinfo/reflection.scm +585 -0
- data/share/guile/2.2/texinfo/serialize.scm +300 -0
- data/share/guile/2.2/texinfo/string-utils.scm +410 -0
- data/share/guile/2.2/texinfo.scm +1263 -0
- data/share/guile/2.2/web/client.scm +513 -0
- data/share/guile/2.2/web/http.scm +2043 -0
- data/share/guile/2.2/web/request.scm +326 -0
- data/share/guile/2.2/web/response.scm +379 -0
- data/share/guile/2.2/web/server/http.scm +183 -0
- data/share/guile/2.2/web/server.scm +397 -0
- data/share/guile/2.2/web/uri.scm +552 -0
- data/share/lilypond/2.24.1/fontconfig/0bd3dc0958fa2205aaaa8ebb13e2872b-le64.cache-8 +0 -0
- data/share/lilypond/2.24.1/fontconfig/188ac73a183f12857f63bb60a4a6d603-le64.cache-8 +0 -0
- data/share/lilypond/2.24.1/fontconfig/32b6488e5b8292a2e95c79d947e009e8-le64.cache-8 +0 -0
- data/share/lilypond/2.24.1/fontconfig/3830d5c3ddfd5cd38a049b759396e72e-le64.cache-8 +0 -0
- data/share/lilypond/2.24.1/fontconfig/3f7329c5293ffd510edef78f73874cfd-le64.cache-8 +0 -0
- data/share/lilypond/2.24.1/fontconfig/4c599c202bc5c08e2d34565a40eac3b2-le64.cache-8 +0 -0
- data/share/lilypond/2.24.1/fontconfig/57e423e26b20ab21d0f2f29c145174c3-le64.cache-8 +0 -0
- data/share/lilypond/2.24.1/fontconfig/7ef2298fde41cc6eeb7af42e48b7d293-le64.cache-8 +0 -0
- data/share/lilypond/2.24.1/fontconfig/826f6b6ef79022e2eac8af26bf4b62f2-le64.cache-8 +0 -0
- data/share/lilypond/2.24.1/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-le64.cache-8 +0 -0
- data/share/lilypond/2.24.1/fontconfig/95530828ff6c81d309f8258d8d02a23e-le64.cache-8 +0 -0
- data/share/lilypond/2.24.1/fontconfig/CACHEDIR.TAG +4 -0
- data/share/lilypond/2.24.1/fontconfig/bf3b770c553c462765856025a94f1ce6-le64.cache-8 +0 -0
- data/share/lilypond/2.24.1/fontconfig/c855463f699352c367813e37f3f70ea7-le64.cache-8 +0 -0
- data/share/lilypond/2.24.1/fontconfig/d3e5c4ee2ceb1fc347f91d4cefc53bc0-le64.cache-8 +0 -0
- data/share/lilypond/2.24.1/fontconfig/d589a48862398ed80a3d6066f4f56f4c-le64.cache-8 +0 -0
- data/share/lilypond/2.24.1/fontconfig/d82eb4fd963d448e2fcb7d7b793b5df3-le64.cache-8 +0 -0
- data/share/lilypond/2.24.1/fontconfig/e13b20fdb08344e0e664864cc2ede53d-le64.cache-8 +0 -0
- data/share/lilypond/2.24.1/fontconfig/e52a45a1c8c8fe895fc0fc8c4e6999b8-le64.cache-8 +0 -0
- data/share/lilypond/2.24.1/fontconfig/f1f2465696798768e9653f19e17ccdc8-le64.cache-8 +0 -0
- data/share/lilypond/2.24.1/fonts/00-lilypond-fonts.conf +99 -0
- data/share/lilypond/2.24.1/fonts/99-lilypond-fonts.conf +28 -0
- data/share/lilypond/2.24.1/fonts/otf/C059-BdIta.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/C059-Bold.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/C059-Italic.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/C059-Roman.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/NimbusMonoPS-Bold.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/NimbusMonoPS-BoldItalic.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/NimbusMonoPS-Italic.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/NimbusMonoPS-Regular.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/NimbusSans-Bold.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/NimbusSans-BoldItalic.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/NimbusSans-Italic.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/NimbusSans-Regular.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/emmentaler-11.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/emmentaler-13.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/emmentaler-14.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/emmentaler-16.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/emmentaler-18.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/emmentaler-20.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/emmentaler-23.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/emmentaler-26.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/emmentaler-brace.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/texgyrecursor-bold.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/texgyrecursor-bolditalic.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/texgyrecursor-italic.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/texgyrecursor-regular.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/texgyreheros-bold.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/texgyreheros-bolditalic.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/texgyreheros-italic.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/texgyreheros-regular.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/texgyreschola-bold.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/texgyreschola-bolditalic.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/texgyreschola-italic.otf +0 -0
- data/share/lilypond/2.24.1/fonts/otf/texgyreschola-regular.otf +0 -0
- data/share/lilypond/2.24.1/fonts/source/common-modules-and-initialization.mf +26 -0
- data/share/lilypond/2.24.1/fonts/source/debugging-settings.mf +14 -0
- data/share/lilypond/2.24.1/fonts/source/declare-autometric-parameters.mf +9 -0
- data/share/lilypond/2.24.1/fonts/source/feta-accidentals.mf +58 -0
- data/share/lilypond/2.24.1/fonts/source/feta-accordion.mf +575 -0
- data/share/lilypond/2.24.1/fonts/source/feta-alphabet-generic.mf +16 -0
- data/share/lilypond/2.24.1/fonts/source/feta-alphabet11.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-alphabet13.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-alphabet14.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-alphabet16.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-alphabet18.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-alphabet20.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-alphabet23.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-alphabet26.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-arrow.mf +114 -0
- data/share/lilypond/2.24.1/fonts/source/feta-arrowheads.mf +171 -0
- data/share/lilypond/2.24.1/fonts/source/feta-autometric.mf +303 -0
- data/share/lilypond/2.24.1/fonts/source/feta-braces-a.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-braces-b.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-braces-c.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-braces-d.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-braces-e.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-braces-f.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-braces-g.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-braces-generic.mf +47 -0
- data/share/lilypond/2.24.1/fonts/source/feta-braces-h.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-braces-i.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-braces.mf +125 -0
- data/share/lilypond/2.24.1/fonts/source/feta-brackettips.mf +100 -0
- data/share/lilypond/2.24.1/fonts/source/feta-clefs.mf +963 -0
- data/share/lilypond/2.24.1/fonts/source/feta-dots.mf +37 -0
- data/share/lilypond/2.24.1/fonts/source/feta-dynamics.mf +891 -0
- data/share/lilypond/2.24.1/fonts/source/feta-flags-generic.mf +17 -0
- data/share/lilypond/2.24.1/fonts/source/feta-flags.mf +926 -0
- data/share/lilypond/2.24.1/fonts/source/feta-flags11.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-flags13.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-flags14.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-flags16.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-flags18.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-flags20.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-flags23.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-flags26.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-flats.mf +668 -0
- data/share/lilypond/2.24.1/fonts/source/feta-macros.mf +506 -0
- data/share/lilypond/2.24.1/fonts/source/feta-naturals.mf +223 -0
- data/share/lilypond/2.24.1/fonts/source/feta-noteheads-generic.mf +17 -0
- data/share/lilypond/2.24.1/fonts/source/feta-noteheads.mf +2642 -0
- data/share/lilypond/2.24.1/fonts/source/feta-noteheads11.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-noteheads13.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-noteheads14.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-noteheads16.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-noteheads18.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-noteheads20.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-noteheads23.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-noteheads26.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta-numbers.mf +1677 -0
- data/share/lilypond/2.24.1/fonts/source/feta-other-generic.mf +27 -0
- data/share/lilypond/2.24.1/fonts/source/feta-params.mf +323 -0
- data/share/lilypond/2.24.1/fonts/source/feta-parenthesis.mf +63 -0
- data/share/lilypond/2.24.1/fonts/source/feta-pedals.mf +355 -0
- data/share/lilypond/2.24.1/fonts/source/feta-rests.mf +890 -0
- data/share/lilypond/2.24.1/fonts/source/feta-scripts.mf +2206 -0
- data/share/lilypond/2.24.1/fonts/source/feta-sharps.mf +524 -0
- data/share/lilypond/2.24.1/fonts/source/feta-sori-koron.mf +325 -0
- data/share/lilypond/2.24.1/fonts/source/feta-ties.mf +72 -0
- data/share/lilypond/2.24.1/fonts/source/feta-timesignatures.mf +119 -0
- data/share/lilypond/2.24.1/fonts/source/feta-trills.mf +321 -0
- data/share/lilypond/2.24.1/fonts/source/feta11.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta13.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta14.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta16.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta18.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta20.mf +7 -0
- data/share/lilypond/2.24.1/fonts/source/feta23.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/feta26.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan-accidentals.mf +483 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan-clefs.mf +1636 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan-custodes.mf +503 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan-dots.mf +62 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan-flags.mf +319 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan-macros.mf +225 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan-noteheads-generic.mf +16 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan-noteheads.mf +2191 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan-noteheads11.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan-noteheads13.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan-noteheads14.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan-noteheads16.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan-noteheads18.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan-noteheads20.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan-noteheads23.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan-noteheads26.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan-other-generic.mf +24 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan-rests.mf +428 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan-scripts.mf +284 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan-timesignatures.mf +402 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan11.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan13.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan14.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan16.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan18.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan20.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan23.mf +6 -0
- data/share/lilypond/2.24.1/fonts/source/parmesan26.mf +6 -0
- data/share/lilypond/2.24.1/fonts/svg/emmentaler-11.svg +2525 -0
- data/share/lilypond/2.24.1/fonts/svg/emmentaler-11.woff +0 -0
- data/share/lilypond/2.24.1/fonts/svg/emmentaler-13.svg +2530 -0
- data/share/lilypond/2.24.1/fonts/svg/emmentaler-13.woff +0 -0
- data/share/lilypond/2.24.1/fonts/svg/emmentaler-14.svg +2526 -0
- data/share/lilypond/2.24.1/fonts/svg/emmentaler-14.woff +0 -0
- data/share/lilypond/2.24.1/fonts/svg/emmentaler-16.svg +2523 -0
- data/share/lilypond/2.24.1/fonts/svg/emmentaler-16.woff +0 -0
- data/share/lilypond/2.24.1/fonts/svg/emmentaler-18.svg +2519 -0
- data/share/lilypond/2.24.1/fonts/svg/emmentaler-18.woff +0 -0
- data/share/lilypond/2.24.1/fonts/svg/emmentaler-20.svg +2512 -0
- data/share/lilypond/2.24.1/fonts/svg/emmentaler-20.woff +0 -0
- data/share/lilypond/2.24.1/fonts/svg/emmentaler-23.svg +2506 -0
- data/share/lilypond/2.24.1/fonts/svg/emmentaler-23.woff +0 -0
- data/share/lilypond/2.24.1/fonts/svg/emmentaler-26.svg +2510 -0
- data/share/lilypond/2.24.1/fonts/svg/emmentaler-26.woff +0 -0
- data/share/lilypond/2.24.1/fonts/svg/emmentaler-brace.svg +1757 -0
- data/share/lilypond/2.24.1/fonts/svg/emmentaler-brace.woff +0 -0
- data/share/lilypond/2.24.1/ly/Welcome_to_LilyPond.ly +45 -0
- data/share/lilypond/2.24.1/ly/arabic.ly +185 -0
- data/share/lilypond/2.24.1/ly/articulate.ly +1013 -0
- data/share/lilypond/2.24.1/ly/bagpipe.ly +368 -0
- data/share/lilypond/2.24.1/ly/base-tkit.ly +135 -0
- data/share/lilypond/2.24.1/ly/catalan.ly +23 -0
- data/share/lilypond/2.24.1/ly/chord-modifiers-init.ly +63 -0
- data/share/lilypond/2.24.1/ly/chord-repetition-init.ly +60 -0
- data/share/lilypond/2.24.1/ly/context-mods-init.ly +119 -0
- data/share/lilypond/2.24.1/ly/declarations-init.ly +167 -0
- data/share/lilypond/2.24.1/ly/deutsch.ly +23 -0
- data/share/lilypond/2.24.1/ly/drumpitch-init.ly +366 -0
- data/share/lilypond/2.24.1/ly/dynamic-scripts-init.ly +54 -0
- data/share/lilypond/2.24.1/ly/english.ly +23 -0
- data/share/lilypond/2.24.1/ly/engraver-init.ly +1619 -0
- data/share/lilypond/2.24.1/ly/espanol.ly +23 -0
- data/share/lilypond/2.24.1/ly/event-listener.ly +241 -0
- data/share/lilypond/2.24.1/ly/festival.ly +38 -0
- data/share/lilypond/2.24.1/ly/generate-documentation.ly +7 -0
- data/share/lilypond/2.24.1/ly/grace-init.ly +56 -0
- data/share/lilypond/2.24.1/ly/graphviz-init.ly +174 -0
- data/share/lilypond/2.24.1/ly/gregorian.ly +268 -0
- data/share/lilypond/2.24.1/ly/guile-debugger.ly +55 -0
- data/share/lilypond/2.24.1/ly/hel-arabic.ly +307 -0
- data/share/lilypond/2.24.1/ly/init.ly +96 -0
- data/share/lilypond/2.24.1/ly/italiano.ly +23 -0
- data/share/lilypond/2.24.1/ly/lilypond-book-preamble.ly +47 -0
- data/share/lilypond/2.24.1/ly/lyrics-tkit.ly +68 -0
- data/share/lilypond/2.24.1/ly/makam.ly +166 -0
- data/share/lilypond/2.24.1/ly/midi-init.ly +59 -0
- data/share/lilypond/2.24.1/ly/music-functions-init.ly +2254 -0
- data/share/lilypond/2.24.1/ly/nederlands.ly +23 -0
- data/share/lilypond/2.24.1/ly/norsk.ly +23 -0
- data/share/lilypond/2.24.1/ly/paper-defaults-init.ly +188 -0
- data/share/lilypond/2.24.1/ly/performer-init.ly +398 -0
- data/share/lilypond/2.24.1/ly/persian.ly +335 -0
- data/share/lilypond/2.24.1/ly/piano-tkit.ly +61 -0
- data/share/lilypond/2.24.1/ly/portugues.ly +23 -0
- data/share/lilypond/2.24.1/ly/predefined-fretboards-init.ly +78 -0
- data/share/lilypond/2.24.1/ly/predefined-guitar-fretboards.ly +506 -0
- data/share/lilypond/2.24.1/ly/predefined-guitar-ninth-fretboards.ly +75 -0
- data/share/lilypond/2.24.1/ly/predefined-mandolin-fretboards.ly +876 -0
- data/share/lilypond/2.24.1/ly/predefined-ukulele-fretboards.ly +1285 -0
- data/share/lilypond/2.24.1/ly/property-init.ly +858 -0
- data/share/lilypond/2.24.1/ly/satb.ly +214 -0
- data/share/lilypond/2.24.1/ly/scale-definitions-init.ly +117 -0
- data/share/lilypond/2.24.1/ly/scheme-sandbox.ly +39 -0
- data/share/lilypond/2.24.1/ly/script-init.ly +94 -0
- data/share/lilypond/2.24.1/ly/spanners-init.ly +146 -0
- data/share/lilypond/2.24.1/ly/ssaattbb.ly +335 -0
- data/share/lilypond/2.24.1/ly/staff-tkit.ly +182 -0
- data/share/lilypond/2.24.1/ly/string-tunings-init.ly +94 -0
- data/share/lilypond/2.24.1/ly/suomi.ly +23 -0
- data/share/lilypond/2.24.1/ly/svenska.ly +23 -0
- data/share/lilypond/2.24.1/ly/swing.ly +362 -0
- data/share/lilypond/2.24.1/ly/text-replacements.ly +150 -0
- data/share/lilypond/2.24.1/ly/titling-init.ly +150 -0
- data/share/lilypond/2.24.1/ly/toc-init.ly +182 -0
- data/share/lilypond/2.24.1/ly/turkish-makam.ly +609 -0
- data/share/lilypond/2.24.1/ly/vlaams.ly +23 -0
- data/share/lilypond/2.24.1/ly/vocal-tkit.ly +103 -0
- data/share/lilypond/2.24.1/ly/voice-tkit.ly +34 -0
- data/share/lilypond/2.24.1/ps/encodingdefs.ps +2611 -0
- data/share/lilypond/2.24.1/ps/lilyponddefs.ps +49 -0
- data/share/lilypond/2.24.1/ps/music-drawing-routines.ps +329 -0
- data/share/lilypond/2.24.1/python/__pycache__/book_base.cpython-310.pyc +0 -0
- data/share/lilypond/2.24.1/python/__pycache__/book_docbook.cpython-310.pyc +0 -0
- data/share/lilypond/2.24.1/python/__pycache__/book_html.cpython-310.pyc +0 -0
- data/share/lilypond/2.24.1/python/__pycache__/book_latex.cpython-310.pyc +0 -0
- data/share/lilypond/2.24.1/python/__pycache__/book_snippets.cpython-310.pyc +0 -0
- data/share/lilypond/2.24.1/python/__pycache__/book_texinfo.cpython-310.pyc +0 -0
- data/share/lilypond/2.24.1/python/__pycache__/convertrules.cpython-310.pyc +0 -0
- data/share/lilypond/2.24.1/python/__pycache__/langdefs.cpython-310.pyc +0 -0
- data/share/lilypond/2.24.1/python/__pycache__/lilylib.cpython-310.pyc +0 -0
- data/share/lilypond/2.24.1/python/__pycache__/midi.cpython-310.pyc +0 -0
- data/share/lilypond/2.24.1/python/__pycache__/musicexp.cpython-310.pyc +0 -0
- data/share/lilypond/2.24.1/python/__pycache__/musicxml.cpython-310.pyc +0 -0
- data/share/lilypond/2.24.1/python/__pycache__/musicxml2ly_conversion.cpython-310.pyc +0 -0
- data/share/lilypond/2.24.1/python/__pycache__/utilities.cpython-310.pyc +0 -0
- data/share/lilypond/2.24.1/python/book_base.py +331 -0
- data/share/lilypond/2.24.1/python/book_docbook.py +154 -0
- data/share/lilypond/2.24.1/python/book_html.py +178 -0
- data/share/lilypond/2.24.1/python/book_latex.py +373 -0
- data/share/lilypond/2.24.1/python/book_snippets.py +1052 -0
- data/share/lilypond/2.24.1/python/book_texinfo.py +437 -0
- data/share/lilypond/2.24.1/python/convertrules.py +4764 -0
- data/share/lilypond/2.24.1/python/langdefs.py +131 -0
- data/share/lilypond/2.24.1/python/lilylib.py +141 -0
- data/share/lilypond/2.24.1/python/midi.py +212 -0
- data/share/lilypond/2.24.1/python/musicexp.py +2781 -0
- data/share/lilypond/2.24.1/python/musicxml.py +1905 -0
- data/share/lilypond/2.24.1/python/musicxml2ly_conversion.py +80 -0
- data/share/lilypond/2.24.1/python/utilities.py +280 -0
- data/share/lilypond/2.24.1/scm/lily/accreg.scm +579 -0
- data/share/lilypond/2.24.1/scm/lily/auto-beam.scm +163 -0
- data/share/lilypond/2.24.1/scm/lily/autochange.scm +100 -0
- data/share/lilypond/2.24.1/scm/lily/backend-library.scm +593 -0
- data/share/lilypond/2.24.1/scm/lily/bar-line.scm +1281 -0
- data/share/lilypond/2.24.1/scm/lily/breath.scm +74 -0
- data/share/lilypond/2.24.1/scm/lily/c++.scm +174 -0
- data/share/lilypond/2.24.1/scm/lily/chord-entry.scm +278 -0
- data/share/lilypond/2.24.1/scm/lily/chord-ignatzek-names.scm +304 -0
- data/share/lilypond/2.24.1/scm/lily/chord-name.scm +217 -0
- data/share/lilypond/2.24.1/scm/lily/clip-region.scm +87 -0
- data/share/lilypond/2.24.1/scm/lily/color.scm +757 -0
- data/share/lilypond/2.24.1/scm/lily/curried-definitions.scm +68 -0
- data/share/lilypond/2.24.1/scm/lily/define-context-properties.scm +939 -0
- data/share/lilypond/2.24.1/scm/lily/define-event-classes.scm +142 -0
- data/share/lilypond/2.24.1/scm/lily/define-grob-interfaces.scm +640 -0
- data/share/lilypond/2.24.1/scm/lily/define-grob-properties.scm +1647 -0
- data/share/lilypond/2.24.1/scm/lily/define-grobs.scm +4027 -0
- data/share/lilypond/2.24.1/scm/lily/define-markup-commands.scm +5737 -0
- data/share/lilypond/2.24.1/scm/lily/define-music-callbacks.scm +257 -0
- data/share/lilypond/2.24.1/scm/lily/define-music-display-methods.scm +1350 -0
- data/share/lilypond/2.24.1/scm/lily/define-music-properties.scm +242 -0
- data/share/lilypond/2.24.1/scm/lily/define-music-types.scm +983 -0
- data/share/lilypond/2.24.1/scm/lily/define-note-names.scm +1421 -0
- data/share/lilypond/2.24.1/scm/lily/define-stencil-commands.scm +71 -0
- data/share/lilypond/2.24.1/scm/lily/define-woodwind-diagrams.scm +1215 -0
- data/share/lilypond/2.24.1/scm/lily/display-lily.scm +315 -0
- data/share/lilypond/2.24.1/scm/lily/display-woodwind-diagrams.scm +1985 -0
- data/share/lilypond/2.24.1/scm/lily/document-backend.scm +307 -0
- data/share/lilypond/2.24.1/scm/lily/document-context-mods.scm +98 -0
- data/share/lilypond/2.24.1/scm/lily/document-functions.scm +169 -0
- data/share/lilypond/2.24.1/scm/lily/document-identifiers.scm +76 -0
- data/share/lilypond/2.24.1/scm/lily/document-markup.scm +158 -0
- data/share/lilypond/2.24.1/scm/lily/document-music.scm +146 -0
- data/share/lilypond/2.24.1/scm/lily/document-outside-staff-priorities.scm +40 -0
- data/share/lilypond/2.24.1/scm/lily/document-paper-sizes.scm +71 -0
- data/share/lilypond/2.24.1/scm/lily/document-translation.scm +318 -0
- data/share/lilypond/2.24.1/scm/lily/document-type-predicates.scm +85 -0
- data/share/lilypond/2.24.1/scm/lily/documentation-generate.scm +259 -0
- data/share/lilypond/2.24.1/scm/lily/documentation-lib.scm +207 -0
- data/share/lilypond/2.24.1/scm/lily/file-cache.scm +28 -0
- data/share/lilypond/2.24.1/scm/lily/flag-styles.scm +249 -0
- data/share/lilypond/2.24.1/scm/lily/font-encodings.scm +1242 -0
- data/share/lilypond/2.24.1/scm/lily/font.scm +303 -0
- data/share/lilypond/2.24.1/scm/lily/framework-cairo.scm +26 -0
- data/share/lilypond/2.24.1/scm/lily/framework-ps.scm +896 -0
- data/share/lilypond/2.24.1/scm/lily/framework-svg.scm +172 -0
- data/share/lilypond/2.24.1/scm/lily/fret-diagrams.scm +1261 -0
- data/share/lilypond/2.24.1/scm/lily/graphviz.scm +78 -0
- data/share/lilypond/2.24.1/scm/lily/guile-debugger.scm +90 -0
- data/share/lilypond/2.24.1/scm/lily/harp-pedals.scm +172 -0
- data/share/lilypond/2.24.1/scm/lily/hyphenate-internal-words.scm +51 -0
- data/share/lilypond/2.24.1/scm/lily/layout-beam.scm +73 -0
- data/share/lilypond/2.24.1/scm/lily/layout-slur.scm +45 -0
- data/share/lilypond/2.24.1/scm/lily/lily-library.scm +1446 -0
- data/share/lilypond/2.24.1/scm/lily/lily-sort.scm +116 -0
- data/share/lilypond/2.24.1/scm/lily/lily.scm +929 -0
- data/share/lilypond/2.24.1/scm/lily/ly-syntax-constructors.scm +374 -0
- data/share/lilypond/2.24.1/scm/lily/markup-macros.scm +493 -0
- data/share/lilypond/2.24.1/scm/lily/markup.scm +126 -0
- data/share/lilypond/2.24.1/scm/lily/midi.scm +258 -0
- data/share/lilypond/2.24.1/scm/lily/modal-transforms.scm +337 -0
- data/share/lilypond/2.24.1/scm/lily/music-functions.scm +2878 -0
- data/share/lilypond/2.24.1/scm/lily/output-lib.scm +3377 -0
- data/share/lilypond/2.24.1/scm/lily/output-ps.scm +335 -0
- data/share/lilypond/2.24.1/scm/lily/output-svg.scm +684 -0
- data/share/lilypond/2.24.1/scm/lily/page.scm +321 -0
- data/share/lilypond/2.24.1/scm/lily/paper-system.scm +271 -0
- data/share/lilypond/2.24.1/scm/lily/paper.scm +376 -0
- data/share/lilypond/2.24.1/scm/lily/parser-clef.scm +205 -0
- data/share/lilypond/2.24.1/scm/lily/parser-ly-from-scheme.scm +170 -0
- data/share/lilypond/2.24.1/scm/lily/part-combiner.scm +998 -0
- data/share/lilypond/2.24.1/scm/lily/predefined-fretboards.scm +54 -0
- data/share/lilypond/2.24.1/scm/lily/ps-to-png.scm +182 -0
- data/share/lilypond/2.24.1/scm/lily/scheme-engravers.scm +1813 -0
- data/share/lilypond/2.24.1/scm/lily/scheme-performers.scm +126 -0
- data/share/lilypond/2.24.1/scm/lily/script.scm +416 -0
- data/share/lilypond/2.24.1/scm/lily/skyline.scm +25 -0
- data/share/lilypond/2.24.1/scm/lily/song-util.scm +191 -0
- data/share/lilypond/2.24.1/scm/lily/song.scm +853 -0
- data/share/lilypond/2.24.1/scm/lily/stencil.scm +998 -0
- data/share/lilypond/2.24.1/scm/lily/tablature.scm +392 -0
- data/share/lilypond/2.24.1/scm/lily/time-signature-settings.scm +473 -0
- data/share/lilypond/2.24.1/scm/lily/time-signature.scm +35 -0
- data/share/lilypond/2.24.1/scm/lily/titling.scm +99 -0
- data/share/lilypond/2.24.1/scm/lily/to-xml.scm +254 -0
- data/share/lilypond/2.24.1/scm/lily/translation-functions.scm +1169 -0
- data/share/lilypond/2.24.1/vim/compiler/lilypond.vim +36 -0
- data/share/lilypond/2.24.1/vim/ftdetect/lilypond.vim +4 -0
- data/share/lilypond/2.24.1/vim/ftplugin/lilypond.vim +91 -0
- data/share/lilypond/2.24.1/vim/indent/lilypond.vim +79 -0
- data/share/lilypond/2.24.1/vim/syntax/lilypond-words +1408 -0
- data/share/lilypond/2.24.1/vim/syntax/lilypond-words.vim +3 -0
- data/share/lilypond/2.24.1/vim/syntax/lilypond.vim +104 -0
- data/share/locale/ca/LC_MESSAGES/lilypond.mo +0 -0
- data/share/locale/cs/LC_MESSAGES/lilypond.mo +0 -0
- data/share/locale/da/LC_MESSAGES/lilypond.mo +0 -0
- data/share/locale/de/LC_MESSAGES/lilypond.mo +0 -0
- data/share/locale/el/LC_MESSAGES/lilypond.mo +0 -0
- data/share/locale/eo/LC_MESSAGES/lilypond.mo +0 -0
- data/share/locale/es/LC_MESSAGES/lilypond.mo +0 -0
- data/share/locale/fi/LC_MESSAGES/lilypond.mo +0 -0
- data/share/locale/fr/LC_MESSAGES/lilypond.mo +0 -0
- data/share/locale/it/LC_MESSAGES/lilypond.mo +0 -0
- data/share/locale/ja/LC_MESSAGES/lilypond.mo +0 -0
- data/share/locale/nl/LC_MESSAGES/lilypond.mo +0 -0
- data/share/locale/ru/LC_MESSAGES/lilypond.mo +0 -0
- data/share/locale/sv/LC_MESSAGES/lilypond.mo +0 -0
- data/share/locale/tr/LC_MESSAGES/lilypond.mo +0 -0
- data/share/locale/uk/LC_MESSAGES/lilypond.mo +0 -0
- data/share/locale/vi/LC_MESSAGES/lilypond.mo +0 -0
- data/share/locale/zh_CN/LC_MESSAGES/lilypond.mo +0 -0
- data/share/locale/zh_TW/LC_MESSAGES/lilypond.mo +0 -0
- metadata +1135 -4
@@ -0,0 +1,1052 @@
|
|
1
|
+
# book_snippets.py
|
2
|
+
# -*- coding: utf-8 -*-
|
3
|
+
#
|
4
|
+
# This file is part of LilyPond, the GNU music typesetter.
|
5
|
+
#
|
6
|
+
# Copyright (C) 2010--2022 Reinhold Kainhofer <reinhold@kainhofer.com>
|
7
|
+
#
|
8
|
+
# LilyPond is free software: you can redistribute it and/or modify
|
9
|
+
# it under the terms of the GNU General Public License as published by
|
10
|
+
# the Free Software Foundation, either version 3 of the License, or
|
11
|
+
# (at your option) any later version.
|
12
|
+
#
|
13
|
+
# LilyPond is distributed in the hope that it will be useful,
|
14
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
16
|
+
# GNU General Public License for more details.
|
17
|
+
#
|
18
|
+
# You should have received a copy of the GNU General Public License
|
19
|
+
# along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
|
20
|
+
|
21
|
+
|
22
|
+
import copy
|
23
|
+
import hashlib
|
24
|
+
import os
|
25
|
+
import re
|
26
|
+
import shutil
|
27
|
+
import subprocess
|
28
|
+
import sys
|
29
|
+
|
30
|
+
import book_base
|
31
|
+
import lilylib as ly
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
####################################################################
|
36
|
+
# Snippet option handling
|
37
|
+
####################################################################
|
38
|
+
|
39
|
+
|
40
|
+
#
|
41
|
+
# Is this pythonic? Personally, I find this rather #define-nesque. --hwn
|
42
|
+
#
|
43
|
+
# Global definitions:
|
44
|
+
AFTER = 'after'
|
45
|
+
ALT = 'alt'
|
46
|
+
BEFORE = 'before'
|
47
|
+
DOCTITLE = 'doctitle'
|
48
|
+
EXAMPLEINDENT = 'exampleindent'
|
49
|
+
FILENAME = 'filename'
|
50
|
+
FILTER = 'filter'
|
51
|
+
FRAGMENT = 'fragment'
|
52
|
+
LAYOUT = 'layout'
|
53
|
+
LINE_WIDTH = 'line-width'
|
54
|
+
NOFRAGMENT = 'nofragment'
|
55
|
+
NOGETTEXT = 'nogettext'
|
56
|
+
NOINDENT = 'noindent'
|
57
|
+
INDENT = 'indent'
|
58
|
+
INLINE = 'inline'
|
59
|
+
NORAGGED_RIGHT = 'noragged-right'
|
60
|
+
NOTES = 'body'
|
61
|
+
NOTIME = 'notime'
|
62
|
+
OUTPUT = 'output'
|
63
|
+
OUTPUTIMAGE = 'outputimage'
|
64
|
+
PAPER = 'paper'
|
65
|
+
PAPER_HEIGHT = 'paper-height'
|
66
|
+
PAPERSIZE = 'papersize'
|
67
|
+
PAPER_WIDTH = 'paper-width'
|
68
|
+
PARA = 'para'
|
69
|
+
PREAMBLE = 'preamble'
|
70
|
+
PRINTFILENAME = 'printfilename'
|
71
|
+
QUOTE = 'quote'
|
72
|
+
RAGGED_RIGHT = 'ragged-right'
|
73
|
+
RELATIVE = 'relative'
|
74
|
+
STAFFSIZE = 'staffsize'
|
75
|
+
TEXIDOC = 'texidoc'
|
76
|
+
VERBATIM = 'verbatim'
|
77
|
+
VERSION = 'lilypondversion'
|
78
|
+
|
79
|
+
|
80
|
+
# NOTIME and NOGETTEXT have no opposite so they aren't part of this
|
81
|
+
# dictionary.
|
82
|
+
no_options = {
|
83
|
+
NOFRAGMENT: FRAGMENT,
|
84
|
+
NOINDENT: INDENT,
|
85
|
+
}
|
86
|
+
|
87
|
+
# Options that have no impact on processing by lilypond (or --process
|
88
|
+
# argument)
|
89
|
+
PROCESSING_INDEPENDENT_OPTIONS = (
|
90
|
+
ALT, NOGETTEXT, VERBATIM,
|
91
|
+
TEXIDOC, DOCTITLE, VERSION, PRINTFILENAME)
|
92
|
+
|
93
|
+
|
94
|
+
# Options without a pattern in snippet_options.
|
95
|
+
simple_options = [
|
96
|
+
EXAMPLEINDENT,
|
97
|
+
FRAGMENT,
|
98
|
+
INLINE,
|
99
|
+
NOFRAGMENT,
|
100
|
+
NOGETTEXT,
|
101
|
+
NOINDENT,
|
102
|
+
PAPER_HEIGHT,
|
103
|
+
PAPER_WIDTH,
|
104
|
+
PRINTFILENAME,
|
105
|
+
DOCTITLE,
|
106
|
+
TEXIDOC,
|
107
|
+
VERBATIM,
|
108
|
+
FILENAME,
|
109
|
+
ALT
|
110
|
+
]
|
111
|
+
|
112
|
+
|
113
|
+
####################################################################
|
114
|
+
# LilyPond templates for the snippets
|
115
|
+
####################################################################
|
116
|
+
|
117
|
+
snippet_options = {
|
118
|
+
##
|
119
|
+
NOTES: {
|
120
|
+
RELATIVE: r'''\relative c%(relative_quotes)s''',
|
121
|
+
},
|
122
|
+
|
123
|
+
##
|
124
|
+
# TODO: Remove the 1mm additional padding in the line-width
|
125
|
+
# once lilypond creates tighter cropped images!
|
126
|
+
PAPER: {
|
127
|
+
PAPERSIZE: r'''#(set-paper-size %(papersize)s)''',
|
128
|
+
INDENT: r'''indent = %(indent)s''',
|
129
|
+
LINE_WIDTH: r'''line-width = %(line-width)s
|
130
|
+
%% offset the left padding, also add 1mm as lilypond creates cropped
|
131
|
+
%% images with a little space on the right
|
132
|
+
line-width = #(- line-width (* mm %(padding_mm)f) (* mm 1))''',
|
133
|
+
QUOTE: r'''line-width = %(line-width)s - 2.0 * %(exampleindent)s
|
134
|
+
%% offset the left padding, also add 1mm as lilypond creates cropped
|
135
|
+
%% images with a little space on the right
|
136
|
+
line-width = #(- line-width (* mm %(padding_mm)f) (* mm 1))''',
|
137
|
+
RAGGED_RIGHT: r'''ragged-right = ##t''',
|
138
|
+
NORAGGED_RIGHT: r'''ragged-right = ##f''',
|
139
|
+
},
|
140
|
+
|
141
|
+
##
|
142
|
+
LAYOUT: {
|
143
|
+
NOTIME: r'''
|
144
|
+
\context {
|
145
|
+
\Score
|
146
|
+
timing = ##f
|
147
|
+
}
|
148
|
+
\context {
|
149
|
+
\Staff
|
150
|
+
\remove Time_signature_engraver
|
151
|
+
}''',
|
152
|
+
},
|
153
|
+
|
154
|
+
##
|
155
|
+
PREAMBLE: {
|
156
|
+
STAFFSIZE: r'''#(set-global-staff-size %(staffsize)s)''',
|
157
|
+
},
|
158
|
+
}
|
159
|
+
|
160
|
+
|
161
|
+
def classic_lilypond_book_compatibility(key, value):
|
162
|
+
if key == 'lilyquote':
|
163
|
+
return (QUOTE, value)
|
164
|
+
if key == 'singleline' and value is None:
|
165
|
+
return (RAGGED_RIGHT, None)
|
166
|
+
|
167
|
+
m = re.search(r'relative\s*([-0-9])', key)
|
168
|
+
if m:
|
169
|
+
return ('relative', m.group(1))
|
170
|
+
|
171
|
+
m = re.match('([0-9]+)pt', key)
|
172
|
+
if m:
|
173
|
+
return ('staffsize', m.group(1))
|
174
|
+
|
175
|
+
if key == 'indent' or key == 'line-width':
|
176
|
+
m = re.match('([-.0-9]+)(cm|in|mm|pt|bp|staffspace)', value)
|
177
|
+
if m:
|
178
|
+
f = float(m.group(1))
|
179
|
+
return (key, '%f\\%s' % (f, m.group(2)))
|
180
|
+
|
181
|
+
return (None, None)
|
182
|
+
|
183
|
+
|
184
|
+
PREAMBLE_LY = r'''%%%% Generated by lilypond-book
|
185
|
+
%%%% Options: [%(option_string)s]
|
186
|
+
\include "lilypond-book-preamble.ly"
|
187
|
+
|
188
|
+
|
189
|
+
%% ****************************************************************
|
190
|
+
%% Start cut-&-pastable-section
|
191
|
+
%% ****************************************************************
|
192
|
+
|
193
|
+
%(padding_mm_string)s
|
194
|
+
|
195
|
+
%(preamble_string)s
|
196
|
+
|
197
|
+
\paper {
|
198
|
+
%(paper_string)s
|
199
|
+
}
|
200
|
+
|
201
|
+
\layout {
|
202
|
+
%(layout_string)s
|
203
|
+
}
|
204
|
+
|
205
|
+
'''
|
206
|
+
|
207
|
+
|
208
|
+
FULL_LY = '''
|
209
|
+
|
210
|
+
|
211
|
+
%% ****************************************************************
|
212
|
+
%% ly snippet:
|
213
|
+
%% ****************************************************************
|
214
|
+
%(code)s
|
215
|
+
|
216
|
+
|
217
|
+
%% ****************************************************************
|
218
|
+
%% end ly snippet
|
219
|
+
%% ****************************************************************
|
220
|
+
'''
|
221
|
+
|
222
|
+
FRAGMENT_LY = r'''
|
223
|
+
%(notes_string)s
|
224
|
+
{
|
225
|
+
|
226
|
+
|
227
|
+
%% ****************************************************************
|
228
|
+
%% ly snippet contents follows:
|
229
|
+
%% ****************************************************************
|
230
|
+
%(code)s
|
231
|
+
|
232
|
+
|
233
|
+
%% ****************************************************************
|
234
|
+
%% end ly snippet
|
235
|
+
%% ****************************************************************
|
236
|
+
}
|
237
|
+
'''
|
238
|
+
|
239
|
+
|
240
|
+
####################################################################
|
241
|
+
# Helper functions
|
242
|
+
####################################################################
|
243
|
+
|
244
|
+
def ps_page_count(ps_name):
|
245
|
+
# Open .ps file in binary mode, it might contain embedded fonts.
|
246
|
+
header = open(ps_name, 'rb').read(1024)
|
247
|
+
m = re.search(b'\n%%Pages: ([0-9]+)', header)
|
248
|
+
if m:
|
249
|
+
return int(m.group(1))
|
250
|
+
return 0
|
251
|
+
|
252
|
+
|
253
|
+
ly_var_def_re = re.compile(r'^([a-zA-Z]+)[\t ]*=', re.M)
|
254
|
+
ly_comment_re = re.compile(r'(%+[\t ]*)(.*)$', re.M)
|
255
|
+
ly_context_id_re = re.compile('\\\\(?:new|context)\\s+(?:[a-zA-Z]*?(?:Staff\
|
256
|
+
(?:Group)?|Voice|FiguredBass|FretBoards|Names|Devnull))\\s+=\\s+"?([a-zA-Z]+)"?\\s+')
|
257
|
+
ly_dimen_re = re.compile(r'^([0-9]+\.?[0-9]*|\.[0-9]+)\s*\\(cm|mm|in|pt|bp)$')
|
258
|
+
|
259
|
+
|
260
|
+
def ly_comment_gettext(t, m):
|
261
|
+
return m.group(1) + t(m.group(2))
|
262
|
+
|
263
|
+
|
264
|
+
class CompileError(Exception):
|
265
|
+
pass
|
266
|
+
|
267
|
+
|
268
|
+
####################################################################
|
269
|
+
# Snippet classes
|
270
|
+
####################################################################
|
271
|
+
|
272
|
+
class Chunk:
|
273
|
+
def replacement_text(self):
|
274
|
+
return ''
|
275
|
+
|
276
|
+
def filter_text(self):
|
277
|
+
return self.replacement_text()
|
278
|
+
|
279
|
+
def is_plain(self):
|
280
|
+
return False
|
281
|
+
|
282
|
+
def __init__(self):
|
283
|
+
self._output_fullpath = ''
|
284
|
+
|
285
|
+
def set_output_fullpath(self, out_fp: str):
|
286
|
+
self._output_fullpath = out_fp
|
287
|
+
|
288
|
+
def output_fullpath(self) -> str:
|
289
|
+
"""The output file path that this chunk belongs to."""
|
290
|
+
return self._output_fullpath
|
291
|
+
|
292
|
+
|
293
|
+
class Substring (Chunk):
|
294
|
+
"""A string that does not require extra memory."""
|
295
|
+
|
296
|
+
def __init__(self, source, start, end, line_number):
|
297
|
+
self.source = source
|
298
|
+
self.start = start
|
299
|
+
self.end = end
|
300
|
+
self.line_number = line_number
|
301
|
+
self.override_text = None
|
302
|
+
|
303
|
+
def is_plain(self):
|
304
|
+
return True
|
305
|
+
|
306
|
+
def replacement_text(self):
|
307
|
+
if self.override_text:
|
308
|
+
return self.override_text
|
309
|
+
else:
|
310
|
+
return self.source[self.start:self.end]
|
311
|
+
|
312
|
+
|
313
|
+
class Snippet (Chunk):
|
314
|
+
def __init__(self, type, match, formatter, line_number, global_options):
|
315
|
+
self.type = type
|
316
|
+
self.match = match
|
317
|
+
self.checksum = 0
|
318
|
+
self.option_dict = {}
|
319
|
+
self.formatter = formatter
|
320
|
+
self.line_number = line_number
|
321
|
+
self.global_options = global_options
|
322
|
+
self.replacements = {'program_version': global_options.information["program_version"],
|
323
|
+
'program_name': ly.program_name}
|
324
|
+
|
325
|
+
# return a shallow copy of the replacements, so the caller can modify
|
326
|
+
# it locally without interfering with other snippet operations
|
327
|
+
def get_replacements(self):
|
328
|
+
return copy.copy(self.replacements)
|
329
|
+
|
330
|
+
def replacement_text(self):
|
331
|
+
return self.match.group('match')
|
332
|
+
|
333
|
+
def substring(self, s):
|
334
|
+
return self.match.group(s)
|
335
|
+
|
336
|
+
def __repr__(self):
|
337
|
+
return repr(self.__class__) + ' type = ' + self.type
|
338
|
+
|
339
|
+
|
340
|
+
class IncludeSnippet (Snippet):
|
341
|
+
def processed_filename(self):
|
342
|
+
f = self.substring('filename')
|
343
|
+
return os.path.splitext(f)[0] + self.formatter.default_extension
|
344
|
+
|
345
|
+
def replacement_text(self):
|
346
|
+
s = self.match.group('match')
|
347
|
+
f = self.substring('filename')
|
348
|
+
return re.sub(f, self.processed_filename(), s)
|
349
|
+
|
350
|
+
|
351
|
+
class LilypondSnippet (Snippet):
|
352
|
+
def __init__(self, type, match, formatter, line_number, global_options):
|
353
|
+
Snippet.__init__(self, type, match, formatter,
|
354
|
+
line_number, global_options)
|
355
|
+
self.filename = ''
|
356
|
+
self.ext = '.ly'
|
357
|
+
os = match.group('options')
|
358
|
+
self.parse_snippet_options(os, self.type)
|
359
|
+
|
360
|
+
def snippet_options(self):
|
361
|
+
return []
|
362
|
+
|
363
|
+
def verb_ly_gettext(self, s):
|
364
|
+
lang = self.formatter.document_language
|
365
|
+
if not lang:
|
366
|
+
return s
|
367
|
+
try:
|
368
|
+
t = langdefs.translation[lang]
|
369
|
+
except:
|
370
|
+
return s
|
371
|
+
# TODO: this part is flawed. langdefs is not imported,
|
372
|
+
# so the line under `try:` raises a NameError, which is
|
373
|
+
# catched by the too broad `except:` that was likely meant
|
374
|
+
# only to except KeyError. As a result, this function
|
375
|
+
# always returns `s` and the below code is never executed.
|
376
|
+
# Investigate what the intent was and change the code accordingly
|
377
|
+
# if possible. --jas
|
378
|
+
s = ly_comment_re.sub(lambda m: ly_comment_gettext(t, m), s)
|
379
|
+
|
380
|
+
if langdefs.LANGDICT[lang].enable_ly_identifier_l10n:
|
381
|
+
for v in ly_var_def_re.findall(s):
|
382
|
+
s = re.sub(r"(?m)(?<!\\clef)(^|[' \\#])%s([^a-zA-Z])" % v,
|
383
|
+
"\\1" + t(v) + "\\2",
|
384
|
+
s)
|
385
|
+
for id in ly_context_id_re.findall(s):
|
386
|
+
s = re.sub(r'(\s+|")%s(\s+|")' % id,
|
387
|
+
"\\1" + t(id) + "\\2",
|
388
|
+
s)
|
389
|
+
return s
|
390
|
+
|
391
|
+
def verb_ly(self):
|
392
|
+
verb_text = self.substring('code')
|
393
|
+
if not NOGETTEXT in self.option_dict:
|
394
|
+
verb_text = self.verb_ly_gettext(verb_text)
|
395
|
+
if not verb_text.endswith('\n'):
|
396
|
+
verb_text += '\n'
|
397
|
+
return verb_text
|
398
|
+
|
399
|
+
def ly(self):
|
400
|
+
contents = self.substring('code')
|
401
|
+
return ('\\sourcefileline %d\n%s'
|
402
|
+
% (self.line_number - 1, contents))
|
403
|
+
|
404
|
+
def full_ly(self):
|
405
|
+
s = self.ly()
|
406
|
+
if s:
|
407
|
+
return self.compose_ly(s)
|
408
|
+
return ''
|
409
|
+
|
410
|
+
def split_options(self, option_string):
|
411
|
+
return self.formatter.split_snippet_options(option_string)
|
412
|
+
|
413
|
+
def parse_snippet_options(self, option_string, type):
|
414
|
+
self.snippet_option_dict = {}
|
415
|
+
|
416
|
+
# Split option string and create raw option_dict from it
|
417
|
+
options = self.split_options(option_string)
|
418
|
+
|
419
|
+
for option in options:
|
420
|
+
(key, value) = (option, None)
|
421
|
+
if '=' in option:
|
422
|
+
(key, value) = re.split(r'\s*=\s*', option)
|
423
|
+
else:
|
424
|
+
# a no... option removes a previous option if present!
|
425
|
+
if key in no_options:
|
426
|
+
if no_options[key] in self.option_dict:
|
427
|
+
del self.snippet_option_dict[no_options[key]]
|
428
|
+
key = None
|
429
|
+
# Check for deprecated options, replace them by new ones
|
430
|
+
(c_key, c_value) = classic_lilypond_book_compatibility(key, value)
|
431
|
+
if c_key:
|
432
|
+
if c_value:
|
433
|
+
ly.warning(
|
434
|
+
_("deprecated ly-option used: %s=%s") % (key, value))
|
435
|
+
ly.warning(
|
436
|
+
_("compatibility mode translation: %s=%s") % (c_key, c_value))
|
437
|
+
else:
|
438
|
+
ly.warning(
|
439
|
+
_("deprecated ly-option used: %s") % key)
|
440
|
+
ly.warning(
|
441
|
+
_("compatibility mode translation: %s") % c_key)
|
442
|
+
(key, value) = (c_key, c_value)
|
443
|
+
# Finally, insert the option:
|
444
|
+
if key:
|
445
|
+
self.snippet_option_dict[key] = value
|
446
|
+
|
447
|
+
if PAPERSIZE in self.snippet_option_dict:
|
448
|
+
self.snippet_option_dict[PAPERSIZE] = (
|
449
|
+
'"' + self.snippet_option_dict[PAPERSIZE] + '"')
|
450
|
+
|
451
|
+
# If we have an explicit paper width or height, use it,
|
452
|
+
# overriding a `papersize` option. If either width or height
|
453
|
+
# is missing, use the corresponding A4 dimension.
|
454
|
+
has_paper_width = PAPER_WIDTH in self.snippet_option_dict
|
455
|
+
has_paper_height = PAPER_HEIGHT in self.snippet_option_dict
|
456
|
+
if has_paper_width or has_paper_height:
|
457
|
+
if not has_paper_height:
|
458
|
+
self.snippet_option_dict[PAPER_HEIGHT] = r'297\mm'
|
459
|
+
if not has_paper_width:
|
460
|
+
self.snippet_option_dict[PAPER_WIDTH] = r'210\mm'
|
461
|
+
|
462
|
+
wd = self.snippet_option_dict[PAPER_WIDTH]
|
463
|
+
m = re.match(ly_dimen_re, wd)
|
464
|
+
if m:
|
465
|
+
(w, w_unit) = m.group(1, 2)
|
466
|
+
else:
|
467
|
+
ly.warning(_("ignoring invalid option %s=%s")
|
468
|
+
% (PAPER_WIDTH, wd))
|
469
|
+
# Use A4 paper width in case of error
|
470
|
+
(w, w_unit) = ("210", "mm")
|
471
|
+
|
472
|
+
ht = self.snippet_option_dict[PAPER_HEIGHT]
|
473
|
+
m = re.match(ly_dimen_re, ht)
|
474
|
+
if m:
|
475
|
+
(h, h_unit) = m.group(1, 2)
|
476
|
+
else:
|
477
|
+
ly.warning(_("ignoring invalid option %s=%s")
|
478
|
+
% (PAPER_HEIGHT, ht))
|
479
|
+
# Use A4 paper height in case of error
|
480
|
+
(h, h_unit) = ("297", "mm")
|
481
|
+
|
482
|
+
self.snippet_option_dict[PAPERSIZE] = (
|
483
|
+
"'(cons (* %s %s) (* %s %s))" % (w, w_unit, h, h_unit))
|
484
|
+
|
485
|
+
# If LINE_WIDTH is used without parameter, set it to default.
|
486
|
+
has_line_width = LINE_WIDTH in self.snippet_option_dict
|
487
|
+
if has_line_width and self.snippet_option_dict[LINE_WIDTH] is None:
|
488
|
+
del self.snippet_option_dict[LINE_WIDTH]
|
489
|
+
|
490
|
+
# RELATIVE does not work without FRAGMENT, so imply that
|
491
|
+
if RELATIVE in self.snippet_option_dict:
|
492
|
+
self.snippet_option_dict[FRAGMENT] = None
|
493
|
+
|
494
|
+
# Now get the default options from the formatter object (HTML, latex,
|
495
|
+
# texinfo, etc.) and insert the explicit snippet options to get the
|
496
|
+
# list of all options for this snippet
|
497
|
+
# first, make sure we have an INDENT value as a fallback
|
498
|
+
self.option_dict = {INDENT: '0\\mm'}
|
499
|
+
self.option_dict.update(self.formatter.default_snippet_options)
|
500
|
+
self.option_dict.update(self.snippet_option_dict)
|
501
|
+
|
502
|
+
# also construct a list of all options (as strings) that influence the
|
503
|
+
# visual appearance of the snippet
|
504
|
+
lst = [x_y for x_y in iter(self.option_dict.items())
|
505
|
+
if x_y[0] not in PROCESSING_INDEPENDENT_OPTIONS]
|
506
|
+
option_list = []
|
507
|
+
for (key, value) in lst:
|
508
|
+
if value is None:
|
509
|
+
option_list.append(key)
|
510
|
+
else:
|
511
|
+
option_list.append(key + "=" + value)
|
512
|
+
option_list.sort()
|
513
|
+
self.outputrelevant_option_list = option_list
|
514
|
+
#print ("self.outputrelevant_option_list: %s\n" % self.outputrelevant_option_list);
|
515
|
+
|
516
|
+
# Set a default line-width if there is none. We need this, because
|
517
|
+
# lilypond-book has set left-padding by default and therefore does
|
518
|
+
# #(define line-width (- line-width (* 3 mm)))
|
519
|
+
# TODO: Junk this ugly hack if the code gets rewritten to concatenate
|
520
|
+
# all settings before writing them in the \paper block.
|
521
|
+
#
|
522
|
+
# if not LINE_WIDTH in self.option_dict:
|
523
|
+
# if not QUOTE in self.option_dict:
|
524
|
+
# self.option_dict[LINE_WIDTH] = \
|
525
|
+
# "#(- paper-width left-margin-default right-margin-default)"
|
526
|
+
|
527
|
+
# Get a list of all options (as string) that influence the snippet appearance
|
528
|
+
|
529
|
+
def get_outputrelevant_option_strings(self):
|
530
|
+
return self.outputrelevant_option_list
|
531
|
+
|
532
|
+
def compose_ly(self, code):
|
533
|
+
|
534
|
+
# Defaults.
|
535
|
+
relative = 1
|
536
|
+
override = {}
|
537
|
+
# The original concept of the `exampleindent' option is broken.
|
538
|
+
# It is not possible to get a sane value for @exampleindent at all
|
539
|
+
# without processing the document itself. Saying
|
540
|
+
#
|
541
|
+
# @exampleindent 0
|
542
|
+
# @example
|
543
|
+
# ...
|
544
|
+
# @end example
|
545
|
+
# @exampleindent 5
|
546
|
+
#
|
547
|
+
# causes ugly results with the TeX backend of texinfo since the
|
548
|
+
# default value for @exampleindent isn't 5em but 0.4in (or a smaller
|
549
|
+
# value). Executing the above code changes the environment
|
550
|
+
# indentation to an unknown value because we don't know the amount
|
551
|
+
# of 1em in advance since it is font-dependent. Modifying
|
552
|
+
# @exampleindent in the middle of a document is simply not
|
553
|
+
# supported within texinfo.
|
554
|
+
#
|
555
|
+
# As a consequence, the only function of @exampleindent is now to
|
556
|
+
# specify the amount of indentation for the `quote' option.
|
557
|
+
#
|
558
|
+
# To set @exampleindent locally to zero, we use the @format
|
559
|
+
# environment for non-quoted snippets.
|
560
|
+
#
|
561
|
+
# Update: since July 2011 we are running texinfo on a test file
|
562
|
+
# to detect the default exampleindent, so we might reintroduce
|
563
|
+
# further usage of exampleindent again.
|
564
|
+
#
|
565
|
+
# First, make sure we have some falback default value, auto-detected
|
566
|
+
# values and explicitly specified values will always override them:
|
567
|
+
override[EXAMPLEINDENT] = r'0.4\in'
|
568
|
+
override[LINE_WIDTH] = '5\\in'
|
569
|
+
override.update(self.formatter.default_snippet_options)
|
570
|
+
override['padding_mm'] = self.global_options.padding_mm
|
571
|
+
|
572
|
+
option_string = ','.join(self.get_outputrelevant_option_strings())
|
573
|
+
compose_dict = {}
|
574
|
+
compose_types = [NOTES, PREAMBLE, LAYOUT, PAPER]
|
575
|
+
for a in compose_types:
|
576
|
+
compose_dict[a] = []
|
577
|
+
|
578
|
+
option_names = sorted(self.option_dict.keys())
|
579
|
+
for key in option_names:
|
580
|
+
value = self.option_dict[key]
|
581
|
+
|
582
|
+
if value:
|
583
|
+
override[key] = value
|
584
|
+
else:
|
585
|
+
if key not in override:
|
586
|
+
override[key] = None
|
587
|
+
|
588
|
+
found = 0
|
589
|
+
for typ in compose_types:
|
590
|
+
if key in snippet_options[typ]:
|
591
|
+
compose_dict[typ].append(snippet_options[typ][key])
|
592
|
+
found = 1
|
593
|
+
break
|
594
|
+
|
595
|
+
if not found and key not in simple_options and key not in self.snippet_options():
|
596
|
+
ly.warning(_("ignoring unknown ly option: %s") % key)
|
597
|
+
|
598
|
+
# URGS
|
599
|
+
if RELATIVE in override and override[RELATIVE]:
|
600
|
+
relative = int(override[RELATIVE])
|
601
|
+
|
602
|
+
relative_quotes = ''
|
603
|
+
|
604
|
+
# 1 = central C
|
605
|
+
if relative < 0:
|
606
|
+
relative_quotes += ',' * (- relative)
|
607
|
+
elif relative > 0:
|
608
|
+
relative_quotes += "'" * relative
|
609
|
+
|
610
|
+
if INLINE in override:
|
611
|
+
# For inline images, try to make left and right padding equal,
|
612
|
+
# ignoring the `--left-padding` value.
|
613
|
+
#
|
614
|
+
# URGH Value 0 makes LilyPond apply no left padding at all, but
|
615
|
+
# still having some right padding. This is a bug (#6116).
|
616
|
+
override['padding_mm'] = 0.0001
|
617
|
+
|
618
|
+
# put paper-size first, if it exists
|
619
|
+
for i, elem in enumerate(compose_dict[PAPER]):
|
620
|
+
if elem.startswith("#(set-paper-size"):
|
621
|
+
compose_dict[PAPER].insert(0, compose_dict[PAPER].pop(i))
|
622
|
+
break
|
623
|
+
|
624
|
+
paper_string = '\n '.join(compose_dict[PAPER]) % override
|
625
|
+
layout_string = '\n '.join(compose_dict[LAYOUT]) % override
|
626
|
+
notes_string = '\n '.join(compose_dict[NOTES]) % vars()
|
627
|
+
preamble_string = '\n '.join(compose_dict[PREAMBLE]) % override
|
628
|
+
|
629
|
+
padding_mm = override['padding_mm']
|
630
|
+
if padding_mm != 0:
|
631
|
+
padding_mm_string = \
|
632
|
+
"#(ly:set-option 'eps-box-padding %f)" % padding_mm
|
633
|
+
else:
|
634
|
+
padding_mm_string = ""
|
635
|
+
|
636
|
+
d = globals().copy()
|
637
|
+
d.update(locals())
|
638
|
+
d.update(self.global_options.information)
|
639
|
+
if FRAGMENT in self.option_dict:
|
640
|
+
body = FRAGMENT_LY
|
641
|
+
else:
|
642
|
+
body = FULL_LY
|
643
|
+
return (PREAMBLE_LY + body) % d
|
644
|
+
|
645
|
+
def get_checksum(self):
|
646
|
+
if not self.checksum:
|
647
|
+
# We only want to calculate the hash based on the snippet
|
648
|
+
# code plus fragment options relevant to processing by
|
649
|
+
# lilypond, not the snippet + preamble
|
650
|
+
hash = hashlib.md5(self.relevant_contents(
|
651
|
+
self.ly()).encode('utf-8'))
|
652
|
+
for option in self.get_outputrelevant_option_strings():
|
653
|
+
hash.update(option.encode('utf-8'))
|
654
|
+
|
655
|
+
# let's not create too long names.
|
656
|
+
self.checksum = hash.hexdigest()[:10]
|
657
|
+
|
658
|
+
return self.checksum
|
659
|
+
|
660
|
+
def basename(self):
|
661
|
+
cs = self.get_checksum()
|
662
|
+
name = os.path.join(cs[:2], 'lily-%s' % cs[2:])
|
663
|
+
return name
|
664
|
+
|
665
|
+
final_basename = basename
|
666
|
+
|
667
|
+
def write_ly(self):
|
668
|
+
base = self.basename()
|
669
|
+
path = os.path.join(self.global_options.lily_output_dir, base)
|
670
|
+
directory = os.path.split(path)[0]
|
671
|
+
os.makedirs(directory, exist_ok=True)
|
672
|
+
filename = path + '.ly'
|
673
|
+
if os.path.exists(filename):
|
674
|
+
existing = open(filename, 'r', encoding='utf-8').read()
|
675
|
+
|
676
|
+
if self.relevant_contents(existing) != self.relevant_contents(self.full_ly()):
|
677
|
+
ly.warning("%s: duplicate filename but different contents of original file,\n\
|
678
|
+
printing diff against existing file." % filename)
|
679
|
+
encoded = self.full_ly().encode('utf-8')
|
680
|
+
cmd = 'diff -u %s -' % filename
|
681
|
+
sys.stderr.write(self.filter_pipe(
|
682
|
+
encoded, cmd).decode('utf-8'))
|
683
|
+
else:
|
684
|
+
out = open(filename, 'w', encoding='utf-8')
|
685
|
+
out.write(self.full_ly())
|
686
|
+
|
687
|
+
def relevant_contents(self, ly):
|
688
|
+
return re.sub(r'\\(version|sourcefileline|sourcefilename)[^\n]*\n', '', ly)
|
689
|
+
|
690
|
+
def link_all_output_files(self, output_dir, destination):
|
691
|
+
existing, missing = self.all_output_files(output_dir)
|
692
|
+
if missing:
|
693
|
+
ly.error(_('Missing files: %s') % ', '.join(missing))
|
694
|
+
raise CompileError(self.basename())
|
695
|
+
for name in existing:
|
696
|
+
if (self.global_options.use_source_file_names
|
697
|
+
and isinstance(self, LilypondFileSnippet)):
|
698
|
+
base, ext = os.path.splitext(name)
|
699
|
+
components = base.split('-')
|
700
|
+
# ugh, assume filenames with prefix with one dash (lily-xxxx)
|
701
|
+
if len(components) > 2:
|
702
|
+
base_suffix = '-' + components[-1]
|
703
|
+
else:
|
704
|
+
base_suffix = ''
|
705
|
+
final_name = self.final_basename() + base_suffix + ext
|
706
|
+
else:
|
707
|
+
final_name = name
|
708
|
+
try:
|
709
|
+
os.unlink(os.path.join(destination, final_name))
|
710
|
+
except OSError:
|
711
|
+
pass
|
712
|
+
|
713
|
+
src = os.path.join(output_dir, name)
|
714
|
+
dst = os.path.join(destination, final_name)
|
715
|
+
dst_path = os.path.split(dst)[0]
|
716
|
+
os.makedirs(dst_path, exist_ok=True)
|
717
|
+
try:
|
718
|
+
if (self.global_options.use_source_file_names
|
719
|
+
and isinstance(self, LilypondFileSnippet)):
|
720
|
+
content = open(src, 'rb').read()
|
721
|
+
basename = self.basename().encode('utf-8')
|
722
|
+
final_basename = self.final_basename().encode('utf-8')
|
723
|
+
content = content.replace(basename, final_basename)
|
724
|
+
open(dst, 'wb').write(content)
|
725
|
+
else:
|
726
|
+
try:
|
727
|
+
os.link(src, dst)
|
728
|
+
except AttributeError:
|
729
|
+
shutil.copyfile(src, dst)
|
730
|
+
except (IOError, OSError):
|
731
|
+
ly.error(_('Could not overwrite file %s') % dst)
|
732
|
+
raise CompileError(self.basename())
|
733
|
+
|
734
|
+
def additional_files_to_consider(self, base, full):
|
735
|
+
return []
|
736
|
+
|
737
|
+
def additional_files_required(self, base, full):
|
738
|
+
result = []
|
739
|
+
if self.ext != '.ly':
|
740
|
+
result.append(base + self.ext)
|
741
|
+
return result
|
742
|
+
|
743
|
+
def all_output_files(self, output_dir):
|
744
|
+
"""Return all files generated in lily_output_dir, a set.
|
745
|
+
|
746
|
+
output_dir_files is the list of files in the output directory.
|
747
|
+
"""
|
748
|
+
result = set()
|
749
|
+
missing = set()
|
750
|
+
base = self.basename()
|
751
|
+
full = os.path.join(output_dir, base)
|
752
|
+
|
753
|
+
def consider_file(name):
|
754
|
+
if os.path.isfile(os.path.join(output_dir, name)):
|
755
|
+
result.add(name)
|
756
|
+
|
757
|
+
def require_file(name):
|
758
|
+
if os.path.isfile(os.path.join(output_dir, name)):
|
759
|
+
result.add(name)
|
760
|
+
else:
|
761
|
+
missing.add(name)
|
762
|
+
|
763
|
+
# UGH - junk self.global_options
|
764
|
+
skip_lily = self.global_options.skip_lilypond_run
|
765
|
+
require_file(base + '.ly')
|
766
|
+
if not skip_lily:
|
767
|
+
require_file(base + '-systems.count')
|
768
|
+
|
769
|
+
if 'dseparate-log-file' in self.global_options.process_cmd:
|
770
|
+
require_file(base + '.log')
|
771
|
+
|
772
|
+
for f in [base + '.tex',
|
773
|
+
base + '.eps',
|
774
|
+
base + '.pdf',
|
775
|
+
base + '.texidoc',
|
776
|
+
base + '.doctitle',
|
777
|
+
base + '-systems.texi',
|
778
|
+
base + '-systems.tex',
|
779
|
+
base + '-systems.pdftexi']:
|
780
|
+
consider_file(f)
|
781
|
+
if self.formatter.document_language:
|
782
|
+
for f in [base + '.texidoc' + self.formatter.document_language,
|
783
|
+
base + '.doctitle' + self.formatter.document_language]:
|
784
|
+
consider_file(f)
|
785
|
+
|
786
|
+
|
787
|
+
required_files = self.formatter.required_files(
|
788
|
+
self, base, full, result)
|
789
|
+
for f in required_files:
|
790
|
+
require_file(f)
|
791
|
+
|
792
|
+
system_count = 0
|
793
|
+
if not skip_lily and not missing:
|
794
|
+
system_count = int(open(full + '-systems.count', encoding="utf8").read())
|
795
|
+
|
796
|
+
for number in range(1, system_count + 1):
|
797
|
+
systemfile = '%s-%d' % (base, number)
|
798
|
+
require_file(systemfile + '.eps')
|
799
|
+
consider_file(systemfile + '.pdf')
|
800
|
+
consider_file(systemfile + '.png')
|
801
|
+
|
802
|
+
for f in self.additional_files_to_consider(base, full):
|
803
|
+
consider_file(f)
|
804
|
+
|
805
|
+
for f in self.additional_files_required(base, full):
|
806
|
+
require_file(f)
|
807
|
+
|
808
|
+
return (result, missing)
|
809
|
+
|
810
|
+
def is_outdated(self, output_dir):
|
811
|
+
found, missing = self.all_output_files(output_dir)
|
812
|
+
return missing
|
813
|
+
|
814
|
+
def filter_pipe(self, input: bytes, cmd: str) -> bytes:
|
815
|
+
"""Pass input through cmd, and return the result.
|
816
|
+
|
817
|
+
Args:
|
818
|
+
input: the input
|
819
|
+
cmd: a shell command
|
820
|
+
|
821
|
+
Returns:
|
822
|
+
the filtered result
|
823
|
+
"""
|
824
|
+
ly.debug_output(_("Running through filter `%s'") % cmd, True)
|
825
|
+
|
826
|
+
closefds = True
|
827
|
+
if sys.platform == "mingw32":
|
828
|
+
closefds = False
|
829
|
+
|
830
|
+
p = subprocess.Popen(cmd, shell=True, stdin=subprocess.PIPE,
|
831
|
+
stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=closefds)
|
832
|
+
(stdin, stdout, stderr) = (p.stdin, p.stdout, p.stderr)
|
833
|
+
stdin.write(input)
|
834
|
+
status = stdin.close()
|
835
|
+
|
836
|
+
if not status:
|
837
|
+
status = 0
|
838
|
+
output = stdout.read()
|
839
|
+
status = stdout.close()
|
840
|
+
|
841
|
+
# assume stderr always is text
|
842
|
+
err = stderr.read().decode('utf-8')
|
843
|
+
|
844
|
+
if not status:
|
845
|
+
status = 0
|
846
|
+
signal = 0x0f & status
|
847
|
+
if status or (not output and err):
|
848
|
+
exit_status = status >> 8
|
849
|
+
ly.error(_("`%s' failed (%d)") % (cmd, exit_status))
|
850
|
+
ly.error(_("The ly.error log is as follows:"))
|
851
|
+
sys.stderr.write(err)
|
852
|
+
exit(status)
|
853
|
+
|
854
|
+
ly.debug_output('\n')
|
855
|
+
|
856
|
+
return output
|
857
|
+
|
858
|
+
def get_snippet_code(self) -> str:
|
859
|
+
return self.substring('code')
|
860
|
+
|
861
|
+
def filter_text(self):
|
862
|
+
"""Run snippet bodies through a command (say: convert-ly).
|
863
|
+
"""
|
864
|
+
code = self.get_snippet_code().encode('utf-8')
|
865
|
+
output = self.filter_pipe(code, self.global_options.filter_cmd)
|
866
|
+
options = self.match.group('options')
|
867
|
+
if options is None:
|
868
|
+
options = ''
|
869
|
+
d = {
|
870
|
+
'code': output.decode('utf-8'),
|
871
|
+
'options': options,
|
872
|
+
}
|
873
|
+
return self.formatter.output_simple_replacements(FILTER, d)
|
874
|
+
|
875
|
+
def replacement_text(self):
|
876
|
+
base = self.final_basename()
|
877
|
+
return self.formatter.snippet_output(base, self)
|
878
|
+
|
879
|
+
def get_images(self):
|
880
|
+
base = self.final_basename()
|
881
|
+
|
882
|
+
outdir = self.global_options.lily_output_dir
|
883
|
+
single_base= '%s.png' % base
|
884
|
+
single = os.path.join(outdir, single_base)
|
885
|
+
multiple = os.path.join(outdir, '%s-page1.png' % base)
|
886
|
+
images = (single_base,)
|
887
|
+
if (os.path.exists(multiple)
|
888
|
+
and (not os.path.exists(single)
|
889
|
+
or (os.stat(multiple)[stat.ST_MTIME]
|
890
|
+
> os.stat(single)[stat.ST_MTIME]))):
|
891
|
+
count = ps_page_count(os.path.join(outdir, '%s.eps' % base))
|
892
|
+
images = ['%s-page%d.png' % (base, page)
|
893
|
+
for page in range(1, count+1)]
|
894
|
+
images = tuple(images)
|
895
|
+
|
896
|
+
return images
|
897
|
+
|
898
|
+
|
899
|
+
re_begin_verbatim = re.compile(r'\s+%.*?begin verbatim.*\n*', re.M)
|
900
|
+
re_end_verbatim = re.compile(r'\s+%.*?end verbatim.*$', re.M)
|
901
|
+
|
902
|
+
|
903
|
+
class LilypondFileSnippet (LilypondSnippet):
|
904
|
+
def __init__(self, type, match, formatter, line_number, global_options):
|
905
|
+
LilypondSnippet.__init__(
|
906
|
+
self, type, match, formatter, line_number, global_options)
|
907
|
+
self.filename = self.substring('filename')
|
908
|
+
self.contents = None
|
909
|
+
|
910
|
+
def get_contents(self) -> bytes:
|
911
|
+
if not self.contents:
|
912
|
+
path = book_base.find_file(self.filename,
|
913
|
+
self.global_options.include_path)
|
914
|
+
self.contents = open(path, 'rb').read()
|
915
|
+
return self.contents
|
916
|
+
|
917
|
+
def get_snippet_code(self) -> str:
|
918
|
+
return self.get_contents().decode('utf-8')
|
919
|
+
|
920
|
+
def verb_ly(self):
|
921
|
+
s = self.get_snippet_code()
|
922
|
+
s = re_begin_verbatim.split(s)[-1]
|
923
|
+
s = re_end_verbatim.split(s)[0]
|
924
|
+
if not NOGETTEXT in self.option_dict:
|
925
|
+
s = self.verb_ly_gettext(s)
|
926
|
+
if not s.endswith('\n'):
|
927
|
+
s += '\n'
|
928
|
+
return s
|
929
|
+
|
930
|
+
def ly(self):
|
931
|
+
name = self.filename
|
932
|
+
return ('\\sourcefilename \"%s\"\n\\sourcefileline 0\n%s'
|
933
|
+
% (name, self.get_snippet_code()))
|
934
|
+
|
935
|
+
def final_basename(self):
|
936
|
+
if self.global_options.use_source_file_names:
|
937
|
+
base = os.path.splitext(os.path.basename(self.filename))[0]
|
938
|
+
return base
|
939
|
+
else:
|
940
|
+
return self.basename()
|
941
|
+
|
942
|
+
|
943
|
+
class MusicXMLFileSnippet (LilypondFileSnippet):
|
944
|
+
def __init__(self, type, match, formatter, line_number, global_options):
|
945
|
+
LilypondFileSnippet.__init__(
|
946
|
+
self, type, match, formatter, line_number, global_options)
|
947
|
+
self.compressed = False
|
948
|
+
self.converted_ly = None
|
949
|
+
self.ext = os.path.splitext(os.path.basename(self.filename))[1]
|
950
|
+
self.musicxml_options_dict = {
|
951
|
+
'verbose': '--verbose',
|
952
|
+
'lxml': '--lxml',
|
953
|
+
'compressed': '--compressed',
|
954
|
+
'relative': '--relative',
|
955
|
+
'absolute': '--absolute',
|
956
|
+
'no-articulation-directions': '--no-articulation-directions',
|
957
|
+
'no-rest-positions': '--no-rest-positions',
|
958
|
+
'no-page-layout': '--no-page-layout',
|
959
|
+
'no-beaming': '--no-beaming',
|
960
|
+
'language': '--language',
|
961
|
+
}
|
962
|
+
|
963
|
+
def snippet_options(self):
|
964
|
+
return list(self.musicxml_options_dict.keys())
|
965
|
+
|
966
|
+
def convert_from_musicxml(self):
|
967
|
+
name = self.filename
|
968
|
+
xml2ly_option_list = []
|
969
|
+
for (key, value) in list(self.option_dict.items()):
|
970
|
+
cmd_key = self.musicxml_options_dict.get(key, None)
|
971
|
+
if cmd_key is None:
|
972
|
+
continue
|
973
|
+
if value is None:
|
974
|
+
xml2ly_option_list.append(cmd_key)
|
975
|
+
else:
|
976
|
+
xml2ly_option_list.append(cmd_key + '=' + value)
|
977
|
+
if ('.mxl' in name) and ('--compressed' not in xml2ly_option_list):
|
978
|
+
xml2ly_option_list.append('--compressed')
|
979
|
+
self.compressed = True
|
980
|
+
opts = " ".join(xml2ly_option_list)
|
981
|
+
ly.progress(_("Converting MusicXML file `%s'...") % self.filename)
|
982
|
+
|
983
|
+
cmd = 'musicxml2ly %s --out=- - ' % opts
|
984
|
+
ly_code = self.filter_pipe(self.get_contents(), cmd).decode('utf-8')
|
985
|
+
return ly_code
|
986
|
+
|
987
|
+
def ly(self):
|
988
|
+
if self.converted_ly is None:
|
989
|
+
self.converted_ly = self.convert_from_musicxml()
|
990
|
+
name = self.filename
|
991
|
+
return ('\\sourcefilename \"%s\"\n\\sourcefileline 0\n%s'
|
992
|
+
% (name, self.converted_ly))
|
993
|
+
|
994
|
+
def write_ly(self):
|
995
|
+
base = self.basename()
|
996
|
+
path = os.path.join(self.global_options.lily_output_dir, base)
|
997
|
+
directory = os.path.split(path)[0]
|
998
|
+
os.makedirs(directory, exist_ok=True)
|
999
|
+
|
1000
|
+
# First write the XML to a file (so we can link it!)
|
1001
|
+
if self.compressed:
|
1002
|
+
xmlfilename = path + '.mxl'
|
1003
|
+
else:
|
1004
|
+
xmlfilename = path + '.xml'
|
1005
|
+
if os.path.exists(xmlfilename):
|
1006
|
+
diff_against_existing = self.filter_pipe(
|
1007
|
+
self.get_contents(), 'diff -u %s - ' % xmlfilename)
|
1008
|
+
if diff_against_existing:
|
1009
|
+
ly.warning(_("%s: duplicate filename but different contents of original file,\n\
|
1010
|
+
printing diff against existing file.") % xmlfilename)
|
1011
|
+
sys.stderr.write(diff_against_existing.decode('utf-8'))
|
1012
|
+
else:
|
1013
|
+
out = open(xmlfilename, 'wb')
|
1014
|
+
out.write(self.get_contents())
|
1015
|
+
out.close()
|
1016
|
+
|
1017
|
+
# also write the converted lilypond
|
1018
|
+
filename = path + '.ly'
|
1019
|
+
if os.path.exists(filename):
|
1020
|
+
encoded = self.full_ly().encode('utf-8')
|
1021
|
+
cmd = 'diff -u %s -' % filename
|
1022
|
+
diff_against_existing = self.filter_pipe(
|
1023
|
+
encoded, cmd).decode('utf-8')
|
1024
|
+
if diff_against_existing:
|
1025
|
+
ly.warning(_("%s: duplicate filename but different contents of converted lilypond file,\n\
|
1026
|
+
printing diff against existing file.") % filename)
|
1027
|
+
sys.stderr.write(diff_against_existing.decode('utf-8'))
|
1028
|
+
else:
|
1029
|
+
out = open(filename, 'w', encoding='utf-8')
|
1030
|
+
out.write(self.full_ly())
|
1031
|
+
out.close()
|
1032
|
+
|
1033
|
+
|
1034
|
+
class LilyPondVersionString (Snippet):
|
1035
|
+
"""A string that does not require extra memory."""
|
1036
|
+
|
1037
|
+
def __init__(self, type, match, formatter, line_number, global_options):
|
1038
|
+
Snippet.__init__(self, type, match, formatter,
|
1039
|
+
line_number, global_options)
|
1040
|
+
|
1041
|
+
def replacement_text(self):
|
1042
|
+
return self.formatter.output_simple(self.type, self)
|
1043
|
+
|
1044
|
+
|
1045
|
+
snippet_type_to_class = {
|
1046
|
+
'lilypond_file': LilypondFileSnippet,
|
1047
|
+
'lilypond_block': LilypondSnippet,
|
1048
|
+
'lilypond': LilypondSnippet,
|
1049
|
+
'include': IncludeSnippet,
|
1050
|
+
'lilypondversion': LilyPondVersionString,
|
1051
|
+
'musicxml_file': MusicXMLFileSnippet,
|
1052
|
+
}
|