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

feat(cli): allow compiling with a specific prelude #67

Closed
wongjiahau opened this issue Mar 31, 2021 · 1 comment
Closed

feat(cli): allow compiling with a specific prelude #67

wongjiahau opened this issue Mar 31, 2021 · 1 comment

Comments

@wongjiahau
Copy link
Owner

Purpose

This is necessary for running tests, for example we need a simple print function to print the result.

Example

kk run --prelude="./test_prelude.kk" test1.kk
@wongjiahau
Copy link
Owner Author

Based on rust-lang/rfcs#890, it seems a bad idea to allow user to define this, however that's assuming that glob imports are allowed.

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