-
Notifications
You must be signed in to change notification settings - Fork 2
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
[IDEA] Lingo Install #14
Comments
|
|
I like this suggestion! |
I'll work on this as this will be used by the playground, I want to learn rust, and I need some time to relax from banging my head on mutation...... This is what I will propose, where I copypastaed from
|
Actually, after a second thought, do we want it to build upon lingo, or with python as a separate script? |
This is a good point... Maybe we should keep it separate from lingo? I'm not sure that we need to involve another implementation language though... |
Another reason I think that would be a good idea is like |
Should we go that route, what would be a good name? |
I'm thinking |
I think I am still in favor of having |
One that I could think of is to offer a minimised way to easily install the lf toolchain, i.e. lingo and lingua-franca. Like Also, if there's changes in
Sorry, just to clarify, rust is not a bad language for this purpose, it's just that 1. rust is too powerful for these simple tasks (i.e. downloading and making symlinks) and 2. these OS-related operations are typically carried out by scripting languages (but rust does have a powerful Another thing to consider for the future is that, like rust, if we publish |
I have an working example here: https://github.com/axmmisaka/lingua-franca-lfli |
We should definitely avoid introducing another language for our tooling. We already have a lot of heterogeneity. If anything, the goal should be to reduce the languages involved. Maintaining Python tools is a mess... and after all rustup is also written in Rust. At the moment I don't see a good reason to introduce yet another tool. A separate installer would make sense if we would want to manage multiple versions of lingo and lfc. I don't think we are there and my vote is on keeping things simple for now. With respect to a version of |
I am personally also prefer I for example have the following vision. That u for example can also specify if required the lfc version of your lf project and lingo would locally install lfc as a build artifact in your project. For example, this feature would be probably very beneficial to the lingua-franca project, because your api in not fully stabilized yet. Furthermore, I full support the philosophy that we went to so far with that lingo should be the one-stop shop for all your lf development needs. And this in my opinion includes installing and managing lfc installation. I don't believe that lingo should be the exclusive way to install lfc because your operating system/package manager has this job. But it should definitely support, quickly download the newest and hottest nightly release. Lingo -> Quality of Live Build Tool |
We have https://github.com/lf-lang/installation now. One situation I found |
Yes, I think this is also what @revol-xut meant above. Lingo should be able to manage the version of the LF code generator (and probably also the runtimes once they have independent releases) required for a specific project. |
lingo install <nightly/stable>
to install latest lingua-franca toolchain.
The text was updated successfully, but these errors were encountered: