12 releases (7 breaking)

0.7.1 Dec 13, 2023
0.7.0 Nov 7, 2023
0.6.2 May 8, 2024
0.6.1 Mar 27, 2024
0.2.0 Nov 23, 2022

#72 in #intermediate-representation

Download history 2/week @ 2024-08-23 7/week @ 2024-08-30 19/week @ 2024-09-20 3/week @ 2024-09-27

877 downloads per month
Used in 2 crates

MIT license

66KB
1.5K SLoC

Odra Lang IR (Intermediate Representation)

odra-ir parses code into structs that can later by used by odra-codegen.


lib.rs:

Odra intermediate representation (IR) and abstractions.

This module defines everything Odra procedural macro needs in order to parse, analyze and generate code for smart contracts.

This crate takes care of parsing and analyzing code. This process may fail return syn::Error.

All the items are based on syn with special variants for Odra impl items.

Dependencies

~2MB
~49K SLoC