10 stable releases

1.5.3 Jul 30, 2021
1.5.2 Jun 21, 2021
1.4.0 Apr 15, 2021
1.2.3 Feb 27, 2021

#17 in #leo


Used in 4 crates (2 directly)

GPL-3.0 license

760KB
15K SLoC

leo-asg

Crates.io Authors License


lib.rs:

The abstract semantic graph (ASG) for a Leo program.

This module contains the [Asg] type, an abstract data type that represents a Leo program as a series of graph nodes. The [Asg] type is at a greater level of abstraction than an [Ast].

A new [Asg] type can be created from an [Ast]. Converting to an [Asg] provides greater type safety by canonicalizing and checking program types.

Dependencies

~12–28MB
~415K SLoC