Re: Go on using Ml-lex
Roger Price <[email protected]> Mon, 26 Oct 2009 18:30:45 +0100 (CET)
| Newsgroups | gmane.comp.lang.sml.smlnj |
|---|---|
| Message-ID | <[email protected]> |
Sorry, I should have provided a little more motivation for my
questions.
In an ML-lex file I have a named expression r which refers to a
previously defined named expression r0. r0 is referenced by placing
its name in curly brackets. I am adding the hyphen to a named set
of characters.
r = ({r0}|[-]);
This declaration was accepted by ML-lex, but is rejected by ML-ulex
when in ML-lex mode, with the message:
[/mnt/home/smlnj/110.67/bin/ml-ulex --ml-lex-mode translator/oasis.lex]
[ml-ulex: parsing]
170: syntax error: deleting BAR LB RBD
Clearly I could write "-" instead of [-], and indeed this avoids the
error message, but I simply fall into further more mysterious
new errors.
I have not found a list of ML-lex/ML-ulex differences either on the
SML/NJ site or on Google.
I have tried backing off to 110.67 but I still see these errors.
Going back to earlier versions of SML/NJ becomes more difficult due
to library incompatibilities during the installation of SML/NJ.
Roger
On Mon, 26 Oct 2009, Roger Price wrote:
> Is it possible to have ml-lex without ml-ulex?
> Is Ml-ulex supposed to be a drop-in replacement for Ml-lex?
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference