Leo for Visual Studio CodeThe Leo Programming LanguageLeo is a functional, statically-typed programming language built for writing private applications. Table of Contents
🍎 OverviewWelcome to the Leo programming language. Leo provides a high-level language that abstracts low-level cryptographic concepts and makes it easy to integrate private applications into your stack. Leo compiles to circuits making zero-knowledge proofs practical. The syntax of Leo is influenced by traditional programming languages like JavaScript, Scala, and Rust, with a strong emphasis on readability and ease-of-use. Leo offers developers with tools to sanity check circuits including unit tests, integration tests, and console functions. Leo is one part of a greater ecosystem for building private applications on Aleo. The language is currently in an alpha stage and is subject to breaking changes. 🧩 Current VS Code SupportThis extension is the new minimal Leo client and will continue publishing to the existing Today it supports:
🛠️ Migration StatusThe previous LSP-backed implementation is being replaced as part of the migration to faster Rust-based Leo tooling. Validation, completion, and related language features are not gone permanently. They are expected to return incrementally in future extension updates as the new Leo tooling stack lands. 🖱️ Installing in CursorCursor is a downstream fork of VS Code that pulls extensions from Open VSX. The same Open Cursor's Extensions pane ( 🪐 Installing in AntigravityGoogle Antigravity (antigravity.google) ships as two macOS app bundles:
If you only see Once both are installed, open Antigravity IDE (not the Hub), then its Extensions pane, search for Leo, and click Install. The IDE consumes the same The extension activates on 🚀 Quick StartUse the Leo CLI to create a new project
The The Congratulations! You've just run your first Leo program. ⚙️️ Build Guide🦀 Install RustWe recommend installing Rust using rustup. You can install
🐙 Build from Source CodeWe recommend installing Leo by building from the source code as follows:
Now to use leo, in your terminal, run:
🦁 Update from LeoYou can update Leo to the latest version using the following command:
Now to check the version of leo, in your terminal, run:
🧰 TroubleshootingIf you are having trouble installing and using Leo, please check out our guide. If the issue still persists, please open an issue. 📖 Documentation🤝 ContributingPlease see our guidelines in the developer documentation ❤️ ContributorsView all Leo contributors here. 🛡️ License |