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

36
LINES

< > BotCompany Repo | #1022590 // Gazelle Line Revisiter & Input Tester etc. (thought helper for web server)

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

Uses 911K of libraries. Click here for Pure Java version (17003L/99K).

!7

set flag DynModule.

cmodule GLineRevisiter > DynPrintLog {
  transient new GazelleContextCache_v2 contextMaker;
  
  start {
    dm_useLocalMechListCopies();
    ownResource(contextMaker.listenToMessages());
    contextMaker.alwaysFullRefresh();
    
    dm_registerAs('gazelleLineRevisiter, 'gazelleInputTester, 'gazelleThoughtHelper);
  }
  
  // API
  
  L<GazelleTree> revisitChatLine(long msgID, O... _) {
    ret dm_evalInQ(func -> L<GazelleTree> {
      dm_gazelle_revisitChatLine(msgID, paramsPlus(_, +contextMaker))
    });
  }
  
  L<GazelleTree> reason(S input, O... _) {
    ret dm_evalInQ(func -> L<GazelleTree> {
      gazelle_reason_repeat(input,
        paramsPlus(_,
          +contextMaker,
          interpretables_out := importCollector(optPar interpretables_out(_))))
    });
  }
  
  LS autoTestRule(S ruleID, O... _) {
    ret gazelle_autoTestRule(ruleID, paramsPlus(_, +contextMaker));
  }
}

Author comment

Began life as a copy of #1022585

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

-
Snippet ID: #1022590
Snippet name: Gazelle Line Revisiter & Input Tester etc. (thought helper for web server)
Eternal ID of this version: #1022590/16
Text MD5: 789bb82807036d069f5bfdfb1aab5faa
Transpilation MD5: fa8b8d135961899e7bc25533aac96640
Author: stefan
Category: javax / gazelle
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-23 16:54:08
Source code size: 955 bytes / 36 lines
Pitched / IR pitched: No / No
Views / Downloads: 312 / 2954
Version history: 15 change(s)
Referenced in: