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).

1  
!7
2  
3  
set flag DynModule.
4  
5  
cmodule GLineRevisiter > DynPrintLog {
6  
  transient new GazelleContextCache_v2 contextMaker;
7  
  
8  
  start {
9  
    dm_useLocalMechListCopies();
10  
    ownResource(contextMaker.listenToMessages());
11  
    contextMaker.alwaysFullRefresh();
12  
    
13  
    dm_registerAs('gazelleLineRevisiter, 'gazelleInputTester, 'gazelleThoughtHelper);
14  
  }
15  
  
16  
  // API
17  
  
18  
  L<GazelleTree> revisitChatLine(long msgID, O... _) {
19  
    ret dm_evalInQ(func -> L<GazelleTree> {
20  
      dm_gazelle_revisitChatLine(msgID, paramsPlus(_, +contextMaker))
21  
    });
22  
  }
23  
  
24  
  L<GazelleTree> reason(S input, O... _) {
25  
    ret dm_evalInQ(func -> L<GazelleTree> {
26  
      gazelle_reason_repeat(input,
27  
        paramsPlus(_,
28  
          +contextMaker,
29  
          interpretables_out := importCollector(optPar interpretables_out(_))))
30  
    });
31  
  }
32  
  
33  
  LS autoTestRule(S ruleID, O... _) {
34  
    ret gazelle_autoTestRule(ruleID, paramsPlus(_, +contextMaker));
35  
  }
36  
}

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: 313 / 2955
Version history: 15 change(s)
Referenced in: [show references]