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

22
LINES

< > BotCompany Repo | #1027736 // New Engine Spike [dev.]

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

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

1  
!include once #1027630 // Msg
2  
3  
cmodule NewEngineSpike > DynPrintLog {
4  
  L<Msg> msgs;
5  
  
6  
  start-thread {
7  
    if (empty(msgs))
8  
      setField(msgs := mainCruddieLog());
9  
    print("Have " + nMessages(msgs));
10  
    pnlStruct(takeFirst(2, msgs));
11  
    L<Msg> msgs2 = whereFieldIsTrue fromUser(msgs);
12  
    new L props;
13  
    for (Msg msg : takeFirst(5, msgs2))
14  
      print(addAndReturn(props, ll(msg, "was understood correctly")));
15  
    props.add(print(ll(get(msgs2, 5),"is a wrong recognition")));
16  
    O pat = ll("$x", "was Understood correctly");
17  
    for (O prop : props) {
18  
      print(prop);
19  
      print("  => " + mapToStringWithSize(newGazelle_deepZip1(pat, prop)));
20  
    }
21  
  }
22  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1027736
Snippet name: New Engine Spike [dev.]
Eternal ID of this version: #1027736/27
Text MD5: b436ad2b4c27b0208c90ded54676c73a
Transpilation MD5: c37fc361288129287caaaa6eb9432c67
Author: stefan
Category:
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-09 23:26:39
Source code size: 670 bytes / 22 lines
Pitched / IR pitched: No / No
Views / Downloads: 206 / 832
Version history: 26 change(s)
Referenced in: [show references]