static void assertLispScriptSucceeds(S script) { int i = 0; L<Lisp> lines = linesToLisp(script); for (Lisp cmd : lines) { O executor = getLispExecutor(cmd.head); if (executor == null) fail("No executor for " + cmd); callF(executor, cmd); print("Executed line " + (++i) + " of " + l(lines)); } }
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: | 613 / 558 |
Referenced in: | [show references] |