41 stable releases

new 2.4.1 Dec 17, 2024
2.3.0 Sep 19, 2024
1.12.0 May 13, 2024
1.11.0 Mar 30, 2024
1.0.4 Nov 7, 2020

#438 in Magic Beans

Download history 39/week @ 2024-08-30 19/week @ 2024-09-06 161/week @ 2024-09-13 114/week @ 2024-09-20 31/week @ 2024-09-27 16/week @ 2024-10-04 28/week @ 2024-10-11 11/week @ 2024-10-18 4/week @ 2024-10-25 19/week @ 2024-11-01 5/week @ 2024-11-08 8/week @ 2024-11-15 15/week @ 2024-11-22 153/week @ 2024-11-29 185/week @ 2024-12-06 156/week @ 2024-12-13

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

GPL-3.0 license

485KB
9K SLoC

leo-ast

Crates.io Authors License


lib.rs:

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].

Dependencies

~10–21MB
~322K SLoC