newlisp app as tgz

Started by rrq, June 07, 2015, 09:25:44 PM

Previous topic - Next topic

rrq

Newlisp is as fun as always, and in the spirit of it I like to point you at

http://www.realthing.com.au/files/newlisp/lsptar.lsp">//http://www.realthing.com.au/files/newlisp/lsptar.lsp

which is a couple of stanzas to run newlisp programs in/from/as tar files (compressed or uncompressed). This is to let you package up a program of many lsp files into a tgz file, and then run this elsewhere without unpacking them; kind of an alternative to embedding.



EDIT: that last polishing I did before presenting it here splashed egg in my face :-(

Obviously it held the bug of failing on anything but for "run the first file" option...

I've uploaded the corrected version now.