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

13
LINES

< > BotCompany Repo | #1007745 // web_expandOperations2

JavaX fragment (include)

static void web_expandOperations2(Web web) {
  for (LispStatement rule : lispStatementsByHead("pqnfhkzxoqkaoyqk")) {
    S toExpand = rule.term.s(0);
    //print("Expanding " + toExpand);
    for (WebNode node : web.clearPot(rule.globalID))
      for (Lisp lbl : node.labels)
        if (lbl.is(toExpand)) {
          //print("  Expanding " + lbl);
          for (Lisp child : lbl)
            web.node(child);
        }
  }
}

Author comment

Began life as a copy of #1007720

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: #1007745
Snippet name: web_expandOperations2
Eternal ID of this version: #1007745/3
Text MD5: 16f848ae45b20a5722f12633f5789401
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-03 07:04:21
Source code size: 438 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 418 / 457
Version history: 2 change(s)
Referenced in: [show references]