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

#12 in #leo

23 downloads per month
Used in 4 crates (2 directly)

GPL-3.0 license

1MB
20K SLoC

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.


leo-asg

Crates.io Authors License

Dependencies

~19–35MB
~455K SLoC