Re: Parse scheme ast

2017-07-20 Thread David Kastrup
Hlöðver Sigurðsson writes: > (sorry for spamming but I forgot to do "reply all" and post to the list > itself) > > An essay by Erik Sandberg had confused me (at closer look I was only > confused not that the thesis was confusing), > > the word I should be using is not ast but

Re: Parse scheme ast

2017-07-20 Thread Hlöðver Sigurðsson
(sorry for spamming but I forgot to do "reply all" and post to the list itself) An essay by Erik Sandberg had confused me (at closer look I was only confused not that the thesis was confusing), the word I should be using is not ast but music streams. Reading an older thread:

Re: Parse scheme ast

2017-07-20 Thread caagr98
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

Re: Parse scheme ast

2017-07-20 Thread David Kastrup
Hlöðver Sigurðsson writes: > Yes, that's why I wanted to experiment with boycutting the .ly->scheme-ast > transformation step. I'm a much better lisper than c, so it's bit unclear > to me what's going on (i've done parsers tough in the past). Are these > public functions here

Re: Parse scheme ast

2017-07-20 Thread Hlöðver Sigurðsson
Yes, that's why I wanted to experiment with boycutting the .ly->scheme-ast transformation step. I'm a much better lisper than c, so it's bit unclear to me what's going on (i've done parsers tough in the past). Are these public functions here maybe what I'm after

Re: Parse scheme ast

2017-07-20 Thread David Kastrup
Hlöðver Sigurðsson writes: > 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 .