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

[Feature Request]: Module support for Source Typed §x #217

Open
2 tasks
martin-henz opened this issue Sep 3, 2023 · 1 comment
Open
2 tasks

[Feature Request]: Module support for Source Typed §x #217

martin-henz opened this issue Sep 3, 2023 · 1 comment
Labels
Enhancement [Category] New feature request

Comments

@martin-henz
Copy link
Member

Feature

Modules should come with type declarations that can then be used in Source §x Typed.

Here is a proof-of-concept that inappropriately hard-wires the types of the functions of the module rune into the frontend: source-academy/js-slang#1467

Checklist

  • I checked the requested feature does not already exist
  • I checked to make sure that this issue has not already been filed
@martin-henz martin-henz added the Enhancement [Category] New feature request label Sep 3, 2023
@martin-henz martin-henz changed the title [Feature Request]: Module support for Source §x Typed [Feature Request]: Module support for Full TypeScript Apr 12, 2024
@martin-henz martin-henz changed the title [Feature Request]: Module support for Full TypeScript [Feature Request]: Module support for Source Typed §x Apr 12, 2024
@martin-henz
Copy link
Member Author

Source Typed can now import modules (without type checking). However, Full TypeScript cannot:

Screenshot 2024-04-12 at 1 48 07 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement [Category] New feature request
Projects
None yet
Development

No branches or pull requests

1 participant