1
5
2
7
Scott L. Burson: Teaser: CL-Torch! (scottlburson2.blogspot.com)
3
7
submitted 2 weeks ago by cm0002@suppo.fi to c/lisp@programming.dev

Two years since the last version (eight since the last mayor release) one of the community’s most beloved dialects is undergoing significant changes.

4
2
submitted 3 weeks ago by cm0002@lemdro.id to c/lisp@programming.dev
5
7
Jolt — Clojure on Chez Scheme (jolt-lang.github.io)
submitted 1 month ago by cm0002@europe.pub to c/lisp@programming.dev

A Clojure implementation on Chez Scheme. Self-hosted compiler, Clojure-compatible standard library, no JVM.

by @yogthos@lemmy.ml

(yooo Awesome project!!!)

6
11
submitted 1 month ago by cm0002@suppo.fi to c/lisp@programming.dev
7
1
8
8
9
9
submitted 2 months ago by cm0002@infosec.pub to c/lisp@programming.dev
10
0
Lambda Ring (libl.in)
submitted 2 months ago by cm0002@infosec.pub to c/lisp@programming.dev
11
16
submitted 2 months ago by cm0002@mander.xyz to c/lisp@programming.dev

In honor of the contributions made by Church and McCarthy, I wrote this project and the accompanying article to show how anyone can write a tiny Lisp interpreter in a few lines of C or in any "C-like" programming language for that matter. I attempted to preserve the original meaning and flavor of Lisp as much as possible. As a result, the C code in this project is strongly Lisp-like in compact form. Despite being small, these tiny Lisp interpreters in C include 21 built-in Lisp primitives, simple garbage collection and REPL, which makes them a bit more practical than a toy example. If desired, more Lisp features can be easily added with a few more lines of C as explained in my article with examples that are ready for you to try.

There is more: two sequels to tinylisp

In addition to tinylisp, I've written two other small classic Lisp implementations that share similarities with tinylisp, but expanded to include over 40 built-in Lisp primitives, strings, macros, exceptions, execution tracing, file loading, and a REPL:

  • Lisp in 1k lines of C with garbage collector, explained uses mark-sweep/compacting garbage collection. Unlike tinylisp however, a separate pool of free cons pair cells is used to construct lists. The garbage collector frees up space in the pool using mark-sweep. Space is freed up in the atom/string heap by compacting the heap after mark-sweep using pointer reversal.
  • Lisp in 1k lines of C with Cheney's copying garbage collector, explained uses Cheney's copying garbage collector. Like tinylisp, a stack is used to efficiently construct lists, i.e. by pushing two cells at a time on the stack to allocate cons pairs. Heap allocation simply pushes atom/string space up from the bottom of the heap (towards the stack). The garbage collector frees up stack and heap space by copying the active cons pair cells, atoms and strings to a new stack/heap.
12
2
submitted 2 months ago by crmsnbleyd@sopuli.xyz to c/lisp@programming.dev
13
5
Why Janet? (ianthehenry.com)
submitted 2 months ago by crmsnbleyd@sopuli.xyz to c/lisp@programming.dev
14
4
Racket v9.2 released (blog.racket-lang.org)
submitted 3 months ago by cm0002@lemdro.id to c/lisp@programming.dev
15
4
submitted 3 months ago by crmsnbleyd@sopuli.xyz to c/lisp@programming.dev
16
7
Lisp in Vim (susam.net)
submitted 3 months ago by cm0002@lemmings.world to c/lisp@programming.dev
17
1
submitted 3 months ago by cm0002@infosec.pub to c/lisp@programming.dev
18
4
submitted 3 months ago by cm0002@infosec.pub to c/lisp@programming.dev
19
6
submitted 3 months ago by cm0002@toast.ooo to c/lisp@programming.dev
20
18
submitted 4 months ago by crmsnbleyd@sopuli.xyz to c/lisp@programming.dev
21
5
submitted 4 months ago by cm0002@suppo.fi to c/lisp@programming.dev
22
3
submitted 4 months ago by cm0002@libretechni.ca to c/lisp@programming.dev
23
5
Announcing Guile Knots (www.cbaines.net)
24
5
submitted 5 months ago by cm0002@suppo.fi to c/lisp@programming.dev
25
6
submitted 5 months ago by cm0002@suppo.fi to c/lisp@programming.dev
view more: next ›

Lisp

504 readers
1 users here now

founded 3 years ago
MODERATORS