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

14
LINES

< > BotCompany Repo | #1012731 // parse_start

JavaX fragment (include)

1  
static ParseEnv parse_start(S input) {
2  
  new ParseEnv env;
3  
  env.ts = newThoughtSpace();
4  
  try {
5  
    env.ts.blockedA = litsymbolset("We", "Suggest");
6  
    input = trim(input);
7  
    env.input = input;
8  
    print("Have input: " + input);
9  
    post("We", "are parsing", quote(input));
10  
    ret env;
11  
  } on fail {
12  
    env.close();
13  
  }
14  
}

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: #1012731
Snippet name: parse_start
Eternal ID of this version: #1012731/2
Text MD5: 421d022153c912a97a38f993e622cafa
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-11 15:11:35
Source code size: 342 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 370 / 399
Version history: 1 change(s)
Referenced in: [show references]