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

20
LINES

< > BotCompany Repo | #1023114 // Make User Profile [dev.]

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

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

!7

cmodule MakeUserProfile > DynPrintLogAndEnabled {
  new JTitleAndBulletPoints data;
  
  visual wrap(data);
  
  S answer(S s) {
    new Matches m;
    if "my name is *" data.setTitle($1);
    S x = switcheroo_iToHe(s);
    if (neqic(x, s))
      data.addBulletPoint(dropPrefixIC("He ", htmlEncode2(x)));
    null;
  }
  
  start {
    dm_onTopInput_q(vf<S> answer);
  }
}

Author comment

Began life as a copy of #1023090

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: #1023114
Snippet name: Make User Profile [dev.]
Eternal ID of this version: #1023114/6
Text MD5: e888b2d6cde9b04bf79b96de5fe8a19d
Transpilation MD5: 82261b2b737615bbca7bf8e94bb9084f
Author: stefan
Category: javax / stefan's os / a.i.
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-05-05 23:23:55
Source code size: 395 bytes / 20 lines
Pitched / IR pitched: No / No
Views / Downloads: 305 / 826
Version history: 5 change(s)
Referenced in: [show references]