Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create builder for ecmascript #7

Open
jodinathan opened this issue Feb 4, 2022 · 0 comments
Open

Create builder for ecmascript #7

jodinathan opened this issue Feb 4, 2022 · 0 comments

Comments

@jodinathan
Copy link
Owner

I couldn't find an official IDL-like file for the builtin JS (ecmascript) stuff like we use here in this package for the W3C bindings.

So today we have a few ecmascript stuff like Reflect that are manually added to the manual.dart file.

Even so, we need to find a way to automate it through a builder.

There are few options right now:

  • Use MDN website as source do automation: not reliable. It is good for documentation but not for spec because it is hand made
  • Read the AST of TypeScript: Very good for spec, too much work to start and we would still use MDN for documentation. However, this could also open a door to translating TS spec files (.d.ts) to Dart
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

No branches or pull requests

1 participant