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

Syntax for external imports #1644

Open
Tracked by #1585
yannham opened this issue Sep 29, 2023 · 0 comments
Open
Tracked by #1585

Syntax for external imports #1644

yannham opened this issue Sep 29, 2023 · 0 comments

Comments

@yannham
Copy link
Member

yannham commented Sep 29, 2023

As part of #1585, propose and bikeshed a new syntax to import files/modules (although the latter doesn't have a proper definition yet) from an external package manager. This could be something such as import foo from nix, import npm:foo, etc.

Keep in mind that we might also reserve some syntax to explicitly specify the format of the imported file (such as json or yaml), independently from the source. We might want a syntax which can accommodate both, such as e.g. import foo from npm as yaml.

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

No branches or pull requests

1 participant