aboutsummaryrefslogtreecommitdiff
path: root/examples/working-compiler/unclean-macro.test
blob: 9adf9906dc9dfc77edef23041428c7a563081e55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ ==text =*handler
  text "(.)=(.*)" regex -- < == > handler
} /mappingParser deffst

{ ==scope ==code ==text
  { ==var
      { var -01 . }
      < "$" deffst { * }' scope >' --
    code -01 *
  } text mappingParser
} /scopeSplicer deffst

sys .|executeIdentifier "✨" deffd
{ "}\"" | * ✨scope ✨scopeSplicer }" "}✨" defq

{ /before ==v
  "C=Hello World" {
    v dump 
    $C dump
    /after =v
    /result
  }✨ dump
  v dump
} *

# vim: syn=elymas