Download Jar. Libraryless. Click here for Pure Java version (6711L/49K).
!7 !include once #1017600 // Computation Tree Include v2 sclass ToParse extends ObjectNode<S> { *(S *obj) {} } sclass OptionsNode extends CTNode {} sclass InterpretAs extends ObjectNode<S> { *(S *obj) {} } sclass CNCSplit extends ObjectNode<LS> { *(LS *obj) {} } p-exp { ToParse root = new("Test me buddy"); new OptionsNode options; root.add(options); options.add(InterpretAs("sentence")); L<S> tok = javaTok(root.obj); if (l(tok) > 1) { int i = l(tok)-2; // C token options.add(CNCSplit(ll( first(tok), joinSubList(tok, 1, i-1), tok.get(i-1), joinSubList(tok, i, l(tok)-1), last(tok)))); } showFrame(jCTDynamicTree(root)); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017603 |
Snippet name: | Test me buddy Spike [OK] |
Eternal ID of this version: | #1017603/8 |
Text MD5: | bd1de1b32731373b3146384cffc3c21c |
Transpilation MD5: | 14208ffaba8c77b03ddbf183817630f0 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-29 17:48:54 |
Source code size: | 713 bytes / 27 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 370 / 888 |
Version history: | 7 change(s) |
Referenced in: | -