-
Notifications
You must be signed in to change notification settings - Fork 525
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
Cleaning up syntax #95
Comments
@vasily-kirichenko This is not a reason why it can never necessarily change, but the actual reason right now is that the impl runs the |
Actually I removed FCS from paket and wrote a small parser. It's much faster this way. But @agross and I agreed that we would like to keep F# syntax in the dependencies file. This would allow us to use FCS at a later point in time without breaking stuff. |
So if we could come up with valid F# than it would be awesome. |
@forki With my vastly enhanced knowledge about F# and function overloads I think we might as well ditch the requirement to have valid F# in I think it might be useful to have a more flexible syntax, e.g. with regard to In the future, we may have further ideas about such options, with F# (as far as I understand) being somewhat limited in the "optional parameters" space. Please correct me if I'm wrong! :) |
No you are right.
|
I don't see any concerns against a custom dependencies syntex either. It even gives us more flexibility. +1 here for removing F# constaint for |
Oh no, not more flexibility :P Yes, all makes sense. But it is good to have a story for how one takes various Paket bits and use them in a scripting session... Maybe that's just
Just thinking out loud - this prob makes no sense! |
@bartelink I have never thought of how (and if at all) paket info should be used in scripting. I propose this perspective to be a separate issue. With regards to "flexibility", I only thought of having more options to struture data in Take Pakets own deps file as example:
|
Hmm. I cannot understand why it's desirable. If we use custom external DSL, we can (and should) make it as clean as possible, and quotation marks are not clean at all. |
@ilkerde I agree its a separate concern. But changing from internal to external is a fork in the road and whether by accident or design, it was more ready as it is than it would be under an external DSL style. That's all. Perhaps an issue should be spawned; perhaps that shoudl be declared out of scope over some time period And I was agreeing with you earlier re more flexibility (athough I always cringe when I claim some fantastic increase in generality or flexibility as autromatically meaningful when simplicity and composability are the things that actually really matter... The other thing ( @vasily-kirichenko this relates to your other proposal too), the The syntactical capabilities afforded by such a transition also affects (likely in good ways) #96 / #93 and #89 |
@bartelink Thanks for your remarks. With regard to
I'm not sure on how much effort this change would carry out in code. I propose that we first just tackle getting rid of the quotes and nothing more. |
@ilkerde Looks good though now remaining double quotes stick out a bit (and a URL shouldnt have embedded whitespace
and
should both be allowed ? @vasily-kirichenko You're the one that started all this, any opinions on whether both/either are necessary/useful? |
It's now possible to do
and
at the moment I don't plan to do nesting. |
@forki You considering issuing a deprecation warning re the quotes (and removing support before v1?). (I think life is hard enough with inconsistent examples posing questions) |
We will change all docs in v0.2 and break it if needed.
|
Why we have to quote package names and versions? I mean why we cannot write just
instead of
?
As I understand, neither names nor versions cannot contain whitespaces.
The text was updated successfully, but these errors were encountered: