Astra Language
AstraBook: Official User Guide for the Astra Programming Language ================================================================================ 1. THE BASICS: SYNTAX AND VARIABLES ================================================================================ Astra is designed to make code flow from left to right, similar to natural writing. This is achieved through specific syntactical changes. Key Concepts: * New Assignment Operator: Astra uses "variable : value" instead of the equals sign to allow for natural left-to-right flow (e.g., a : a + b). * Tagged Keywords: Control flow and structural keywords are enclosed in curly braces, such as <while>, <fun>, and <if>, making mistakes easier to find. * Comments: Single-line comments begin with //. Data Types and Operators: * Standard data types include int, float, char, string, and bool. * Standard arithmetic operators supported are +, -, *, /, and %. Variable Declar...