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

23
LINES

< > BotCompany Repo | #1026112 // A bunch of rewriters [dev.]

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

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

!7

cmodule SomeRewriters > DynPrintLog {
  start-thread {
    func1("Love Baby Yoda, you must");
    func1("Use the force you must!");
    func1("Pay attention you must.");
    func2("You must love baby yoda");
  }
  
  // example input: "Love Baby Yoda, you must"
  void func1(S s) {
    rewriteWithDollarVars(s,
      "$base_vp, you must",
      "You must $base_vp");
  }
  
  void func2(S s) {
    rewriteWithDollarVars(s,
      "You must $base_vp",
      "Must (you $base_vp)");
  }
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1026112
Snippet name: A bunch of rewriters [dev.]
Eternal ID of this version: #1026112/5
Text MD5: 1ffd8bf3c9a4240bbafabf4ace36ce11
Transpilation MD5: 3248633b68575aa1fd866ffabf3a71d0
Author: stefan
Category: javax / a.i.
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-11-25 14:25:04
Source code size: 511 bytes / 23 lines
Pitched / IR pitched: No / No
Views / Downloads: 214 / 364
Version history: 4 change(s)
Referenced in: [show references]