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

20
LINES

< > BotCompany Repo | #1003486 // Let's examine your input!

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

Libraryless. Click here for Pure Java version (3461L/24K/80K).

!759

!include #1003413 // LooseBot v5

static O preprocessor = func(S in) {
  S s = findLastQuoted(in);
  ret s == null ? null : parsePoemLine(s).type();
};

static O makeBot(S theme) {
  OccTree2 botTree = makeOccTree(theme);
  LooseBot bot = new LooseBot(botTree);
  bot.grabber = makeGrabber(botTree, preprocessor);
  ret bot;
}

p {
  substanceLAF("BusinessBlueSteel");
  new BotChat(makeBot("Let's examine your input"));
}

Author comment

Began life as a copy of #1003417

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003486
Snippet name: Let's examine your input!
Eternal ID of this version: #1003486/1
Text MD5: 776297d5ab82401d6783a5535aea9b49
Transpilation MD5: 759fe99a92d838066b1f2477c7efe03a
Author: stefan
Category: javax / talking robots
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-06 03:50:48
Source code size: 447 bytes / 20 lines
Pitched / IR pitched: No / No
Views / Downloads: 615 / 887
Referenced in: [show references]