diff options
| author | Drahflow <drahflow@gmx.de> | 2016-11-30 00:33:32 +0100 |
|---|---|---|
| committer | Drahflow <drahflow@gmx.de> | 2016-11-30 00:33:32 +0100 |
| commit | 3ce7166ca1a4b3096c83794d48327019102d0a7e (patch) | |
| tree | ec3a7e2ee48411b8a154d9e07b2c157966ec3161 /examples/working-compiler | |
| parent | edfc4f803381e48415ec1aeda245dec6aff33fb9 (diff) | |
Unclean macro example
Diffstat (limited to 'examples/working-compiler')
| -rw-r--r-- | examples/working-compiler/unclean-macro.test | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/examples/working-compiler/unclean-macro.test b/examples/working-compiler/unclean-macro.test new file mode 100644 index 0000000..9adf990 --- /dev/null +++ b/examples/working-compiler/unclean-macro.test @@ -0,0 +1,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 |
