ScoreScript Language wiki

Normalization option reference

Generated from the native formatter menu built with this wiki. Read consolidation and normalization for recipes, refusal conditions, comment handling, and the difference between compact spacing and musical reuse. Check your installed build with scorescript format --list.

arrange

part streams, measure systems, system breaks or rehearsal sections.

GroupValuesAvailabilityDefault on
orientationparts, measures, systems, rehearsalsImplementedNo

maps

meter/key/tempo/transpose: header maps, or at mN { … } in place; system/page cuts are separate.

GroupValuesAvailabilityDefault on
mapstop, inlineImplementedNo

hoist-breaks

replace matching per-part system/page maps with ONE score-level map.

GroupValuesAvailabilityDefault on
mapsBare switchImplementedNo

labels

written headings as a map at the top, or on the bars they head.

GroupValuesAvailabilityDefault on
mapstop, inlineImplementedNo

exercises

the collection as a header index, or each exercise owning its music from m1.

GroupValuesAvailabilityDefault on
mapstop, inlineImplementedNo

sections

the book's sections as a map at the top, or holding their exercises.

GroupValuesAvailabilityDefault on
mapstop, inlineImplementedNo

expand

one line the rest read -> every reader's part written out (consolidate, backwards).

GroupValuesAvailabilityDefault on
consolidationBare switchImplementedNo

consolidate

identical, transposed or octave-translated part bodies -> one line the rest read.

GroupValuesAvailabilityDefault on
consolidationBare switchImplementedNo

named-spans

a repeated bar range written once and named.

GroupValuesAvailabilityDefault on
consolidationBare switchComingNo

Not available: consolidate writes them inside a head; spans have no door outside one.

durations

how a duration is written: 4Eb or qEb.

GroupValuesAvailabilityDefault on
spellingnumbers, lettersImplementedYes

key

decide the file's key spelling: no signature, or the one it implies.

GroupValuesAvailabilityDefault on
spellingopen, signature, autoImplementedNo

chromatic

inside a chromatic run: sharps ascending, flats descending.

GroupValuesAvailabilityDefault on
spellingBare switchImplementedNo

octaves

the octave digit: only where the ladder needs it, or pinned on every note.

GroupValuesAvailabilityDefault on
spellingminimal, explicitComingNo

Not available: the octave ladder runs unconditionally inside emit; needs a Style axis.

preset

a PRESET: one word for a whole selection (see the presets below).

GroupValuesAvailabilityDefault on
compressionreadable, condensed, maxImplementedNo

align

pad grid cells so the barlines line up down the page.

GroupValuesAvailabilityDefault on
compressionon, offImplementedYes

compact

no indent, no padding, no blank lines — one edit, one line.

GroupValuesAvailabilityDefault on
compressionon, offImplementedNo

strip-dev-text

remove header text that is dev jargon, never a name or a real subtitle.

GroupValuesAvailabilityDefault on
lintBare switchImplementedNo

strip-comments

remove every // comment, so a score can be made comment-free by the tool.

GroupValuesAvailabilityDefault on
lintBare switchImplementedNo

jargon-lint

report (never rewrite) student-facing text carrying internal jargon.

GroupValuesAvailabilityDefault on
lintBare switchImplementedNo

Presets

SelectorExact expansion
preset=readablealign=on, compact=off, maps=top
preset=condensedcompact=on, align=off, hoist-breaks, maps=top, durations=numbers
preset=maxcompact=on, align=off, hoist-breaks, maps=top, durations=numbers, strip-dev-text, consolidate

The named-spans entry being marked coming does not mean named reuse is missing: consolidate already writes named ranges inside shared reader heads. Write a named exercise.

Machine-readable menu