Skip to content
A minimal S-expression library for D.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
source
.gitignore
README.md
dub.json
dub.selections.json

README.md

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))");
You can’t perform that action at this time.