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

8
LINES

< > BotCompany Repo | #1027662 // CruddieScript

JavaX fragment (include)

sclass CruddieScript {
  swappable void assume(S fact) {}
  S answer(S s) { null; }
  
  // make match function locally overridable
  swappable bool match(S pat, S s, Matches m) { ret match3(pat, s, m); }
  bool match(S pat, S s) { ret match(pat, s, null); }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027662
Snippet name: CruddieScript
Eternal ID of this version: #1027662/2
Text MD5: ff4ef70d2675d24533c49a9b9570da7e
Author: stefan
Category: javax / chat bots
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-29 22:22:22
Source code size: 267 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 197 / 454
Version history: 1 change(s)
Referenced in: #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674)