-
Notifications
You must be signed in to change notification settings - Fork 24
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
Support for environment variables #92
Comments
Okay, you can do it this way:
Maybe that's good enough? It's nice to keep the language small. |
The language is growing beyond what I've thought it would. It's still not a really usable language though. What I'm saying here is: if you'd like to add something to the language it's ok to do so. In this particular case, I don't feel this is a necessary thing, as you can do that, but the main problem here is that environmental variables are different in Windows and in Unix/BSD, so making something that works for both would be kind of a chore. |
Makes sense! I like this reasoning. 👍 |
Awesome! Thank you! I'll be closing this then. |
I don't think there's a way to get ENV variables in LDPL currently, right?
If not, they could either be pre-set like
argv
andargc
, or there could be a new statement likeSTORE ENV AT "PATH" IN $path
to do a lookup.The text was updated successfully, but these errors were encountered: