Skip to content
Languages / Common Lisp

Common Lisp

How Atracode compiles Common Lisp, what it is verified against, and what it refuses.

Style
Functional
Verified against
SBCL
Published results
Per release, in the changelog

What is supported

Lists, closures, macros expanded at compile time, conditions mapped to traps, and exact bignums and rationals.

Full algebraic and lazy semantics.

How it is verified

Every Common Lisp program is compiled twice, once by Atracode and once by SBCL. Both builds run over the same large set of inputs and must agree bit for bit in output and memory before the compile succeeds. See verification for how the sweep works.

$ atracode compile main.src
verified  raven:3f1c…  (illustrative)

What gets refused

Anything that depends on the world outside the program, such as the clock, the network, environment variables or unseeded randomness, is refused at its exact line and column instead of being approximated. Pass those values in as inputs and compile again. Refusals lists the common causes and fixes.

  • HaskellVerified against GHC 9.6.6
  • OCamlVerified against OCaml 4.14.1
  • F#Verified against .NET SDK
  • ElmVerified against Elm compiler
  • PureScriptVerified against purs
  • ReScriptVerified against ReScript compiler
esc

Type to search titles, headings and text.