Get the latest tech news

Lisp interpreter with GC in <750 lines of Odin (and <500 lines of C)


Moved to Forgejo! Contribute to krig/LISP development by creating an account on GitHub.

For more details on how it works, Andy Wingo has a great post about this kind of garbage collector on his blog (wingolog). The version presented in the README is slightly tweaked from the one that can be found in tests/lisp15.scm in order to more closely resemble early LISP rather than scheme:#t and#f are written as t and nil. To prevent reading from continuing indefinitely, each packet should end with STOP followed by a large number of right parentheses.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of lines

lines

Photo of odin

odin

Photo of Lisp interpreter

Lisp interpreter

Related news:

News photo

Make any site multiplayer in a few lines. Serverless WebRTC matchmaking

News photo

Will Smith's concert crowds are real, but AI is blurring the lines

News photo

Plain Text. With Lines