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

19
LINES

< > BotCompany Repo | #1001169 // Program runner (for local and remote clients)

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (842L/7K/21K).

1  
!747
2  
3  
m {
4  
  p {
5  
    makeAndroid("Program runner.");
6  
  }
7  
  
8  
  static synchronized S answer(S s) {
9  
    new Matches m;
10  
    
11  
    if (match3("please run this program: *", s, m)) {
12  
      print("Running " + m.m[0] + "...");
13  
      callMain(hotwire(unquote(m.m[0])));
14  
      return "ok";
15  
    }
16  
    
17  
    return null;
18  
  }
19  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001169
Snippet name: Program runner (for local and remote clients)
Eternal ID of this version: #1001169/1
Text MD5: 38c84760c12e2d8e5daacd4543562e24
Transpilation MD5: 3c88108aae798b7e743c181dd341ce82
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-09-25 20:43:15
Source code size: 329 bytes / 19 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 580 / 610
Referenced in: [show references]