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

21
LINES

< > BotCompany Repo | #1010797 // Pattern Matching [OK]

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (14449L/101K).

!7

p {
  downloadTypicalWebs();
  
  Web searchWeb;
  printWeb(searchWeb = loadWeb("cvmdbunidbsagqug"));
  
  L<Web> webs = indexedWebs("Sentence");
  print(n(webs, "web"));
  
  new L<Map<WebNode>> mappings;
  for (Web web : webs) {
    Map<WebNode> mapping = web_matchAllPerms_x(searchWeb, web, f nodeMatch_dollarVars);
    addIfNotNull(mappings, mapping);
  }
    
  web_printMappings(mappings);
  
  print("Answers: " + getFromAll(mappings, web_findNode(searchWeb, "$X")));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1010797
Snippet name: Pattern Matching [OK]
Eternal ID of this version: #1010797/10
Text MD5: 4b21cbe176b755e5952af9e1bc888877
Transpilation MD5: cc62bef01b338cd3a501dde86d599366
Author: stefan
Category: javax / a.i.
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-03 22:59:01
Source code size: 500 bytes / 21 lines
Pitched / IR pitched: No / No
Views / Downloads: 516 / 1169
Version history: 9 change(s)
Referenced in: [show references]