Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brandonbloom/libclj
Embeddable reader and printer for Clojure forms
https://github.com/brandonbloom/libclj
Last synced: 2 months ago
JSON representation
Embeddable reader and printer for Clojure forms
- Host: GitHub
- URL: https://github.com/brandonbloom/libclj
- Owner: brandonbloom
- License: mit
- Created: 2012-07-09T00:07:34.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-09-07T03:49:13.000Z (over 12 years ago)
- Last Synced: 2024-10-03T05:10:22.043Z (3 months ago)
- Language: C
- Size: 139 KB
- Stars: 18
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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"](https://github.com/richhickey/edn)There is also the beginnings of a [Ruby extension](https://github.com/brandonbloom/libclj-ruby).
### 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.