reilabs / hieratika

Efforts to compile LLVM bytecode to run on top of the CairoVM and hence execute provably on Starknet
http://starknet.io
Apache License 2.0
2 stars 0 forks source link

Compile Cairo to `.flo` #73

Open iamrecursion opened 1 month ago

iamrecursion commented 1 month ago

Description

Given we have had to deal with linking sooner rather than later, we now need the ability to emit .flo instead of FlatLowered from a Cairo compiler. For features that we do not currently support in .flo, these should be dropped and issues filed, but for things we do, the primary work will be to map between constructs and to map between typing.

This has to cope with arbitrary Cairo source and not just our polyfills, even though the initial version is to make our polyfills work.

Spec