Skip to content

Latest commit

 

History

History
38 lines (33 loc) · 1.4 KB

File metadata and controls

38 lines (33 loc) · 1.4 KB

Rustic++ Progress

Phase 0 — Foundations & Proof ✅

  • trilang-poc verified working

Phase 1 — Lexer, Parser, AST ✅

  • Design core syntax
  • Write lexer
  • Write parser
  • Pretty-printer for AST

Definition of Done:

  • A .rcpp file with functions, structs, if/else, loops, and expressions parses into an AST
  • Parser gives useful line/column error messages on malformed input
  • 20+ example programs in examples/phase1/ all parse without crashing

Phase 2 — Tree-Walking Interpreter ✅

  • Implement interpreter with eval_expr and eval_stmt
  • Support for functions, if/else, loops, expressions
  • Assignment expressions work correctly
  • 15+ example programs execute correctly
  • Deep recursion causes stack overflow (known limitation)

Phase 3 — Type System & Semantic Analysis (in progress)

  • Basic type checker implemented
  • Support for Int, Float, Bool, String types
  • Type checking for binary/unary operators
  • Function type checking
  • Struct type checking
  • Type inference for local variables
  • Better error messages with source locations

Phase 4 — C Interop (pending)

Phase 5 — Native Codegen Backend (pending)

Phase 6 — C++ Interop (pending)

Phase 7 — Rust Interop (pending)

Phase 8 — Memory Model & Garbage Collector (pending)

Phase 9 — Tooling (pending)

Phase 10 — Flagship Demo & v1.0 (pending)