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

64
LINES

< > BotCompany Repo | #3000212 // Answer for stefanreich (>> log)

New Tinybrain snippet

Starting on goal: Prolog$Goal(car=l("[]", "500", "=", "smartmul", l("()", l("[]", "50", ",", Prolog$Var(id=0L, instance=r5)))))
  Trying clause: "[]"(_1, "=", intmul, "()"("[]"(_2, ",", _3))) :- native
No match for clause.
  Trying clause: "[]"(_4, "=", intdiv, "()"("[]"(_5, ",", _6))) :- native
No match for clause.
  Trying clause: "[]"(_7, "=", intadd, "()"("[]"(_8, ",", _9))) :- native
No match for clause.
  Trying clause: "[]"(_10, "=", intminus, "()"("[]"(_11, ",", _12))) :- native
No match for clause.
  Trying clause: "[]"(_13, "=", smartmul, "()"("[]"(_14, ",", _15))) :- "[]"(_13, "=", intmul, "()"("[]"(_14, ",", _15)))
New goal: "[]"("500", "=", smartmul, "()"("[]"("50", ",", $x)))
Exception in native: java.lang.NumberFormatException: For input string: "$x"
   Trying clause: "[]"(_16, "=", intmul, "()"("[]"(_17, ",", _18))) :- native
Exception in native: java.lang.NumberFormatException: For input string: "$x"
 Native clause fails
   Trying clause: "[]"(_19, "=", intdiv, "()"("[]"(_20, ",", _21))) :- native
 No match for clause.
   Trying clause: "[]"(_22, "=", intadd, "()"("[]"(_23, ",", _24))) :- native
 No match for clause.
   Trying clause: "[]"(_25, "=", intminus, "()"("[]"(_26, ",", _27))) :- native
 No match for clause.
   Trying clause: "[]"(_28, "=", smartmul, "()"("[]"(_29, ",", _30))) :- "[]"(_28, "=", intmul, "()"("[]"(_29, ",", _30)))
 No match for clause.
   Trying clause: "[]"(_31, "=", smartmul, "()"("[]"(_32, ",", _33))) :- "[]"(_32, "=", intdiv, "()"("[]"(_31, ",", _33)))
 No match for clause.
   Trying clause: "[]"(_34, "=", smartmul, "()"("[]"(_35, ",", _36))) :- "[]"(_36, "=", intdiv, "()"("[]"(_34, ",", _35)))
 No match for clause.
   Trying clause: "[]"("[]"(not, "()"(true)), should, be, false)
 No match for clause.
   Trying clause: "[]"(mrshutco, is, a, human)
 No match for clause.
   Trying clause: "[]"("[]"(not, "()"(false)), should, be, true)
 No match for clause.
  Trying clause: "[]"(_37, "=", smartmul, "()"("[]"(_38, ",", _39))) :- "[]"(_38, "=", intdiv, "()"("[]"(_37, ",", _39)))
New goal: "[]"("500", "=", smartmul, "()"("[]"("50", ",", $x)))
Exception in native: java.lang.NumberFormatException: For input string: "$x"
   Trying clause: "[]"(_40, "=", intmul, "()"("[]"(_41, ",", _42))) :- native
 No match for clause.
   Trying clause: "[]"(_43, "=", intdiv, "()"("[]"(_44, ",", _45))) :- native
Exception in native: java.lang.NumberFormatException: For input string: "$x"
 Native clause fails
   Trying clause: "[]"(_46, "=", intadd, "()"("[]"(_47, ",", _48))) :- native
 No match for clause.
   Trying clause: "[]"(_49, "=", intminus, "()"("[]"(_50, ",", _51))) :- native
 No match for clause.
   Trying clause: "[]"(_52, "=", smartmul, "()"("[]"(_53, ",", _54))) :- "[]"(_52, "=", intmul, "()"("[]"(_53, ",", _54)))
 No match for clause.
   Trying clause: "[]"(_55, "=", smartmul, "()"("[]"(_56, ",", _57))) :- "[]"(_56, "=", intdiv, "()"("[]"(_55, ",", _57)))
 No match for clause.
   Trying clause: "[]"(_58, "=", smartmul, "()"("[]"(_59, ",", _60))) :- "[]"(_60, "=", intdiv, "()"("[]"(_58, ",", _59)))
 No match for clause.
   Trying clause: "[]"("[]"(not, "()"(true)), should, be, false)
 No match for clause.
   Trying clause: "[]"(mrshutco, is, a, human)
 No match for clause.
   Trying clause: "[]"("[]"(not, "()"(false)), should, be, true)
 No match for clause.
  Trying clause: "[]"(_61, "=", smartmul, "()"("[]"(_62, ",", _63))) :- "[]"(_63, "=", intdiv, "()"("[]"(_61, ",", _62)))
New goal: "[]"("500", "=", smartmul, "()"("[]"("50", ",", $x)))
   Trying clause: "[]"(_64, "=", intmul, "()"("[]"(_65, ",", _66))) :- native
 No match for clause.
   Trying clause: "[]"(_67, "=", intdiv, "()"("[]"(_68, ",", _69))) :- native
SUCCESS!

download  show line numbers   

Snippet is not live.

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

No comments. add comment

Snippet ID: #3000212
Snippet name: Answer for stefanreich (>> log)
Eternal ID of this version: #3000212/1
Text MD5: 50b040b60ab05417d07f69e46d435241
Author: someone
Category:
Type: New Tinybrain snippet
Gummipassword: eleutheria-for-user
Uploaded from IP: 69.10.46.185
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-03-05 18:46:49
Source code size: 3724 bytes / 64 lines
Pitched / IR pitched: No / No
Views / Downloads: 511 / 99
Referenced in: [show references]