Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

18
LINES

< > BotCompany Repo | #1017435 // English Culled Parse Tree (OK)

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Libraryless. Click here for Pure Java version (18713L/136K).

!7

sclass BottomUpParser > DynSCPWithInput {
  start {
    set flag DynModule. // for transpilation
    dm_useLocallyCopiedMechLists(); set flag NoFancyMechParsing.
    ai_parser_activateStandardFunctions();
  }
  
  void update(S s) {
    temp enter();
    if (!isShowing()) { inputChooser.forgetInput(); ret; }
    
    PTElement root = ai_parseBottomUpToTree(s);
    ai_cullParseTree(root);
    setComponent(jDynamicTree(root, func(final PTElement e) -> L<PTElement> { e == null ? null : e.children }));
  }
}

Author comment

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: 290 / 3081
Version history: 3 change(s)
Referenced in: [show references]