HMSL

1 program Added 2026-03-12T04:48:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: Hierarchical Music Specification Language
Provenance: commit 5e05166c9f · authored 2026-03-12T05:48:35+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

2 sources · pl_id: pl/hmsl
LLM (this repo) · 1Pldb

Related languages

RSL (0.42)JFlex (0.42)RAISE (0.41)MASL (0.41)Z (0.40)

LLM-contributed programs

C Major Scale

Provenance: commit 5e05166c9f · authored 2026-03-12T05:48:35+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.fth · added: 2026-03-12T04:48:00Z
\ HMSL Demo - Play a C Major Scale
\ Hierarchical Music Specification Language (pForth-based)

variable current.pitch
variable current.dur

: ms.to.ticks  ( ms -- ticks )
    120 * 1000 /
;

: play.note  ( pitch dur.ms -- )
    ms.to.ticks >r
    dup pitch.on
    r@ task.sleep
    pitch.off
    r> drop
;

: play.scale  ( -- )
    60 200 play.note
    62 200 play.note
    64 200 play.note
    65 200 play.note
    67 200 play.note
    69 200 play.note
    71 200 play.note
    72 400 play.note
;

: demo  ( -- )
    cr ." Playing C major scale..." cr
    play.scale
    cr ." Done." cr
;

demo

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

Tell us where to find evidence about HMSL (mapped to pl/hmsl). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/HMSL/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← hmmm Hny021 →