HaxeFoundation / HaxeFoundation/haxe
More features for externs
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
As discussed with various people at WWX we should look into adding some more features for extern classes to make native integration easier. The two main ones are operator overloading and custom array access.
I think this should be easy because we don't have to worry about the run-time behavior. As long as our selection algorithm is wide enough to match the native semantics, everything else should be taken care of by the run-time already.
Contributor guide
Research direction
Start by reviewing the compiler's extern-class handling and the selection algorithm mentioned in the issue. Determine the scope needed for operator overloading and custom array access, and verify that both match the intended native semantics without requiring runtime changes.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100