41 stable releases

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

#736 in Programming languages


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–22MB
~321K SLoC