[Cuis-dev] New package: Cuis-Smalltalk-URI
olivier auverlot
olivier.auverlot at gmail.com
Sat Jan 11 07:26:36 PST 2025
Hi Eric,
I just looked at your package and it looks better than mine.
I agree with you. We need a package to build and parse URI. This is a real
need for writing modern software.
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.
Best regards
Olivier
Le mar. 7 janv. 2025 à 22:36, Eric Sessoms via Cuis-dev <
cuis-dev at lists.cuis.st> a écrit :
> On Tue, Jan 7, 2025, at 1:04 PM, Mariano Montone via Cuis-dev wrote:
> > Is this the only library available for URIs?
>
> There's the old https://github.com/Phantasus/Cuis-Smalltalk-URI-Kernel
> 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).
>
> And there's also https://github.com/coder5506/Cuis-Smalltalk-URI 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.)
>
> Anyway, hi! I'm new here, been lurking since about October.
>
> 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:someone at example.com). No fault there, it's v1
> and parsing isn't his primary concern.
>
> 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.
>
> 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.
>
> Eric
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250111/91067271/attachment.htm>
More information about the Cuis-dev
mailing list