[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
"unroll code"
From: |
Gianmaria Lari |
Subject: |
"unroll code" |
Date: |
Fri, 13 May 2016 23:01:12 +0200 |
Is there any tool to "unroll" the code. For instance, suppose you have
something like this...
\version "2.19.40"
fragment.1 =
{
a b c d
}
fragment.2 =
{
e f g a
}
music =
{
\repeat unfold 3 {\fragment.1}
\repeat unfold 2 {\fragment.1 \fragment.2}
}
\score
{
\music
\layout{}
}
.... is there any way to transform it in this:
\score
{
{
a b c d
a b c d
a b c d
a b c d
e f g a
a b c d
e f g a
}
\layout{}
}
?
- "unroll code",
Gianmaria Lari <=
- Re: "unroll code", Andrew Bernard, 2016/05/14
- Re: "unroll code", Robert Schmaus, 2016/05/14
- Re: "unroll code", Andrew Bernard, 2016/05/14
- Re: "unroll code", David Wright, 2016/05/14
- Re: "unroll code", Gianmaria Lari, 2016/05/14
- Re: "unroll code", address@hidden, 2016/05/15
- Re: "unroll code", David Wright, 2016/05/15
- Re: "unroll code", Paul, 2016/05/15
- Re: "unroll code", Robert Schmaus, 2016/05/15
- Re: "unroll code", Urs Liska, 2016/05/16