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

!include once #1027630 // Msg

cmodule NewEngineSpike > DynPrintLog {
  L<Msg> msgs;
  
  start-thread {
    if (empty(msgs))
      setField(msgs := mainCruddieLog());
    print("Have " + nMessages(msgs));
    pnlStruct(takeFirst(2, msgs));
    L<Msg> msgs2 = whereFieldIsTrue fromUser(msgs);
    new L props;
    for (Msg msg : takeFirst(5, msgs2))
      print(addAndReturn(props, ll(msg, "was understood correctly")));
    props.add(print(ll(get(msgs2, 5),"is a wrong recognition")));
    O pat = ll("$x", "was Understood correctly");
    for (O prop : props) {
      print(prop);
      print("  => " + mapToStringWithSize(newGazelle_deepZip1(pat, prop)));
    }
  }
}

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: 141 / 750
Version history: 26 change(s)
Referenced in: [show references]