Mojo is a new programming language that bridges the gap between research and production by combining Python syntax and ecosystem with systems programming and metaprogramming features. Mojo is still young, but it is designed to become a superset of Python over time.
This repo includes source code for:
- Mojo examples
- Mojo documentation hosted at modular.com
- The Mojo standard library
This repo has two primary branches:
-
The
main
branch, which is in sync with the last stable released version of Mojo. Use the examples here if you’re using a release build of Mojo. -
The
nightly
branch, which is in sync with the Mojo nightly build and subject to breakage. Use this branch for contributions, or if you're using the latest nightly build of Mojo.
To learn more about Mojo, see the Mojo Manual.
To install the last released build of Mojo, you can install the MAX SDK or the standalone Mojo SDK:
Then follow the docs to write your first Mojo program.
The nightly Mojo builds are subject to breakage and provide an inside view of how the development of Mojo is progressing. Use at your own risk and be patient! Install them using the instructions here.
When you want to report issues or request features, please create a GitHub issue here. See here for guidelines on filing good bugs.
We welcome contributions to this repo on the
nightly
branch. If you’d like to contribute to Mojo, please first read our Contributor
Guide.
For more general questions or to chat with other Mojo developers, check out our Discord.
This repository is licensed under the Apache License v2.0 with LLVM Exceptions (see the LLVM License).