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

13
LINES

< > BotCompany Repo | #1002735 // Test parsing SNL lines

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (3846L/25K/80K).

!752

p {
  for (S s : concatLists(litlist("=", "[= X]", "it [= X]", "[hello < world] [? < yo]"),
    toLinesFullTrim(loadSnippet("#1002732")))) {
    print();
    print(s);
    print("  " + structure(snlTok(s)));
    //print("  " + structure(snlParse(s)));
    print("  " + structure(snlToTree(s)));
    print("  text: " + snlToText(s));
  }
}

Author comment

Began life as a copy of #1002731

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: #1002735
Snippet name: Test parsing SNL lines
Eternal ID of this version: #1002735/1
Text MD5: 0ddb3b4350aec390c2d575d166fdd7a2
Transpilation MD5: 2dcf16ffe6f0f361af32f0a80b0edc60
Author: stefan
Category: snl
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-02-19 02:53:42
Source code size: 356 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 577 / 615
Referenced in: [show references]