-
Notifications
You must be signed in to change notification settings - Fork 4
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
stdlib import suggestions #450
Comments
I have a idea. We can use syntax like C/C++. import <str.jou> # This will import from stdlib
import "test.jou" # This will import at local This syntax has some advantages
If we can remove |
I have considered this in the past, and decided to do what Jou does now, for a few reasons:
And here's why imports have the
|
Hmm, alright, just a idea. |
I should document imports, and explain in docs why they are like they are :) |
I don't know personally, this always felt like too much automagic. |
I just got this error
Would be nice if these errors suggested where to import the function from, e.g.
function 'strdup' not found, consider importing "stdlib/str.jou"
The text was updated successfully, but these errors were encountered: