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

7
LINES

< > BotCompany Repo | #1002889 // nlParseExpand - nlParse and expand if only one statement

JavaX fragment (include)

static Lisp nlParseExpand(S text) {
  Lisp tree = nlParse(text);
  if (!nlIsMultipleStatements(text))
    ret lisp("[]", tree);
  else
    ret tree;
}

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: #1002889
Snippet name: nlParseExpand - nlParse and expand if only one statement
Eternal ID of this version: #1002889/1
Text MD5: 2ac58fdecf02263f195ae6e2d8999a43
Author: stefan
Category: eleu / nl
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-03-24 20:34:34
Source code size: 156 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 550 / 501
Referenced in: [show references]