[m-rev.] lex and moose changed
Peter Schachte
schachte at cs.mu.OZ.AU
Thu Aug 2 10:58:17 AEST 2001
Ralph and Holger:
Maybe the best way to resolve this is for each of you to post a simpler
lexer using your preferred scheme. Hopefully on seeing both, the preferable
approach will become clear.
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.
--
Peter Schachte ....I have not failed. I've just found
mailto:schachte at cs.mu.OZ.AU 10,000 ways that won't work.
http://www.cs.mu.oz.au/~schachte/ -- Thomas Edison
Phone: +61 3 8344 9166
PGP key available, see web page
--------------------------------------------------------------------------
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