Simple high-level language for writing Internet Computer canisters
Motoko is a safe, actor-based programming language for building Internet Computer smart contracts, developed by DFINITY. The compiler (`moc`) is written in OCaml, while the runtime system is implemented in Rust and compiled to WebAssembly. The language supports async constructs for asynchronous messaging, structural typing with generics, and actor classes, drawing inspiration from Java, C#, JavaScript, Swift, and functional languages. Beyond the compiler and runtime, the repository includes comprehensive tests—both deterministic tests based on expected outputs and property-based testing via `qc-motoko`—plus documentation and integration examples for multi-file applications.