Skip to content

[BUG] Struct/Union instantiation not transpiled #42

Description

@Prestgg1

Issue

The parser supports struct and union type definitions, but the transpiler cannot instantiate them.

Current State

  • Parser: ✅ Struct and Union parsing complete
  • Validator: ✅ Type validation exists
  • Transpiler: ❌ No struct/union instantiation support

Example (currently fails)

struct Point
    x: int
    y: int

const p = Point{x: 1, y: 2}

Required

Implement struct initialization and union type handling in transpiler.

Files

  • crates/transpiler/src/lib.rs

Labels: bug, transpiler, enhancement

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions