42 stable releases

Uses new Rust 2024

new 2.5.0 Apr 3, 2025
2.4.1 Dec 17, 2024
2.3.0 Sep 19, 2024
1.12.0 May 13, 2024
1.0.4 Nov 7, 2020

#858 in Magic Beans

Download history 176/week @ 2024-12-16 14/week @ 2024-12-23 4/week @ 2024-12-30 10/week @ 2025-01-06 4/week @ 2025-01-13 7/week @ 2025-02-03 165/week @ 2025-02-10 10/week @ 2025-02-17 53/week @ 2025-02-24 83/week @ 2025-03-03 14/week @ 2025-03-10 3/week @ 2025-03-17 1/week @ 2025-03-24 129/week @ 2025-03-31

148 downloads per month
Used in 16 crates (14 directly)

GPL-3.0 license

485KB
9K SLoC

The abstract syntax tree (ast) for a Leo program.

This module contains the [Ast] type, a wrapper around the Program type. The [Ast] type is intended to be parsed and modified by different passes of the Leo compiler. The Leo compiler can generate a set of R1CS constraints from any [Ast].


leo-ast

Crates.io Authors License

Dependencies

~10–22MB
~322K SLoC