1 | // returns safeUnstructure()'d result |
2 | // code can be an expression or a list of statements |
3 | static O quickPhoneEval(S code) {
|
4 | // Code to run on the phone spontaneously |
5 | S src = evalJava_prep(code, "_calc"); |
6 | S answer = quickRunOnPhone(src); |
7 | if (!swic(answer, "ok ")) |
8 | fail(print(unquote(answer))); |
9 | |
10 | ret safeUnstructure(answer.substring(3)); |
11 | } |
Began life as a copy of #1004622
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1004623 |
| Snippet name: | quickPhoneEval |
| Eternal ID of this version: | #1004623/1 |
| Text MD5: | 115e2aef37c2cc158184e1e80aab13a1 |
| Author: | stefan |
| Category: | javax / super cool stuff! |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-12-13 02:02:27 |
| Source code size: | 364 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 774 / 749 |
| Referenced in: | [show references] |