All Projects → brandonbloom → libclj

brandonbloom / libclj

Licence: MIT license
Embeddable reader and printer for Clojure forms

Programming Languages

c
50402 projects - #5 most used programming language
clojure
4091 projects

Overview

This is an implementation of Clojure's reader in C.

It's got a relatively complete tokenizer, but is far from complete as a useful parser.

I'm publishing this source code in its incomplete form for two reasons:

  1. I don't have more time to work on it, right now.
  2. Rich Hickey published a spec for "EDN"

There is also the beginnings of a Ruby extension.

Design

The reader machinery uses a callback, rather than return values. This simplified the memory management strategy, allows for streaming readers to be implemented, and creates flexibility for language extension implementers.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].