-
-
Notifications
You must be signed in to change notification settings - Fork 269
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 start
command to REPL API
#412
Conversation
Hm, it seems a bit excessive to have a completely new command that only provides a |
This makes LOAD_PATH just a vector of strings again. Some special syntaxes in JULIA_LOAD_PATH are handled specially: - split on `:` or `;` (on Windows) - replace the first empty entry with DEFAULT_LOAD_PATH - ignore the remaining empty entries - replace `@` with `current_env()` Other special syntaxes are left alone and expanded during load path lookup: - occurrences of `#` in `@...` entries to version digits - `@name` is looked up in the depot path - `@` is replaced with `current_env()` The last functionality is not accessible via JULIA_LOAD_PATH in this version since `@` in that is expanded early. This does allow putting a literal `@` in LOAD_PATH to get late expansion to `current_env()` instead of early expansion. Fixes #27411
Best left as an issue for later |
We could make |
It very much seems like these could be combined somehow... |
That makes sense to me. #418 is also relevant, they wanted to do a |
Actually, I though about #418 some more and the best fix for that seems to add a flag to
|
I figure most people issue a
cd
aftergenerate
when starting a new project (at least that's what makes sense to me, why would you create a project and then go do something else?). From a usability standpoint, it makes sense to provide a command to do both. Thoughts?Note: this PR is just for reference, I don't know what your policy is and I didn't do extensive testing.