38 stable releases

new 1.12.0 May 13, 2024
1.11.0 Mar 30, 2024
1.10.0 Oct 20, 2023
1.9.1 Jul 24, 2023
1.0.4 Nov 7, 2020

#934 in Programming languages

Download history 11/week @ 2024-01-24 4/week @ 2024-01-31 15/week @ 2024-02-07 18/week @ 2024-02-14 36/week @ 2024-02-21 41/week @ 2024-02-28 27/week @ 2024-03-06 28/week @ 2024-03-13 27/week @ 2024-03-20 208/week @ 2024-03-27 60/week @ 2024-04-03 16/week @ 2024-04-10 15/week @ 2024-04-17 28/week @ 2024-04-24 17/week @ 2024-05-01 170/week @ 2024-05-08

233 downloads per month
Used in 15 crates (13 directly)

GPL-3.0 license

455KB
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–23MB
~379K SLoC