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

10
LINES

< > BotCompany Repo | #1002837 // A Simple NL Parser Bot

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

Libraryless. Click here for Pure Java version (1304L/9K/29K).

!752

answer {
  if (swic(s, "nl ")) exceptionToUser {
    s = dropPrefixIgnoreCase("nl ", s);
    Lisp tree = nlParse(s);
    S un = nlUnparse(tree);
    ret str(tree + "\n" + un);
  }
}

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: #1002837
Snippet name: A Simple NL Parser Bot
Eternal ID of this version: #1002837/1
Text MD5: 65d74bfe6efc2df40c0cad5dac742744
Transpilation MD5: d24396fb2fa9e8e3f923116f1f37e7fc
Author: stefan
Category: eleu / nl
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-03-03 22:21:01
Source code size: 196 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 649 / 888
Referenced in: [show references]