Skip to content

Dalin L v0.1.0

Latest

Choose a tag to compare

@CN-QN1-dalin CN-QN1-dalin released this 14 Jul 16:41

Initial release of Dalin L — Agent-Native Programming Language.

Features

  • Chinese identifier support throughout the entire pipeline
  • HM type inference (Robinson Unification + polymorphic instantiation)
  • Pattern matching: wild/ident/lit/ctor/struct + guards + nesting
  • Pipe operations: data |> filter |> map
  • if/match as expressions: let r = if true { 42 }
  • Option/Result: Some(v) / None / Ok(v) / Err(e)
  • Recursion + closures
  • Zero dependencies (pure Rust std)

Architecture

Source → Lexer → Tokens → Parser → AST → TypeInferencer → Type Report
↘ Interpreter → Runtime Output

Tests

42/42 passing across lexer, parser, type inference, and interpreter.