Libraryless. Click here for Pure Java version (3461L/24K/80K).
1 | !759 |
2 | |
3 | !include #1003413 // LooseBot v5 |
4 | |
5 | static O preprocessor = func(S in) {
|
6 | S s = findLastQuoted(in); |
7 | ret s == null ? null : parsePoemLine(s).type(); |
8 | }; |
9 | |
10 | static O makeBot(S theme) {
|
11 | OccTree2 botTree = makeOccTree(theme); |
12 | LooseBot bot = new LooseBot(botTree); |
13 | bot.grabber = makeGrabber(botTree, preprocessor); |
14 | ret bot; |
15 | } |
16 | |
17 | p {
|
18 | substanceLAF("BusinessBlueSteel");
|
19 | new BotChat(makeBot("Let's examine your input"));
|
20 | } |
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: | 921 / 1236 |
| Referenced in: | [show references] |