Comments (3)
Do you mean pathSubs?
from nimph.
No, I mean the requires =
statements in the .nimble
. I modeled Nimph's off of those of Cargo. There are also some tests that might be helpful.
https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html
from nimph.
You can now play with these using the roll
command, if it helps.
I'm thinking that given the state of things in Nimbleland, it might be easiest to just patch Nimble to parse ~
and ^
as >=
, since that's the only useful operator there anyway. I imagine that Nimble is parsing 3
as 3.*.*
, as today we discovered that some packages exist with 1-dot (eg. 3.1
) versions, and @Solitude managed to find one with 3-dots (eg. 1.2.3.4
).
A better alternative might be to introduce another statement to the .nimble
. I've long wanted a way to blacklist version ranges; see #82, so maybe we add a more advanced requires
statement that can co-exist with a Nimble-friendly requires
, but which carries additional syntax capabilities (caret/tilde/wildcard). While we're in there, we add deficiencies
for #82 and then we've enhanced capabilities without breaking any existing packages or package managers. Nimble can upgrade to support caret/tilde/wildcard via requires (or the new statements) whenever it likes.
We would almost certainly have to implement #24 as well, of course.
Thoughts?
from nimph.
Related Issues (20)
- command line arguments are no longer parsed correctly
- nimph crashes when --nimblePath does not exist HOT 1
- add command to display forecasted dependency graph
- relative addressing in nim config; is it recognized correctly? HOT 2
- Record the revision of a reference upon locking. Optionally also a hash over the contents. HOT 4
- choose to support choosenim at runtime
- upgrade cligen dep for nimterop interop
- allow fork to take a url or github search syntax
- nimph is racist HOT 8
- add package web-site urls to graph
- case insensitive github urls are exploited by nimpletons HOT 1
- Cannot build due to unsatisfied dependency error. HOT 4
- build error on termux HOT 11
- a version roll should warn of new requirements HOT 1
- relative paths are not resolved during path removal
- path separators in branch names aren't escaped properly
- Error on `doctor`ing certain package HOT 6
- Build error on Windows HOT 2
- Crash upon initial launch and the .choosenim directory not existing HOT 2
- nimph has high version control standards
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nimph.