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

27
LINES

< > BotCompany Repo | #1007504 // Logic [dev.]

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

Uses 3874K of libraries. Click here for Pure Java version (9068L/62K/210K).

!7

static new L<S> inferred;

p-subst {
  aiEnhancements();
  for (Lisp l : parsedTrueStatements_cached())
    if (l.is("oxxavewomeqofkmi")) {
      Lisp c = first(l);
      for (Lisp a : dropFirst(l))
        add(lisp("lezvyibhouajgsrs", c, a));
    }
  if (nempty(inferred)) awt {
    showControls(jbutton("Add " + n(inferred, "statements"), r-thread "Adding Truth" {
      addTruth(inferred);
    }));
  }
}

svoid add(Lisp l) {
  S s = clUnparse(l);
  if (setAdd(inferred, s)) {
    //print("  => " + l);
    print("  => " + conceptLanguageToEnglish(s));
    print("  //   " + s);
  }
}

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: #1007504
Snippet name: Logic [dev.]
Eternal ID of this version: #1007504/13
Text MD5: 7501824ecaab281bf00aceb287917c49
Transpilation MD5: 980b45303b5232967bd0f019094b06ed
Author: stefan
Category: javax / a.i.
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-25 18:35:45
Source code size: 617 bytes / 27 lines
Pitched / IR pitched: No / No
Views / Downloads: 548 / 673
Version history: 12 change(s)
Referenced in: [show references]