Basic Syntax
Overview
The foundation of any language is its basic syntax: how you write values, store data, and annotate code.
Ruchy's basic syntax is designed to be familiar (if you know Python, Ruby, or Rust) and safe (strict typing, no implicit conversions).
Features in This Chapter
- Literals - How to write numbers, strings, booleans, and nil
- Variables & Assignment - How to store and update values
- Comments - How to document your code
Try It Now
Open the Ruchy notebook and follow along with each section. Every example is runnable.