Libraryless. Click here for Pure Java version (3846L/25K/80K).
1 | !752 |
2 | |
3 | p {
|
4 | for (S s : concatLists(litlist("=", "[= X]", "it [= X]", "[hello < world] [? < yo]"),
|
5 | toLinesFullTrim(loadSnippet("#1002732")))) {
|
6 | print(); |
7 | print(s); |
8 | print(" " + structure(snlTok(s)));
|
9 | //print(" " + structure(snlParse(s)));
|
10 | print(" " + structure(snlToTree(s)));
|
11 | print(" text: " + snlToText(s));
|
12 | } |
13 | } |
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: | 865 / 972 |
| Referenced in: | [show references] |