37 stable releases

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

#863 in Programming languages

Download history 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 23/week @ 2024-03-21 230/week @ 2024-03-28 35/week @ 2024-04-04

321 downloads per month
Used in 15 crates (13 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

~11–26MB
~393K SLoC