Changelog

All notable changes to Odialang are documented here.

Version 2.1.0

minor

2026-04-16

Language Features

  • Arrays — create, index, and modify ([1,2,3], arr[0], arr[0] = x)
  • Property access with dot notation (arr.length)
  • Nested array indexing (matrix[0][1])
  • Compound assignment on array elements (arr[i] += 5)
  • Logical operators (&&, ||, !)
  • Break statement (ruha keyword)
  • Continue statement (chala keyword)
  • Compound assignment operators (+=, -=, *=, /=)
  • Website playground now shows all 22 examples organized by level

CLI Commands

    Version 1.0.3

    patch

    2026-04-16

    Language Features

    • Decimal number support (e.g., 3.14, 2.718)
    • Escape sequences in strings (", \, \n, \t)
    • Multi-line strings
    • Unary operators (+ and -)
    • Modulo operator (%)
    • Division by zero protection (throws error)

    CLI Commands

      Bug Fixes

      • Fixed tokenizer to support decimal numbers
      • Fixed string parsing for escape sequences
      • Fixed string tokenizer for multi-line strings
      • Fixed parser to handle unary operators
      • Fixed parser to support modulo operator
      • Added runtime check for division by zero

      Version 1.0.0

      major

      2026-04-15

      Language Features

      • Initial release of Odialang
      • Variable declaration (dhara)
      • Print statement (dekha)
      • Conditional statements (jadi, tahale, nahele, sesa)
      • While loops (jebe)
      • For loops (aarambha, ru)
      • Function declarations (karya)
      • Return statements (fera)
      • Boolean literals (sata, micha)
      • String, number, and boolean data types
      • Arithmetic operators (+, -, *, /)
      • Comparison operators (==, !=, >, <, >=, <=)
      • Assignment operator (=)
      • Single-line comments (#)

      CLI Commands

      • odia <file.odia> - Run a file directly
      • odia run <file.odia> - Run a file
      • odia compile <file.odia> - Compile to JavaScript
      • odia tokens <file.odia> - Display tokenized output
      • odia ast <file.odia> - Display abstract syntax tree
      • odia --help / odia -h - Show help

      Coming Soon

      • Object/Class support
      • More built-in functions
      • Import/Export modules
      • Error handling (try-catch)
      • Better error messages
      • Array methods (push, pop, map, filter)

      Release History

      2.1.02026-04-16Arrays, dot access, logical/compound operators, break/continue
      1.0.32026-04-16Bug fixes: decimals, escapes, unary ops
      1.0.02026-04-15Initial release