Fork me on GitHub
#clr
<
2023-01-23
>
Anders Eknert11:01:24

❤️ 6
clojure-spin 4
🎉 4
dangercoder12:01:25

Cool project 👍

😃 6
dmiller16:01:13

Very cool. Let us hope this will encourage more porting!

😃 4
yes 4
bobcalco17:01:44

@U03AU2X8TD5 Thanks! You just reduced my list of ports blocking my project by one, and I will be using it as soon as I figure out how to incorporate it! I don't suppose you published it to nuget yet?

Anders Eknert17:01:40

Very happy to hear that, Bob! 😃 I should add publishing as a TODO! Not even started looking into that yet.

Anders Eknert17:01:12

Do you know of any good guide on the topic?

bobcalco17:01:32

I mean, I can build it locally and then simply refer to it. I have my cljr.exe able to pre-load assemblies referred to via :local/root on the harddrive.

Anders Eknert17:01:01

sounds like a good plan in the meantime 👍

bobcalco17:01:52

Neart-term on cljr's list of todo's is using the NuGet API but I looked at it and recoiled in horror at the apparent complexity of it, so kicked that can down the road a bit as at least I'm functional with local assemblies. I will probably integrate :git/url before I deal with :nuget/version. lol.

Anders Eknert17:01:42

Hah! I can imagine. Is the plan to have it work with Maven/Clojars too?

dmiller17:01:27

Re publishing on nuget: in the docs folder in clojure-clr there is a guide to publishing a lib on nuget. This is something that could be automated at some point.

Anders Eknert17:01:52

Nice! I think I’ve seen that in the past but forgotten about it. Thanks David 👍

bobcalco17:01:42

NuGet first. Clojars and Maven are definite "maybes" at this point. Clojars will make sense for libraries that are intentionally portable, whereas NuGet will make sense for libraries that are strictly bound to .NET. I imagine once my first pass using deps.edn with clr-specific keys is done, there will be some thoughtful feedback from the deps/cli folks about how we might more thoughtfully integrate these worlds. Right now I have :clr-deps, :clr-aliases and :nuget/repos as toplevel keys and they do no harm to normal clj deps projects (cuz they are ignored by them). In theory clj could probably handle all of the platforms - would just need to interact with NuGet via it's http interface. But then .net devs would be required to have java on their machines (which many probably do anyway but I hesitate to make it a requirement per se). Plus there are just certain realities about how the CLR runs that is sufficiently different from how JVM runs that keeping them separate makes more intuitive sense to me, even if we merge the deps.edn spec around cross platform support.

👍 2
Emma Griffin18:01:38

I think you should publish to NuGet and Clojars for a Clojure/ClojureCLR library

👍 2
Emma Griffin18:01:19

@U03AU2X8TD5 I've published ClojureCLR code to NuGet before, I'm rusty on the process but willing to help

😃 2
Emma Griffin18:01:12

@U45FQSBF1 the guide in the readme didn't work for me when I tried to use it months ago but I was able to tweak it to work for my project

dmiller20:01:50

Do you remember what the problem was? (This is generally the routine I follow.)

Emma Griffin20:01:25

No but I could probably recreate it at some point

Anders Eknert20:01:09

I’ll follow it when I publish, and will report if I get stuck somewhere