competition entry: mycroft

Started by cormullion, December 17, 2008, 09:26:39 AM

Previous topic - Next topic

cormullion

I've cobbled together my competition entry for this year: mycroft. It's a basic profiler thingy. You can find it here:



http://unbalanced-parentheses.nfshost.com/downloads/mycroft.nl">//http://unbalanced-parentheses.nfshost.com/downloads/mycroft.nl



You use it on the command line:


    newlisp mycroft.nl your-newlisp-file

or

mycroft.nl your-newlisp-file




and the report it generates is called your-newlisp-file-my.html, which is HTML.



There are two important things your newlisp file must do: it must contain the exit function (yeah...) and it must have some functions defined using define. (Other ways of defining functions, such as Kazimir's (set ' ... (lambda) aren't profiled... :( )



I've only managed to test it on MacOS X, my own code, and Safari/Firefox/Opera ... It would be great if it at least works on other OSs...! Working in other platform-specific browsers would also be cool :)



Send me PMs or emails with bugs if you like...!