Libraryless. Click here for Pure Java version (3533L/24K/77K).
1 | !759 |
2 | |
3 | p {
|
4 | printStructure(snlToTree(""));
|
5 | printStructure(snlToTree(" // comment"));
|
6 | printStructure(snlToTree("i [= x]"));
|
7 | printStructure(snlToTree("X + 1"));
|
8 | printStructure(snlToTree("x + 1"));
|
9 | printStructure(snlToTree("1 + 1"));
|
10 | printStructure(snlToTree("for [x] and [y]"));
|
11 | printStructure(snlToTree("[in X]"));
|
12 | printStructure(snlToTree("[in S X]"));
|
13 | } |
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
| ID | Author/Program | Comment | Date |
|---|---|---|---|
| 1211 | stefan | Aha - yields l("") in both cases | 2016-02-18 19:07:05 |
| Snippet ID: | #1002731 |
| Snippet name: | Test snlToTree with empty string and "x + 1" and other cases |
| Eternal ID of this version: | #1002731/1 |
| Text MD5: | 3c0e060ef21829dcdaf57b63ca6b6bf4 |
| Transpilation MD5: | 24659954e085f5fa05eb05bb3eda14ba |
| Author: | stefan |
| Category: | snl |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-02-25 21:16:19 |
| Source code size: | 382 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1272 / 1402 |
| Referenced in: | [show references] |