[m-rev.] lex and moose changed
Fergus Henderson
fjh at cs.mu.OZ.AU
Thu Aug 2 14:29:22 AEST 2001
On 02-Aug-2001, Michael Day <mikeday at bigpond.net.au> wrote:
>
> > As a suggested application, here's a token type I'd like to have produced by
> > the lexer:
> >
> > :- type token --->
> > plus ; minus ; times ; divide ; int(int) ; ident(string).
> >
> > Hopefully this is simple enough to be easy to code, and complex enough to
> > illustrate the differences between the approaches.
>
> What do people think about scanning using predicates and backtracking?
I like that approach.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list