Skip to content

feat: support typed list deconstruction assignments#5

Merged
BackGwa merged 1 commit into
developfrom
features/deconstruction
May 15, 2026
Merged

feat: support typed list deconstruction assignments#5
BackGwa merged 1 commit into
developfrom
features/deconstruction

Conversation

@BackGwa
Copy link
Copy Markdown
Member

@BackGwa BackGwa commented May 15, 2026

Summary

  • Replaced the previous { ... } / [ ... ] destructuring syntax with C#-style deconstruction syntax.
  • Added list-based deconstruction support for:
    • var (a, b) = list
    • const (a, b) = list
    • (int a, string b) = list
    • (a, b) = list for existing variables
    • _ placeholders
  • Updated parser, AST, name resolution, type checking, runtime execution, and module export handling.
  • Updated English and Korean documentation to describe list-based deconstruction and remove object destructuring guidance.

Type of Change

  • Bug fix (bugs/)
  • New feature (features/)
  • Refactoring (refactor/)
  • Hotfix (hotfix/)
  • Chore (chore/)

Self Check

  • Code follows the project's coding style
  • Self-review completed
  • Documentation updated (if necessary)

@BackGwa BackGwa added the enhancement New feature or request label May 15, 2026
@BackGwa BackGwa merged commit a3cd5a6 into develop May 15, 2026
@BackGwa BackGwa deleted the features/deconstruction branch May 15, 2026 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant