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)

1  
static Lisp nlParseExpand(S text) {
2  
  Lisp tree = nlParse(text);
3  
  if (!nlIsMultipleStatements(text))
4  
    ret lisp("[]", tree);
5  
  else
6  
    ret tree;
7  
}

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