Crates.io | sonatina-ir |
lib.rs | sonatina-ir |
version | 0.0.3-alpha |
source | src |
created_at | 2022-11-07 15:44:42.916865 |
updated_at | 2022-11-10 13:30:39.85812 |
description | Intermediate representation for sonatina code generator |
homepage | https://github.com/fe-lang/sonatina/tree/main/crates/ir |
repository | https://github.com/fe-lang/sonatina |
max_upload_size | |
id | 707301 |
size | 138,164 |
Sonatina is a compiler backend specialized for smart contracts.
Sonatina is really early stage in development, so do NOT use it for production!
sonatina
consists of several crates.
codegen
: The main crate of sonatina
, providing builder for IR modules and functions, optimization passes, instruction selection DAG, and binary code emitting.filecheck
: Provides test runner for filecheck
and test fixtures.parser
: Parser for sonatina
IR, this is mainly for filecheck
test.object
: Provides abstract object file format for linker.triple
: Provides target triple for smart contracts.Run test_all.sh
.