I have no idea what that specific AST comes from (did you invent it
yourself?), but I think you're looking for (make-music) expressions,
which are what is created from music expressions before being passed to
the engravers. Check out \displayScheme (or (display-scheme-music)
(talking about lisp inside parens is awkward)) and
http://lilypond.org/doc/v2.19/Documentation/internals/music-expressions
for more info.
On 07/20/2017 04:40 PM, Hlöðver Sigurðsson wrote:
Hi lilyponders,
I'm looking to find a way to transpile code to lilypond, I know how to
generate an ast like this
((context . 0) (class . CreateContext) (unique . 1) (ops) (type . Score)
(id . "\\new"))
((context . 1) (class . CreateContext) (unique . 2) (ops) (type .
StaffGroup) (id . "\\new"))
((context . 2) (class . CreateContext) (unique . 3) (ops) (type . Staff)
(id . "\\new"))
((context . 3) (class . CreateContext) (unique . 4) (ops) (type . Voice)
(id . ""))
but I have no idea where in GUILE/lilypond this would get parsed to
output. Some hints where to get started?
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user