Tour of Mux
The video for “Tour of Mux” is in the works!
Welcome to the Tour of Mux! This interactive guide will walk you through the fundamental concepts of the Mux programming language.
Each page focuses on a single concept with a clear example and the ability to try it out in the Mux Playground.
What is Mux?
Mux is a statically-typed, reference-counted programming language designed to combine:
- Python's readability - clean, simple syntax
- Go's simplicity - easy to learn and use
- Rust's type safety - powerful generics and pattern matching
How to Use This Tour
Each page in this tour covers one specific concept. Start from the beginning or jump to any topic that interests you. Every page has an interactive code playground where you can experiment with the code examples.
Topics
- Hello World - Your first Mux program
- Variables - Declaring and using variables
- Basic Types - int, float, bool, string
- Functions - Writing and calling functions
- Control Flow - If/else, loops, and pattern matching
- Lists - Working with ordered collections
- Maps - Key-value data structures
- Sets - Unique element collections
- Classes - Object-oriented programming
- Enums - Tagged unions and pattern matching
- Generics - Writing flexible, reusable code
- Error Handling - Result and Optional types
- Interfaces - Defining contracts
- References - Passing values efficiently
- Modules - Organizing your code
- Next Steps - Continue learning
Ready to start? Let's begin with Hello World!