Been steadily working on the False interpreter, lambda support fully operational and tested on a number of examples from
Rosetta Code. All relatively straightforward, and now making the hideous mistake of extending the command set, starting with stacking timers, used for coarse performance measurement, example below:
1: { Ethiopian multiplication }
2: )stEM)[2/]h:[2*]d:[1&]o:[0[@$][$o;![@@\$@+@]?h;!@d;!@]#%\%]m:
3: "
4: Ethiopian, 17 and 34: "
5: 17 34m;!.{578}
6: "
7: ")ct)
Line 2 uses the start timer command ")st" and execution time is dumped to the console at Line 7 with )ct.
No comments:
Post a Comment