<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div><p data-start="220" data-end="232">Hi Tomas,</p><p data-start="234" data-end="375">Feel free to reach out to me directly if you’d prefer not to fill the list with AI discussion, but here are a few notes from my experience.</p><p data-start="377" data-end="863">I used Claude to build a Python-style regular expression module with a C PCRE2 backend. I was pleasantly surprised by Claude’s clauses (sorry). The whole process took about three hours, including some light testing. Claude did wander down a few blind alleys and needed occasional redirection, but given my rusty C skills, it still saved me close to a week of work. For those interested, the (currently unpolished) repository is here: <a href="https://github.com/testock/mercury-re">https://github.com/testock/mercury-re</a></p><p data-start="865" data-end="882"><span data-start="865" data-end="880">A few tips:</span></p><p data-start="865" data-end="882">1. When working with Claude and Mercury, make sure it has access to the compiler source. This lets you point it to relevant examples it can use to model its output.</p><p data-start="865" data-end="882">2. Claude doesn’t always interpret compiler errors correctly, so you’ll need to keep an eye out for cases where it gets “confused.”</p><p data-start="1183" data-end="1637">Overall, I found Claude quite helpful for the more tedious parts of writing Mercury-C wrappers, though I haven’t used it for more substantial Mercury development. I suspect AI assistants will prove particularly effective for Hindley-Milner languages like Mercury, where strong typing and compiler guarantees reduce the need for extensive code review. My use case doesn’t benefit from that as much, since interfacing with C is inherently less type-safe.</p><p data-start="1639" data-end="1660">Best regards,<br data-start="1652" data-end="1655">Ted</p></div><div><br></div><div><div><br><blockquote type="cite"><div>On Oct 26, 2025, at 02:00, users-request@lists.mercurylang.org wrote:</div><br class="Apple-interchange-newline"><div><div>Send users mailing list submissions to<br><span class="Apple-tab-span" style="white-space:pre"> </span>users@lists.mercurylang.org<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br><span class="Apple-tab-span" style="white-space:pre">  </span>https://lists.mercurylang.org/listinfo/users<br>or, via email, send a message with subject or body 'help' to<br><span class="Apple-tab-span" style="white-space:pre">        </span>users-request@lists.mercurylang.org<br><br>You can reach the person managing the list at<br><span class="Apple-tab-span" style="white-space:pre">      </span>users-owner@lists.mercurylang.org<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of users digest..."<br><br><br>Today's Topics:<br><br>   1. (cough) "AI" (Tomas By)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Sat, 25 Oct 2025 22:31:47 +0200<br>From: Tomas By <tomas@basun.net><br>To: Mercury Users <users@lists.mercurylang.org><br>Subject: [m-users.] (cough) "AI"<br>Message-ID: <878qgy4tak.wl-tomas@basun.net><br>Content-Type: text/plain; charset=US-ASCII<br><br>Hi all,<br><br>Just read this on Slashdot:<br><br>| I'm a programmer who started out hesitant about AI, and at first I<br>| thought all that it could do was auto-complete better.<br>| Then I tried Claude Code, and it really is like having your own<br>| personal junior dev assisting you're every need. Like a junior, it<br>| makes mistakes, but using the *massive* amount of good code that it<br>| creates, and fixing what's left, is so much faster than writing it<br>| all from scratch yourself.<br>https://slashdot.org/story/25/10/25/0324244/meet-the-people-who-dare-to-say-no-to-ai<br><br>and wonder if anybody has tried this with Mercury?<br><br>I suspect that (1) this person uses C[*]/Java, and (2) the usefulness<br>of this "AI" stuff for Mercury will be proportionally less in a<br>similar magnitude as code length for same functionality, ie a factor<br>ten or so.<br><br>Anybody has any experiences?<br><br>/Tomas<br><br><br>------------------------------<br><br>Subject: Digest Footer<br><br>_______________________________________________<br>users mailing list<br>users@lists.mercurylang.org<br>https://lists.mercurylang.org/listinfo/users<br><br><br>------------------------------<br><br>End of users Digest, Vol 125, Issue 2<br>*************************************<br></div></div></blockquote></div><br></div></body></html>