<div dir="ltr">Hi Eric,<div><br></div><div>I just looked at your package and it looks better than mine. </div><div><br></div><div>I agree with you. We need a package to build and parse URI. This is a real need for writing modern software. </div><div><br></div><div>In the next few days, I'm going to use your package to build a PostgREST client. I'll be able to test it and help you develop it further.</div><div><br>Best regards<br>Olivier</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Le mar. 7 janv. 2025 à 22:36, Eric Sessoms via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, Jan 7, 2025, at 1:04 PM, Mariano Montone via Cuis-dev wrote:<br>
> Is this the only library available for URIs?<br>
<br>
There's the old <a href="https://github.com/Phantasus/Cuis-Smalltalk-URI-Kernel" rel="noreferrer" target="_blank">https://github.com/Phantasus/Cuis-Smalltalk-URI-Kernel</a> which AFAIK hasn't worked in a few years. It's heavyweight, depending on OMeta2 for parsing, but appears to have been otherwise correct (i.e., assuming it passed all its tests).<br>
<br>
And there's also <a href="https://github.com/coder5506/Cuis-Smalltalk-URI" rel="noreferrer" target="_blank">https://github.com/coder5506/Cuis-Smalltalk-URI</a> which I literally just slapped on Github about 5 minutes ago. (I wasn't planning to publish it anytime soon and have just been using it in my private work.)<br>
<br>
Anyway, hi! I'm new here, been lurking since about October.<br>
<br>
As Oliver says, his URI package is focused mainly on creating URIs. The parsing is a bit too simplistic, and unfortunately crashes on a lot of valid URIs (e.g., mailto:<a href="mailto:someone@example.com" target="_blank">someone@example.com</a>). No fault there, it's v1 and parsing isn't his primary concern.<br>
<br>
My package has more complete and more robust parsing (everything except for IPv6 addresses, which I haven't needed), more tests, and full support for normalization. OTOH I've written no user documentation. Also, it was some of my first Smalltalk code, and it shows.<br>
<br>
Oliver, if you're interested, maybe we could work off-list to combine the two? Between the both of us we might be able to produce a complete URI package for inclusion in base. I figure if everybody is writing their own, it's something that's actually needed.<br>
<br>
Eric<br>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote></div>