Libraryless. Click here for Pure Java version (18713L/136K).
1 | !7 |
2 | |
3 | sclass BottomUpParser > DynSCPWithInput { |
4 | start { |
5 | set flag DynModule. // for transpilation |
6 | dm_useLocallyCopiedMechLists(); set flag NoFancyMechParsing. |
7 | ai_parser_activateStandardFunctions(); |
8 | } |
9 | |
10 | void update(S s) { |
11 | temp enter(); |
12 | if (!isShowing()) { inputChooser.forgetInput(); ret; } |
13 | |
14 | PTElement root = ai_parseBottomUpToTree(s); |
15 | ai_cullParseTree(root); |
16 | setComponent(jDynamicTree(root, func(final PTElement e) -> L<PTElement> { e == null ? null : e.children })); |
17 | } |
18 | } |
Began life as a copy of #1017395
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: | #1017435 |
Snippet name: | English Culled Parse Tree (OK) |
Eternal ID of this version: | #1017435/4 |
Text MD5: | 1c49a62ad75d2ee50ca275c07322090c |
Transpilation MD5: | 3c6577f15e1ff815fe52ea9cf1eb9fed |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-20 15:50:08 |
Source code size: | 530 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 398 / 3227 |
Version history: | 3 change(s) |
Referenced in: | [show references] |