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

15
LINES

< > BotCompany Repo | #1019692 // Machine-to-machine Chat Bot [dev.]

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

Libraryless. Click here for Pure Java version (14654L/101K).

!7

module M2MChatBot > DynPrintLog {
  start {
    dm_vmBus_onMessage('gotFromPrivateMachineChat, voidfunc(fS sender, fS s) enter {
      switch to q();
      dm_m2mChat_send(sender, answer(sender, s));
    });
  }
  
  S answer(S sender, S s) {
    if "You there?" ret "Yo";
    null;
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 11 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

-
Snippet ID: #1019692
Snippet name: Machine-to-machine Chat Bot [dev.]
Eternal ID of this version: #1019692/4
Text MD5: c1edffddd14010b080ad3911b63fac67
Transpilation MD5: 55479573b31be6d50e94a543ce6817ad
Author: stefan
Category: javax / stefan's os
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-19 15:05:19
Source code size: 306 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 290 / 1778
Version history: 3 change(s)
Referenced in: