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

11
LINES

< > BotCompany Repo | #1002531 // jparse1 - uses new parser

JavaX fragment (include)

static O jparse1_parser;

// only parse, no explain
static synchronized O jparse1(S text) {
  if (jparse1_parser == null) {
    jparse1_parser = run_overBot("#1002719");
    setOpt(jparse1_parser, "keepRules", true);
  }
  //setOpt(jparse1_parser, "debug", true);
  ret call(jparse1_parser, "jparse", text);
}

Author comment

Began life as a copy of #1002399

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: #1002531
Snippet name: jparse1 - uses new parser
Eternal ID of this version: #1002531/1
Text MD5: 8ce08f27fe239d4d2b1d7387e7a10f7b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-02-18 19:12:59
Source code size: 319 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 694 / 699
Referenced in: #1002556 - jclasses - check which classes a Java(X) source parses as
#1002684 - parse1 - uses new parser
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1008816 - parseBottomUp - parse using bottom-up parser and arbitrary rules (not threadsafe)
#3000202 - Answer for stefanreich (>> T conversion bot)
#3000238 - Answer for stefanreich (>> t power bot)
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)