Skip to content

[BUG] Template string interpolation not transpiled #36

Description

@Prestgg1

Issue

AzLang supports template strings with interpolation syntax:

const str b = `Hello, ${name}`

The parser handles this in crates/parser/src/template.rs, but the transpiler has no implementation for Expr::TemplateString.

Current State

  • Tokenizer: ✅ Backtick, InterpolationStart, InterpolationEnd tokens
  • Parser: ✅ Template string parsing complete
  • Transpiler: ❌ No TemplateString handling

Impact

Users cannot use string interpolation in compiled code.

Required

Add transpilation support for Expr::TemplateString in 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