Tutorials
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:
Rux.Tutorials/
├── HelloWorld/
│ ├── Src/
│ │ └── Main.rux
│ ├── Rux.toml
│ ├── README.md
│ └── .gitignore
├── ArraySort/
│ ├── Src/
│ │ └── Main.rux
│ ├── Rux.toml
│ ├── README.md
│ └── .gitignore
├── ...
├── README.md
└── LICENSEGetting Started
Prerequisites
- Visual Studio Code
- Rux compiler
- Basic understanding of programming concepts
How to Use This Repository
Clone the repository:
bashgit clone https://github.com/rux-lang/Rux.Tutorials.git cd Rux.TutorialsNavigate to a specific tutorial: Each tutorial folder contains a self-contained project.
bashcd Rux.Tutorials/HelloWorldOpen the project: Open the folder in Visual Studio Code via
File > Open Folder....bashcode .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.
bashrux 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.