Closed ambiguousname closed 1 week ago
Updated, all feature tests are now passing.
There are still quite a lot of TODOs and FIXMEs that involve things not covered in the feature tests, so I will be coming back to this later to try and fill in the gaps.
We should land something even if it's not complete because it allows other people to start contributing any missing pieces
The notes doc I just removed had things that were mostly out of date. The only thing that I'd like to re-iterate here is that I make sure to test the build scripts on Node v20
Note: test coverage for NestedBorrowFields would be good for a lot of features. I'll try to add that
Since we're passing all checks, here's a list of everything that isn't done that was brought up during review.
Most of these I think can be iterated on in separate PRs:
BackendAttrSupport::memory_sharing
dead? Let's remove it if so. (#531)selfEdge
argument itself, we could this.#selfEdge.push(...selfEdge)
(see example/ICU4XDataProvider
for an example of this)Foo.mjs
, Bar.mjs
, and anything using BorrowedFields
as an example.wasm.
(#522)
==
vs. ===
for reading from buffers in JS. Is this desired behavior? (#523)valueOf
and [Symbol.toPrimitive]
for enumerators instead of enum.value
or enum.ffiValue
? (#524)NestedBorrowedFields
and their lifetimes.If there's any changes we'd like to make to this PR let me know. I think I'd like to make a push to get this ready to merge into main and branching off these items into separate issues and PRs. But if there's anything we'd like to address in this PR, let me know!
Some follow-ups were filed; please open the remaining ones.
Done!
Per #420, this is my ongoing effort to implement the HIR backend for Javascript and Typescript.
There's still quite a bit to be done (lots of backend functions with TODOs, entry-level matches for hir types, etc.), but this is for anyone to get a good look to see if there's any issues with the way that I'm approaching things.
This is mostly based on the Dart backend, with some added comments that were for my own understanding during development.
Let me know if there's anything I can clarify!