static void handler_jfucnngqsmgrrgdm() { // for each token X in Y: Z addAlwaysRuleHandler("jfucnngqsmgrrgdm", voidfunc(Lisp l) { S tokenVar = l.raw(0), text = l.unq(1); Lisp out = l.get(2); S ruleID = applyAlwaysRules_ruleID(); print("for each: " + text + " => " + out); for (S token : javaTokC(text)) emit(lispReplaceVars(out, litmap(tokenVar, lisp(token))), ruleID); unemit(ruleID); }); }
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: | 713 / 719 |
| Referenced in: | [show references] |