<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>The <a moz-do-not-send="true"
href="https://mercurylang.org/information/doc-release/mercury_ref/Syntax.html#Syntax">Syntax</a>
page from the reference manual will be of help here.<br>
</p>
<div class="moz-cite-prefix">On 14/01/23 00:43, Modestas Valauskas
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANOPu+7hzNq2CyJp18cS0U8xyxtYreb94RD9NzYWHya=n2OrQQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hello everybody,
<div><br>
<div>I'm looking for a formal grammar for Mercury. I'm
thinking of a declarative specification in the form of e.g.
BNF/EBNF or perhaps ANTLR or a different parser generator
tool, but if that is not available, anything else that would
allow me to more easily write a formal grammar for Mercury
would be appreciated.</div>
</div>
<div><br>
</div>
<div>Modestas Valauskas</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:developers@lists.mercurylang.org">developers@lists.mercurylang.org</a>
<a class="moz-txt-link-freetext" href="https://lists.mercurylang.org/listinfo/developers">https://lists.mercurylang.org/listinfo/developers</a>
</pre>
</blockquote>
</body>
</html>