1 | static Class runLocalHot(S fileName) {
|
2 | File f = userFile("Documents/Hot Code/" + fileName);
|
3 | S code = loadTextFile(f); |
4 | if (code == null) |
5 | fail("File not found: " + f2s(f));
|
6 | printIndent("| ", code);
|
7 | |
8 | print("Hotwiring \*fileName*/...");
|
9 | Class main = hotwireSource(code); |
10 | print("Running!");
|
11 | callMain(main); |
12 | ret main; |
13 | } |
Began life as a copy of #1005142
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1005151 |
| Snippet name: | runLocalHot |
| Eternal ID of this version: | #1005151/1 |
| Text MD5: | c8f5c21dfb46e56550bd95d5194c59f6 |
| Author: | stefan |
| Category: | javax / hot |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-10-17 01:00:21 |
| Source code size: | 349 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 683 / 686 |
| Referenced in: | [show references] |