Description

A minimal S-expression library

Package Information

Version0.0.1 (2015-Sep-28)
Repositoryhttps://github.com/agatan/sexp-d
LicenseMIT
CopyrightCopyright © 2015, agatan
Authorsagatan
Registered byagatan
Dependenciesnone

Installation

To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Readme

A minimal S-expression library for D.

This library is for handling S-expressions. Provides conversion functions between S-expression data and S-expression string.

Example

import sexp;

Sexp s = parse("(+ 1 (- 3 2))");
assert(s.toString == "(+ 1 (- 3 2))");

Sexp consed = s.cons(0);
assert(consed.toString == "(0 + 1 (- 3 2))");

Available versions

0.0.1 ~master