Uses 911K of libraries. Click here for Pure Java version (19177L/114K).
!7 cmodule GRawBot > DynPrintLog { bool debug; transient new GazelleContextCache_v2 contextCache; start { ownResource(contextCache.listenToMessages()); contextCache.alwaysFullRefresh(); dm_vmBus_onMessage('gazelleActionableLine, vf<S> processLine); } void processLine(S lineID) q { print("Processing line: " + lineID); GazelleLine line = gazelle_lineForGlobalID(lineID); if (line == null) ret with print("Line not found"); S content = line.text; print("Text: " + content); LS preContext = null; // TODO O[] params = litmapparams(+preContext, badComments := mechCISet("Knock-out rule comments"), respondingToHuman := !line.bot, +debug, contextMaker := contextCache); L<GazelleTree> l = gazelle_reason_repeat(content, params); pnl(l); print(); } }
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: | #1022791 |
Snippet name: | Gazelle: Raw Bot (processes actionable lines) |
Eternal ID of this version: | #1022791/4 |
Text MD5: | 4b95a8422a54097dd725f72d2f308d3f |
Transpilation MD5: | f10bf7620fd7de33d84288ddeacafb0c |
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-04-07 16:39:39 |
Source code size: | 882 bytes / 32 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 244 / 688 |
Version history: | 3 change(s) |
Referenced in: | [show references] |