Documentation
AlgoML is a simple algorithmic language for learning and teaching programming. Write your algorithm once and get working code in several programming languages.
Getting started
Language
Program structure
The header, the declarations and the main block of an AlgoML file.
Types and variables
INT, REAL, STRING and BOOLEAN, variables, constants and initial values.
Expressions and operators
Arithmetic, comparisons, logic, operator priority and compound assignment.
Conditions
Choose what to do with if, elseif, else and switch.
Loops
Repeat instructions with for, while and repeat until.
Functions and procedures
Split a program into named blocks, with parameters, return values and recursion.
Arrays
Store several values of the same type, fill an array and go through it.
Structures and enums
Group related data into one record, and give names to a set of values.