Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

17
LINES

< > BotCompany Repo | #1017212 // Word To Function [dev.]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

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  
}

Author comment

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: 288 / 399
Referenced in: [show references]