Libraryless. Click here for Pure Java version (15779L/111K).
1 | !7 |
2 | |
3 | set flag NoFancyMechParsing. |
4 | |
5 | sclass MatchInput > DynPrintLogWithInput { |
6 | start { dm_useLocallyCopiedMechLists(); } |
7 | |
8 | void update(S s) { |
9 | L<S> tok = printStruct(javaTokWithAngleBracketsC(print("\n> ", s))); |
10 | SS categories = mechMapCI("Word categories"); |
11 | |
12 | printStruct(categories); |
13 | |
14 | for (S word : tok) |
15 | printIfNempty(mechMapCI("Word => Function").get(word)); |
16 | } |
17 | } |
Began life as a copy of #1017210
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017212 |
Snippet name: | Word To Function [dev.] |
Eternal ID of this version: | #1017212/1 |
Text MD5: | ff3b273820c8a23a101c2cf5ddf5db78 |
Transpilation MD5: | faa2f0f859043d3956f5ab0a2e32c864 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-14 12:22:46 |
Source code size: | 413 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 400 / 544 |
Referenced in: | [show references] |