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

7
LINES

< > BotCompany Repo | #1017605 // ai_allLogicRules

JavaX fragment (include)

static L<Pair<S, IfThen>> ai_allLogicRules() {
  new L<Pair<S, IfThen>> rules;
  for (PairS p : combineWithGlobalIDs(splitAtEmptyLines(mL_raw("NL Logic Rules w/IDs")))) pcall {
    rules.add(pair(p.a, nlLogic_parseRule(p.b)));
  }
  ret rules;
}

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: #1017605
Snippet name: ai_allLogicRules
Eternal ID of this version: #1017605/1
Text MD5: 7716faff6f2cb59e135a720cef4f127b
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-29 17:51:20
Source code size: 251 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 341 / 353
Referenced in: [show references]