Tutorials
IN DEVELOPMENT
Rux is currently undergoing rapid changes which might cause the following tutorials to contain outdated information.
IMPORTANT
Support for Linux and MacOS is currently a work in progress.
Welcome to the Rux tutorials! This collection contains solutions designed to help learn and practice Rux programming through hands-on exercises and examples. GitHub repository serves as a centralized learning resource featuring multiple programming tasks, each organized as a separate folder. The tutorials are designed to progressively build your understanding of Rux concepts and best practices.
Repository Structure
Each tutorial is contained in its own directory with a complete project:
Tutorials/
├── HelloWorld/
│ ├── Src/
│ │ └── Main.rux
│ └── Rux.toml
├── Factorial/
│ ├── Src/
│ │ └── Main.rux
│ └── Rux.toml
├── ...
├── README.md
├── LICENSE
└── .gitignoreGetting Started
Prerequisites
- Visual Studio Code
- Rux compiler
- Basic understanding of programming concepts
How to Use This Repository
Clone the repository:
shgit clone https://github.com/rux-lang/Tutorials.git cd TutorialsNavigate to a specific tutorial: Each tutorial folder contains a self-contained project.
shcd Tutorials/HelloWorldOpen the project: Open the folder in Visual Studio Code via
File > Open Folder....shcode .Read the instructions: Each tutorial includes its own README or comments explaining the task and learning objectives.
Compile and run: Follow the instructions and run the project to test it.
shrux build rux run
Best Practices
- Read carefully, understand the requirements before coding
- Don't be afraid to modify and test different approaches
- Practice writing clear, helpful comments
- Consider creating your own branch for solutions
- Learning is a collaborative process
Contributing
If you find issues or have suggestions for improvements, please describe the problem in GitHub Issues.
License
All these projects are licensed under the MIT license.