Libraryless. Click here for Pure Java version (3533L/24K/77K).
!759 p { printStructure(snlToTree("")); printStructure(snlToTree(" // comment")); printStructure(snlToTree("i [= x]")); printStructure(snlToTree("X + 1")); printStructure(snlToTree("x + 1")); printStructure(snlToTree("1 + 1")); printStructure(snlToTree("for [x] and [y]")); printStructure(snlToTree("[in X]")); printStructure(snlToTree("[in S X]")); }
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: | 1270 / 1399 |
| Referenced in: | #1002735 - Test parsing SNL lines #3000382 - Answer for ferdie (>> t = 1, f = 0) #3000383 - Answer for funkoverflow (>> t=1, f=0 okay) |