anza-xyz / move

Move compiler targeting llvm supported backends
https://discord.gg/wFgfjG9J
Apache License 2.0
108 stars 34 forks source link

WIP Move++ move-mv-llvm-compiler with Aptos FE #274

Closed jcivlin closed 6 months ago

jcivlin commented 1 year ago

This includes compilation of Aptos added move stdlib (find it under move-mv-llvm-compiler/tests/extern directory).

Code generation may have some problems, but FE passes, we can compile lambda, iterator, inline.

This does not support our old compilation path from the bytecode, since Aptos removed the old api. It possibly may be restored - Aptos has some new building interfaces. I'm not sure we will need this, but I want to store in the repo as much of working code as I have.

Do not expect our tests "from bytecode" will work. But stdlib-tests does!

ksolana commented 1 year ago

You are in for a treat! see: https://github.com/move-language/move/pull/1066/files

brson commented 1 year ago

This is difficult to evaluate as is, since it is a huge diff that (I think) is copying aptos code into our non-aptos-based tree, creating a hybrid of mainline move and aptos move.

If we are going to switch to an aptos base I might do it like

dmakarov commented 6 months ago

Closing due to over 6 months of being inactive. Please, reopen for new development.