sonatina-codegen

Crates.iosonatina-codegen
lib.rssonatina-codegen
version0.0.3-alpha
sourcesrc
created_at2022-11-07 15:45:10.255282
updated_at2022-11-10 13:30:52.487093
descriptionHigh-performance code generator for smart contract
homepagehttps://github.com/fe-lang/sonatina/tree/main/crates/codegen
repositoryhttps://github.com/fe-lang/sonatina
max_upload_size
id707302
size365,083
Yoshitomo Nakanishi (Y-Nak)

documentation

README

Sonatina

Sonatina is a compiler backend specialized for smart contracts.

Sonatina is really early stage in development, so do NOT use it for production!

Project layout

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.

TODO

Test

Run test_all.sh.

Commit count: 274

cargo fmt