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).

1  
!752
2  
3  
static new TreeSet<S> notList;
4  
5  
p {
6  
  loadMicrotheory("#1002373");
7  
}
8  
9  
static void loadMicrotheory(S snippetID) {
10  
  S text = loadSnippetThroughBot(snippetID);
11  
  new Matches m;
12  
  if (match("* is not an adjective", text, m))
13  
    notList.add(m.unq(0).toLowerCase());
14  
}
15  
16  
answer {
17  
  if "is * an adjective"
18  
    if (notList.contains(m.unq(0).toLowerCase()))
19  
      ret "No";
20  
}

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: 612 / 1291
Referenced in: [show references]