Thun/implementations/Prolog/issues/interpolation-literal

14 lines
213 B
Plaintext

What about a kind of interpolation literal?
{} -> []
\n -> nth stack item.
So:
a b c { \0 { \2 { \0 \1 }}}
---------------------------------
[ c [ a [ c b ]]]
And so on...