Libraryless. Click here for Pure Java version (733L/5K/17K).
1 | !752 |
2 | |
3 | static S rulesID = "#1002329"; |
4 | |
5 | static O parser; |
6 | |
7 | p { |
8 | parser = run("#1002369"); |
9 | |
10 | parse("bla"); // should parse as explist_opt |
11 | } |
12 | |
13 | static void parse(S text) { |
14 | print(">> " + text + " <<"); |
15 | set(parser, "debug", true); |
16 | O result = call(parser, "parse", text, rulesID); |
17 | L<S> classes = cast call(result, "fullMatchClasses"); |
18 | print("Matched classes: " + structure(classes)); |
19 | printStructure(get(parser, "recog")); |
20 | print(); |
21 | } |
Began life as a copy of #1002326
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1002384 |
Snippet name: | Chase Java Parsing explist_opt bug |
Eternal ID of this version: | #1002384/1 |
Text MD5: | 53b82ead37a6954592c6a13f44ead947 |
Transpilation MD5: | 62272f63ac559e639d46d079e1bc73b4 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-01-16 03:19:19 |
Source code size: | 460 bytes / 21 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 526 / 572 |
Referenced in: | [show references] |