Uses 911K of libraries. Click here for Pure Java version (3887L/20K).
1 | !7 |
2 | |
3 | cmodule SomeRewriters > DynPrintLog { |
4 | start-thread { |
5 | func1("Love Baby Yoda, you must"); |
6 | func1("Use the force you must!"); |
7 | func1("Pay attention you must."); |
8 | func2("You must love baby yoda"); |
9 | } |
10 | |
11 | // example input: "Love Baby Yoda, you must" |
12 | void func1(S s) { |
13 | rewriteWithDollarVars(s, |
14 | "$base_vp, you must", |
15 | "You must $base_vp"); |
16 | } |
17 | |
18 | void func2(S s) { |
19 | rewriteWithDollarVars(s, |
20 | "You must $base_vp", |
21 | "Must (you $base_vp)"); |
22 | } |
23 | } |
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: | 215 / 365 |
Version history: | 4 change(s) |
Referenced in: | [show references] |