#macro #s-expr #parser #exposed #serialization #value #lexpr

macro lexpr-macros

Internal crate implementing macros exposed by the lexpr crate

6 releases

0.2.2 Mar 16, 2023
0.2.1 Dec 11, 2019
0.2.0 Jun 30, 2019
0.1.2 Mar 1, 2019
0.1.1 Feb 11, 2019

#13 in #exposed

Download history 1946/week @ 2023-11-20 2276/week @ 2023-11-27 2209/week @ 2023-12-04 2487/week @ 2023-12-11 2023/week @ 2023-12-18 1178/week @ 2023-12-25 1614/week @ 2024-01-01 2240/week @ 2024-01-08 1883/week @ 2024-01-15 774/week @ 2024-01-22 720/week @ 2024-01-29 890/week @ 2024-02-05 1413/week @ 2024-02-12 1049/week @ 2024-02-19 854/week @ 2024-02-26 893/week @ 2024-03-04

4,250 downloads per month
Used in 26 crates (via lexpr)

MIT/Apache

12KB
258 lines

lexpr: S-expressions for Rust Build Status Codecov Rustc Version 1.56+

This repository hosts the following crates:

  • lexpr, providing the lexpr::Value type for representing S-expression data, the sexp macro to embed S-expression values into Rust code, as well as a parser and printer for S-expressions. Please refer to crate's README for more information.

  • serde-lexpr, integrating lexpr with Serde, allowing to serialize and deserialize Rust data structures to and from S-expressions.

  • lexpr-macros, an internal crate actually implementing the sexp macro. This crate should be considered an implementation detail, and not be used directly, only via the lexpr crate.

Licensing

The code and documentation in the lexpr-rs 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, all licensed under the same conditions, i.e. dual-licensed under MIT or Apache-2.0 license:


lib.rs:

Internal crate implementing macros exposed by the lexpr crate.

Dependencies

~83KB