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

20
LINES

< > BotCompany Repo | #1002375 // What Is An Adjective Bot

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

Libraryless. Click here for Pure Java version (1753L/12K/40K).

!752

static new TreeSet<S> notList;

p {
  loadMicrotheory("#1002373");
}

static void loadMicrotheory(S snippetID) {
  S text = loadSnippetThroughBot(snippetID);
  new Matches m;
  if (match("* is not an adjective", text, m))
    notList.add(m.unq(0).toLowerCase());
}

answer {
  if "is * an adjective"
    if (notList.contains(m.unq(0).toLowerCase()))
      ret "No";
}

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: #1002375
Snippet name: What Is An Adjective Bot
Eternal ID of this version: #1002375/1
Text MD5: cd63c8e760f86168c63639abae45c9e0
Transpilation MD5: 77e08f210566970716aae243dab96866
Author: stefan
Category: eleu
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-01-12 17:26:13
Source code size: 392 bytes / 20 lines
Pitched / IR pitched: No / No
Views / Downloads: 709 / 1397
Referenced in: [show references]