Add macro support
[normand.git] / tests / pass-readme-learn-macro-exp-1.nt
1 !macro bake()
2 {le} {ICITTE * 8 : 16}
3 u16le"predict explode"
4 !end
5
6 "hello [" m:bake() "] world"
7
8 m:bake() * 5
9 ---
10 68 65 6c 6c 6f 20 5b 38 00 70 00 72 00 65 00 64
11 00 69 00 63 00 74 00 20 00 65 00 78 00 70 00 6c
12 00 6f 00 64 00 65 00 5d 20 77 6f 72 6c 64 70 01
13 70 00 72 00 65 00 64 00 69 00 63 00 74 00 20 00
14 65 00 78 00 70 00 6c 00 6f 00 64 00 65 00 70 02
15 70 00 72 00 65 00 64 00 69 00 63 00 74 00 20 00
16 65 00 78 00 70 00 6c 00 6f 00 64 00 65 00 70 03
17 70 00 72 00 65 00 64 00 69 00 63 00 74 00 20 00
18 65 00 78 00 70 00 6c 00 6f 00 64 00 65 00 70 04
19 70 00 72 00 65 00 64 00 69 00 63 00 74 00 20 00
20 65 00 78 00 70 00 6c 00 6f 00 64 00 65 00 70 05
21 70 00 72 00 65 00 64 00 69 00 63 00 74 00 20 00
22 65 00 78 00 70 00 6c 00 6f 00 64 00 65 00
This page took 0.030575 seconds and 4 git commands to generate.