A collection of example programs demonstrating ARO language features, from basic output to interactive terminal applications.
| # | Name | Description |
|---|---|---|
| 01 | HelloWorld | Output a message to the screen |
| 02 | Modulo | Determine if a number is odd or even |
| 03 | NumberGuess | Guess a random number with high/low hints |
| 04 | Palindrome | Check if text reads the same forwards and backwards |
| 05 | Fibonacci | Print the first n Fibonacci numbers |
| 06 | Factorial | Compute n! |
| 07 | WordCounter | Count words in a string |
| 08 | ToDoList | Interactive CLI task manager with add, list, delete |
| 09 | CountVowels | Count vowels in text |
| 10 | MinMax | Find minimum and maximum in a list of numbers |
| 11 | Leap | Print the next 20 leap years |
| 12 | PrimeNumbers | Sieve of Eratosthenes up to 10000 |
| 13 | TicTacToe | Interactive tic-tac-toe with unbeatable AI |
| 14 | RomanNumeralConverter | Convert integers to Roman numerals |
| 15 | Pi | Approximate Pi using the Leibniz series |
| 16 | Hangman | Word guessing game with ASCII gallows |
| 17 | FileChangeLog | Monitor a directory for changes and log events with timestamps |
aro run ./Examples/<name>For example:
aro run ./Examples/01_HelloWorld
aro run ./Examples/05_Fibonacci --n 10
aro run ./Examples/13_TicTacToe