Thanks to visit codestin.com
Credit goes to github.com

Skip to content
zombocoder edited this page Aug 21, 2025 · 3 revisions

Welcome to the o2l wiki!

Welcome to the comprehensive technical documentation for the O²L Programming Language.

📚 Documentation Structure

Language Reference

Advanced Topics

Development

Examples & Tutorials


🚀 Quick Start

Object HelloWorld {
    @external method main(): Void {
        System.println("Hello, O²L World!")
    }
}

📖 About O²L

O²L is a modern programming language that emphasizes:

  • Object-oriented design with immutable properties
  • Strong typing with type inference
  • Memory safety through controlled mutability
  • FFI integration for native library interop
  • Protocol-based interfaces for flexible abstractions
  • Modern standard library with built-in HTTP, JSON, and more

🛠 Language Features

  • Dual mutability system (immutable object properties, mutable method variables)
  • Advanced type system with records, enums, and protocols
  • Native FFI support for C library integration
  • Built-in HTTP client/server, JSON handling, regular expressions
  • Comprehensive standard library for system operations
  • Module system with import/export capabilities
  • Exception handling with try-catch-finally blocks
  • Iterator protocol for collections and custom types

This documentation covers O²L version 0.0.1 and is continuously updated.