11 ms·
The reason nobody can give you an example for how to make a binary is because there are many many different ways of doing that. To name just a few: * in ABCL y
by pavelludiq 8y ago
The reason nobody can give you an example for how to make a binary is because there are many many different ways of doing that. To name just a few:
* in ABCL you would generate a jar file, just like with java or clojure
* in SBCL you could dump a core file, there are some tools that can package that up in a command line binary
* if you use a bytecode compiler(like clisp), you'd use that the same way like python or ruby, you'd put your script in a text file, with a #! line at the top and run it like any other shell script.
* if you use a Lisp->C compiler, you'd generate C code and then compile that with GCC or Visual Studio or whatever
* if you use image based programming, you'd just load your code in the lisp image and just use lisp itself as your command line, your "binary" would then be just a normal lisp function.
* If you're deploying a service, you might want to package it in a docker image or even a VM image or have some build and deploy script depending on your environment or needs.
I'm probably missing some, but that's the basics.
- deleted 8y ago[deleted]