language/README.md
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-lang — contains the Move source language compiler.
standard library — contains the Move code for the core system modules (such as DiemAccount), as well as the standard library transaction scripts.
Diem Core components interact with the language component through the VM. Specifically, the admission control component uses a limited, read-only subset of the VM functionality to discard invalid transactions before they are admitted to the mempool and consensus. The execution component uses the VM to execute a block of transactions.
cargo test.