Tundra is a Python-inspired, high-performance programming language implemented in Rust. It features a clean syntax designed for readability and a register-based virtual machine architecture that ensures efficient execution.
Checkout The Tundra Reference
- Pythonic Syntax: Write code in a style that feels natural, clean, and intuitive.
- High-Performance VM: Tundra uses a register-based virtual machine built in Rust for increased performance.
- Efficient Memory Use: Designed to handle modern workloads with low memory overhead.
- Powerful Compiler: Includes a robust compiler that generates optimized bytecode for the VM.
fun fib(n):
if (n <= 1):
return n
return fib(n - 1) + fib(n - 2)
print(fib(10))
To build and run your first Tundra program:
Visit the official playground to run code online
OR
-
Clone the repository:
git clone https://github.com/aayush-tripathi/tundra.git
-
Build the compiler and VM:
cargo build --release
-
Run your program:
./target/release/tundra-cli path/to/your_program.tundra
- JIT Compilation: Integrate Just-In-Time compilation for dynamic performance boosts.
- Standard Library: Expand built-in functions and modules.
- Interactive REPL: Provide an interactive mode for faster experimentation.
- Package Manager: Simplify sharing and using Tundra libraries.
We welcome contributions! Whether you want to help with bug fixes, propose new features, or improve documentation, feel free to open a pull request or an issue.
This project is licensed under the MIT License.
Happy coding with Tundra!
