<div dir="ltr">Fantastic, thank you for this! Yes, having looked over some of the FFI examples just now it almost seems too good to be true - I'm excited to try it out!<div><br></div><div><br></div><div>Kind regards,</div><div><br></div><div>Matt.</div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 14, 2023 at 1:26 PM Sean Charles (emacstheviking) <<a href="mailto:objitsu@gmail.com">objitsu@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>The C FFI for mercury is so beautifully simple once you have tried it, it shouldn't be a problem.<div><br></div><div>You shouldn't have any issues other than learning curve stuff.</div><div><br id="m_-2818312483418231306lineBreakAtBeginningOfMessage"><div>Somewhere I started using the Postgres libpq with mercury but it got sidetracked! I believe there are some other links out there, Volker on this list has a lovely curated list</div><div><br></div><div><div style="display:block"><div style="display:inline-block" role="link"><a style="border-radius:10px;font-family:-apple-system,Helvetica,Arial,sans-serif;display:block;width:300px;overflow:hidden;text-decoration:none" rel="nofollow" href="http://volker-wysk.de/mercury/resources.html" dir="ltr" role="button" width="300" target="_blank"><table style="table-layout:fixed;border-collapse:collapse;width:300px;background-color:rgb(229,230,233);font-family:-apple-system,Helvetica,Arial,sans-serif" cellpadding="0" cellspacing="0" border="0" width="300"><tbody><tr><td><table bgcolor="#E5E6E9" cellpadding="0" cellspacing="0" width="300" style="font-family:-apple-system,Helvetica,Arial,sans-serif;table-layout:fixed;background-color:rgb(229,230,233)"><tbody><tr><td style="padding:8px 0px"><div style="max-width:100%;margin:0px 16px;overflow:hidden"><div style="font-weight:500;font-size:12px;overflow:hidden;text-overflow:ellipsis;text-align:left"><a rel="nofollow" href="http://volker-wysk.de/mercury/resources.html" style="text-decoration:none" target="_blank"><font color="#272727" style="color:rgba(0,0,0,0.847)">A List of Mercury Resources</font></a></div><div style="font-weight:400;font-size:11px;overflow:hidden;text-overflow:ellipsis;text-align:left"><a rel="nofollow" href="http://volker-wysk.de/mercury/resources.html" style="text-decoration:none" target="_blank"><font color="#808080" style="color:rgba(0,0,0,0.498)">volker-wysk.de</font></a></div></div></td><td style="padding:0px 12px 0px 0px" width="36"><a rel="nofollow" href="http://volker-wysk.de/mercury/resources.html" target="_blank"><img style="display: inline-block; width: 36px; height: 36px;" width="36" height="36"></a></td></tr></tbody></table></td></tr></tbody></table></a></div></div><br></div><div><br></div><div>As for CGI, yes, there is some code in the examples/samples folders i think, it is probably quite old, but again, i think I made it build and played with it once!</div><div><br></div><div><br></div><div><br><blockquote type="cite"><div>On 14 Oct 2023, at 18:23, Matthew Delaney <<a href="mailto:matt.delaney2@gmail.com" target="_blank">matt.delaney2@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div dir="ltr" class="gmail_signature"><div>Hi, I'm new to Mercury but am interested in using it to replace Prolog in a project I'm just starting. This project will need a web-interface and backend DB connectivity. Reading through Mercury's documentation, it looks like the most straightforward approach would be to use CGI for the Web App part and the Foreign Language Interface for DB connectivity. Is that correct or are there other options available?</div><div><br></div><div><br></div><div>Kind regards,</div><div><br></div><div>Matt.</div><div><br></div></div></div>
_______________________________________________<br>users mailing list<br><a href="mailto:users@lists.mercurylang.org" target="_blank">users@lists.mercurylang.org</a><br><a href="https://lists.mercurylang.org/listinfo/users" target="_blank">https://lists.mercurylang.org/listinfo/users</a><br></div></blockquote></div><br></div></div></blockquote></div>