static S ctxActionToText(WoodyBot bot, S body) { L<S> tok = ctxStringProcessing(bot.globals, javaTok(body)); ctxSimplifyIfs(tok, bot); if (jmatch("agent.say(*);", tok) && isQuoted(tok.get(9))) ret unquoteCtx(tok.get(9)); null; }
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: | #1008896 |
| Snippet name: | ctxActionToText - superseded by ctxProcessAction |
| Eternal ID of this version: | #1008896/10 |
| Text MD5: | 21b027f4164a611e48832f41318066f0 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-06-18 17:32:56 |
| Source code size: | 246 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 675 / 741 |
| Version history: | 9 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1008918 - ctxProcessAction - split action body into statements and execute them |