You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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 paket.dependencies as a script to 'parse' it (has slight implications for #94 too - but I definitely wouldn't want to stand in the way of that, which would be fantastic)
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.
@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 paket.dependencies.
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! :)
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! :)
—
Reply to this email directly or view it on GitHub #95 (comment).
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 paket.dependencies!
@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 deps file, such as prerel info. One even might argue if the redundatnt nuget prefix must be of any requirement then.
I agreed that we would like to keep F# syntax in the dependencies file.
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 source and nuget statements share state/context - the specific source perhaps c/should become part of a single declaration ...
The syntactical capabilities afforded by such a transition also affects (likely in good ways) #96 / #93 and #89
@ilkerde Looks good though now remaining double quotes stick out a bit (and a URL shouldnt have embedded whitespace
And there's no clear unambiguous 'next statement' => indent children (or allow single line), i.e.:
Activity
bartelink commentedon Sep 14, 2014
@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
paket.dependenciesas a script to 'parse' it (has slight implications for #94 too - but I definitely wouldn't want to stand in the way of that, which would be fantastic)forki commentedon Sep 14, 2014
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.
forki commentedon Sep 14, 2014
So if we could come up with valid F# than it would be awesome.
agross commentedon Sep 14, 2014
@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
paket.dependencies.I think it might be useful to have a more flexible syntax, e.g. with regard to
~>allowing prerelease updates:nuget "Foo" "~> 1.2" "pre"(or something like that). Or pessimistic version constraint with minimum version required.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! :)
forki commentedon Sep 14, 2014
No you are right.
On Sep 14, 2014 1:07 PM, "Alexander Groß" [email protected] wrote:
ilkerde commentedon Sep 14, 2014
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
paket.dependencies!bartelink commentedon Sep 14, 2014
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!
ilkerde commentedon Sep 14, 2014
@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
depsfile, such as prerel info. One even might argue if the redundatntnugetprefix must be of any requirement then.Take Pakets own deps file as example:
vasily-kirichenko commentedon Sep 14, 2014
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.
bartelink commentedon Sep 14, 2014
@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
sourceand nuget statements share state/context - the specific source perhaps c/should become part of a single declaration ...The syntactical capabilities afforded by such a transition also affects (likely in good ways) #96 / #93 and #89
ilkerde commentedon Sep 16, 2014
@bartelink Thanks for your remarks. With regard to
sourceandnugetstatements sharing context: Do you mean we c/should intermingle them? Sth. likeI'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.
bartelink commentedon Sep 16, 2014
@ilkerde Looks good though now remaining double quotes stick out a bit (and a URL shouldnt have embedded whitespace
And there's no clear unambiguous 'next statement' => indent children (or allow single line), i.e.:
and
should both be allowed ?
@vasily-kirichenko You're the one that started all this, any opinions on whether both/either are necessary/useful?
Allow cleaner syntax in paket.dependencies - references #95
forki commentedon Sep 17, 2014
It's now possible to do
and
at the moment I don't plan to do nesting.
Allow all kinds of spaces in paket.dependencies - references #95
bartelink commentedon Sep 17, 2014
@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)
forki commentedon Sep 17, 2014
We will change all docs in v0.2 and break it if needed.
On Sep 17, 2014 12:31 PM, "bartelink" [email protected] wrote:
Merge pull request #95 from forki/Attributes