eclector

2018-07-11

Eclector: A portable and extensible Common Lisp Reader

Introduction

The eclector system provides a portable implementation of a reader following the Common Lisp specification.

eclector is in an early phase of its development. Its ASDF system structure, package structure, exported symbols and protocols may all change at any time without prior notice.

Tutorial

Basics

In the simplest case, the eclector reader can be used like any Common Lisp reader:

(with-input-from-string (stream "(1 2 3)")
  (eclector.reader:read stream))

Concrete Syntax Trees

The eclector.concrete-syntax-tree system provides a variant of the eclector reader that produces instances of the concrete syntax tree classes provided by the concrete syntax tree library:

(with-input-from-string (stream "(1 2 3)")
  (eclector.concrete-syntax-tree:cst-read stream))
Author
Robert Strandh, Jan Moringen
Maintainer
Jan Moringen
License
BSD