id | title | custom_edit_url |
---|---|---|
move-language |
Move Language |
Move is a new programming language developed to provide a safe and programmable foundation for the Diem Blockchain.
The Move language directory consists of four main parts:
-
virtual machine (VM) — contains the bytecode format, a bytecode interpreter, and infrastructure for executing a block of transactions. This directory also contains the infrastructure to generate the genesis block.
-
bytecode verifier — contains a static analysis tool for rejecting invalid Move bytecode. The virtual machine runs the bytecode verifier on any new Move code it encounters before executing it. The compiler runs the bytecode verifier on its output and surfaces the errors to the programmer.
-
move-compiler — contains the Move source language compiler.
-
standard library — contains the standard library transaction scripts.
- You can find many small Move examples in the tests directory. The easiest way to experiment with Move is to create a new test in this directory and run it with
cargo test
.