[m-dev.] moose
Fergus Henderson
fjh at cs.mu.OZ.AU
Fri Aug 11 20:19:44 AEST 2000
On 11-Aug-2000, Michael Day <mcda at students.cs.mu.oz.au> wrote:
>
> On an unrelated topic, is the focus of moose creating parsers that are not
> easy to express in Mercury, or creating parsers that are more efficient
> than the equivalent code in Mercury, or something else entirely?
I think the former. In particular, Moose lets you write left-recursive
grammars, whereas if you write grammars directly in Mercury using DCGs,
then you factor your grammar to avoid left-recursion, since that would
result in infinite loops.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list