-
Notifications
You must be signed in to change notification settings - Fork 428
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
Package manager that works smoothly on Linux/OSX/Windows #397
Comments
Fyi, I posted a thread on Zulip (leanpkg++ idea) related to a design idea for the new |
The idea seems to be related to FAKE from F# or the Zig language as per the mentioned thread. |
Hey all, I am just starting to learn Lean and wanted to give my perspective coming from the Python community, that sticking with a declarative package instead of using Lean to specify dependencies might have advantages. The Python folks have spent a long time moving away from package information as code (
|
@saulshanabrook I agree that declarative specification of dependencies is useful. However, I think that can be accomplished even with an interpreted configuration through the use of a lock file. Also, it should be noted that even in the case you described, the build system is still written in Python -- it is only dependency listing itself that is declarative (making it much the same as a lock file). One other thing to note is that unlike python, where there is a pretty straightforward mapping between a package and an import, a package in Lean may end up containing many other things besides the module itself, and those things may wish to be configurable via scripting. For example, Lean package may even end up containing scriptable, custom UI widgets that may also wish to be configurable via the package script. TL;DR Dependencies should ideally have a declarative listing. Other package management tasks (i.e., builds and complex configurations) need interpreted scripting. |
zig v0.11.0 releases zig-pkg initial support [WiP]. |
I think this issue is closed now that we have lake? |
The goal is to have something like Rust Cargo.
https://github.com/rust-lang/cargo
It should be implemented in Lean.
Core developers will help with missing APIs.
The text was updated successfully, but these errors were encountered: