Skip to content

feat(dynamic): expand dynamic tier with Proxy traps and unconstrained invocations - #32

Merged
phamtanminhtien merged 2 commits into
mainfrom
feat/dynamic-tier-expansion
Sep 25, 2026
Merged

phamtanminhtien merged 2 commits into
mainfrom
feat/dynamic-tier-expansion

Conversation

@phamtanminhtien

Copy link
Copy Markdown
Contributor

Summary

  • Proxy Traps: Implement basic Proxy trap support in --dynamic tier (QuickJS-ng):
    • get, set, has, apply, deleteProperty, ownKeys.
    • Maintain bidirectional bridge preserving JS identity and engine reference binding.
    • Implement dynamic property hooks in object runtime for engine reference interception without breaking static struct layouts.
  • Dynamic Method Calls & Invocations:
    • Support method invocations on any-typed receivers with arbitrary argument counts.
    • Expand dynamic function calling mechanism in LLVM emission and runtime without fixed 4-argument limits.
  • Corpus Tests & Documentation:
    • Add end-to-end corpus tests dynamic/proxy_traps and dynamic/any_method_call.
    • Update docs/typescript-parity-report.md marking Proxy as supported under --dynamic.

@phamtanminhtien
phamtanminhtien merged commit 9d30305 into main Sep 25, 2026
7 checks passed
@phamtanminhtien
phamtanminhtien deleted the feat/dynamic-tier-expansion branch September 25, 2026 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant