37 stable releases

new 1.11.0 Mar 30, 2024
1.10.0 Oct 20, 2023
1.9.4 Sep 8, 2023
1.9.1 Jul 24, 2023
1.0.4 Nov 7, 2020

#880 in Programming languages

Download history 17/week @ 2023-12-07 12/week @ 2023-12-14 11/week @ 2023-12-21 7/week @ 2023-12-28 6/week @ 2024-01-04 11/week @ 2024-01-11 13/week @ 2024-01-18 11/week @ 2024-01-25 5/week @ 2024-02-01 14/week @ 2024-02-08 19/week @ 2024-02-15 43/week @ 2024-02-22 37/week @ 2024-02-29 32/week @ 2024-03-07 24/week @ 2024-03-14 19/week @ 2024-03-21

120 downloads per month
Used in 12 crates (11 directly)

GPL-3.0 license

460KB
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–24MB
~370K SLoC