Re: Go on using Ml-lex

John Reppy <[email protected]> Tue, 27 Oct 2009 09:57:11 +0000
Newsgroups gmane.comp.lang.sml.smlnj
Message-ID <[email protected]>
Please file a bug report at

	https://smlnj-gforge.cs.uchicago.edu/bugform.php

On Oct 26, 2009, at 5:30 PM, Roger Price wrote:

> 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
> _______________________________________________
> Smlnj-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/smlnj-list
>


------------------------------------------------------------------------------
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