more reference
This commit is contained in:
18
example/meta_programming.blang
Normal file
18
example/meta_programming.blang
Normal file
@@ -0,0 +1,18 @@
|
||||
^{?>!&++*<!%&++*<<%&+*<
|
||||
%&+*<>%&+*<^%<!}
|
||||
|
||||
^; zero out hand
|
||||
{?>; set return point; if hand is non-zero, print hand
|
||||
!&++*; palm the chart; add 2 to palm; splat the new chart
|
||||
<!%; write '!' to the new chart position
|
||||
&++*; palm the chart; add 2 to palm; splat the new chart
|
||||
<<%; write '<' to the new chart position
|
||||
&+*; advance the chart one space
|
||||
<
|
||||
%; write '\n' to the new chart position
|
||||
&+*; advance the chart one space
|
||||
<>%; write '>' to the new chart position
|
||||
&+*; advance the chart one space
|
||||
<^%; write '^' to the new chart position
|
||||
<!; palm '!'
|
||||
}; return
|
||||
Reference in New Issue
Block a user