Title here
Summary here
Our first program will print the classic “hello world” message. Here’s the full source code.
To run the program, save the code in a file with a .lisp
extension and then use a Lisp interpreter like SBCL (Steel Bank Common Lisp) to execute it.
Sometimes we’ll want to compile our programs into binaries. With SBCL, you can compile a Lisp file into an executable.
First, save the following additional code to hello-world.lisp
:
Then, run the following commands:
We can then execute the built binary directly.
Now that we can run and build basic Lisp programs, let’s learn more about the language.