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

Add driver subproject #172

Closed

Conversation

NeilKleistGao
Copy link
Member

@NeilKleistGao NeilKleistGao commented Jun 28, 2023

  • Implement multiple-file compilation
  • Add import and export keywords
  • Update ts2mls DiffTests and test files
  • Import libes5.d.ts and cherry-pick from dom.d.ts
  • Add UnusableLike and Unsupported types
  • Add ident escaping
  • Implement invocation of ts libraries in mlscript
  • Allow overriding built-in types from Predef.mlsi
  • Optimize NewParser.block with tail-recursion
  • Fix literal typing
  • Handle selections in inheritance
  • Update the implementation check for declare keyword
  • Enhance ts2mls:
    • Mark complex signatures as unsupported
    • Fix generation of overloading, optional parameters and var-length parameters
    • Support import/require and export parsing
    • Support export as namespace and triple slashes
    • Fix flag checking
    • Fix private members' name

@NeilKleistGao NeilKleistGao marked this pull request as ready for review September 16, 2023 03:44
@NeilKleistGao NeilKleistGao marked this pull request as draft February 7, 2024 07:41
@LPTK
Copy link
Contributor

LPTK commented Jan 21, 2025

Thanks for extensive work!

As discusses, there are a lot of changes in here that will need to be ported to the new compiler incrementally. I believe a lot of the implementation effort can be saved, but this will still be a painstaking process.

In the meantime, I will close this with a "to revisit" label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants