Go on using Ml-lex

View: New views
4 Messages — Rating Filter:   Alert me  

Go on using Ml-lex

by Roger Price-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I would lile to re-compile and run some older programs which used
Ml-lex.  I would like to continue using Ml-lex as it was, to check
that the programs run correctly, before attempting a migration to
Ml-ulex.

I downloaded
http://smlnj.cs.uchicago.edu/dist/working/110.71/config.tgz,
unpacked and set config/targets to

request ml-lex
request ml-lex-mllex-tool
request ml-lex-lex-ext
request ml-yacc
request ml-yacc-grm-ext
request ml-lpt-lib
request smlnj-lib
request tdp-util

but config/install.sh ends with

[scanning $/json-lib.cm]
  [bad plugin name: anchor $ml-ulex-tool.cm not defined]
  FAILURE: unexpected exception: BadAnchor
  config/install.sh: !!! Installation of libraries and programs failed.

If I reduce config/targets to

request ml-lex
request ml-lex-mllex-tool
request ml-lex-lex-ext
request ml-yacc
request ml-yacc-grm-ext
request smlnj-lib

config/install.sh ends with

[scanning $/json-lib.cm]
  /usr/share/smlnj/smlnj-lib/JSON/json-lib.cm:22.3-22.18 Error: anchor
  $ml-lpt-lib.cm not defined
  FAILURE: unexpected exception: BadAnchor
  config/install.sh: !!! Installation of libraries and programs failed.

Is it possible to have ml-lex without ml-ulex?

Is Ml-ulex supposed to be a drop-in replacement for Ml-lex?

Roger

------------------------------------------------------------------------------
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
Smlnj-list@...
https://lists.sourceforge.net/lists/listinfo/smlnj-list

Re: Go on using Ml-lex

by Roger Price-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
Smlnj-list@...
https://lists.sourceforge.net/lists/listinfo/smlnj-list

Re: Go on using Ml-lex

by John Reppy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: Go on using Ml-lex

by Jon Riehl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

FYI, since we haven't heard further about this, I've submitted a bug
to our tracker:

https://smlnj-gforge.cs.uchicago.edu/tracker/index.php?func=detail&aid=49&group_id=33&atid=215

Thanks,
-Jon

On Tue, Oct 27, 2009 at 3:57 AM, John Reppy <jhr@...> wrote:

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

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Smlnj-list mailing list
Smlnj-list@...
https://lists.sourceforge.net/lists/listinfo/smlnj-list