guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Follow-up on julia import script


From: Nicolas Graves
Subject: Re: Follow-up on julia import script
Date: Sat, 25 Feb 2023 11:11:02 +0100

One more question ;)

On 2023-02-24 19:21, Simon Tournier wrote:

>> - Apparently Nicolo also has a similer code.
>
> I guess, it is that:
>
> https://yhetil.org/guix/8735yi9o9x.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me

Thanks!

> Assuming some toml parser available in Guile (it is not too hard using
> PEG or a very naive approach, but still :-)), from the file
> Package.toml, you get the repository address,
>
> https://github.com/FluxML/Zygote.jl
>
> that you clone.  Then from this, you use the file Project.toml to
> consider what is inputs and what is propagated-inputs.

How would you separate inputs from propagated-inputs in this case (and
in Julia in general)?

> That’s said, another approach is to parse the JSON:
>
> https://docs.juliahub.com/Zygote/4kbLI/0.6.55/pkg.json
>
> and rely on the service JuliaHub.  This could provide some meta data
> such as synopsis, description (based on README) and license.

Oh, I didn't know about that, it might indeed be easier, since we
already have the parser, and all information at the same place.

> Cheers,
> simon

--
Best regards,
Nicolas Graves



reply via email to

[Prev in Thread] Current Thread [Next in Thread]