1 | static void assertLispScriptSucceeds(S script) { |
2 | int i = 0; |
3 | L<Lisp> lines = linesToLisp(script); |
4 | for (Lisp cmd : lines) { |
5 | O executor = getLispExecutor(cmd.head); |
6 | if (executor == null) fail("No executor for " + cmd); |
7 | callF(executor, cmd); |
8 | print("Executed line " + (++i) + " of " + l(lines)); |
9 | } |
10 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1008201 |
Snippet name: | assertLispScriptSucceeds |
Eternal ID of this version: | #1008201/1 |
Text MD5: | f311d599050da0a145ca793999a03491 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-04-29 23:54:20 |
Source code size: | 327 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 614 / 559 |
Referenced in: | [show references] |