11 releases (7 breaking)

0.7.1 Dec 13, 2023
0.7.0 Nov 7, 2023
0.6.1 Mar 27, 2024
0.6.0 Sep 20, 2023
0.2.0 Nov 23, 2022

#9 in #odra

Download history 61/week @ 2024-02-14 54/week @ 2024-02-21 22/week @ 2024-02-28 7/week @ 2024-03-06 10/week @ 2024-03-13 1/week @ 2024-03-20 86/week @ 2024-03-27 37/week @ 2024-04-03

124 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
~45K SLoC