> That's just wild handwaving. Something like > > bing = cis' > bing = { $bing 2-2 } > \score { > \bing > } > > does not resolve in such a manner since the _structure_ of the > expression containing $bing cannot be resolved without knowing the type > of bing at the time $bing is encountered. You cannot postpone > assignments when parsing at the top level file level.
Yes, but I do not understand how this would be a problem? I’m not at all talking about postponing assignment. > > I do not mean to say that assignments should not be performed, but > > that they should be performed in a different scope, which we then make > > accessible from the original scope. > > That has nothing whatsoever to do with parsing and parsing structures. Yes it does. Lilypond appears to handle this in the symbol definition and lookup in the lexer, but still it is part of what a parser needs to do.
signature.asc
Description: This is a digitally signed message part.