On 2010/12/20 23:18:37, Neil Puttock wrote:
The code looks pretty good, but I agree with Carl that it's too
complicated.
I'd go even further though: you should only be setting direction if
it's
necessary (just like articulations), so there's no need to pass an
extra
argument to the syntax constructor.  Simply set 'direction inside the
parser
rule itself following the function evaluation.

I've been looking for a way of doing this, but it's a bit too advanced
for me (I suspect there must be something to unsmob somewhere or a Music
object or whatever)... Could you give me a hint?

Cheers,
Valentin

http://codereview.appspot.com/3743043/

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to