1 | static void handler_jfucnngqsmgrrgdm() { |
2 | // for each token X in Y: Z |
3 | addAlwaysRuleHandler("jfucnngqsmgrrgdm", voidfunc(Lisp l) { |
4 | S tokenVar = l.raw(0), text = l.unq(1); |
5 | Lisp out = l.get(2); |
6 | S ruleID = applyAlwaysRules_ruleID(); |
7 | print("for each: " + text + " => " + out); |
8 | for (S token : javaTokC(text)) |
9 | emit(lispReplaceVars(out, litmap(tokenVar, lisp(token))), ruleID); |
10 | unemit(ruleID); |
11 | }); |
12 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1008216 |
Snippet name: | handler_jfucnngqsmgrrgdm |
Eternal ID of this version: | #1008216/1 |
Text MD5: | 9abe1c6538ada414c59b586c8e127d24 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-04-30 17:41:17 |
Source code size: | 437 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 510 / 503 |
Referenced in: | [show references] |