lexpr: S-expressions for Rust
[]
= "0.1.3"
You may be looking for:
S-expressions are the
human-readable, textual representation of code and data in the Lisp
family of languages. lexpr
aims to provide the tools to:
-
Embed S-expression data into Rust programs using the
sexp
macro:use sexp; let address = sexp!;
-
Construct and destructure S-expression data using a full-featured API:
use Value; let names = list; println!;
-
Parse and serialize S-expression data from and to its textual representation.
To get a better idea of the direction lexpr
is headed, you may want
to take at the TODO or the "why"
document.
Licensing
The code and documentation in the lexpr
git repository is free
software, dual-licensed
under the MIT or Apache-2.0
license, at your choosing.
The lexpr
repository contains code and documentation adapted from
the following projects:
serde_json
, also dual-licensed under MIT/Apache-2.0 licenses.sexpr
, Copyright 2017 Zephyr Pellerin, dual-licensed under the same licenses.