[M3devel] m2tom3

Jay K jay.krell at cornell.edu
Thu Nov 17 18:57:53 CET 2011




Commit the initial version, and then the revisions, to the cm3 repository?  - Jay > Date: Thu, 17 Nov 2011 11:09:49 -0600
> From: rodney_bates at lcwb.coop
> To: m3devel at elegosoft.com
> Subject: Re: [M3devel] m2tom3
> 
> I dragged this out and, if a few minutes, got m2tom3 to compile under CM3
> by eliminating IMPORT TextF and changing 4 places from the form TextVariable[j]
> to Text.GetChar(TextVariable,j).  This is file m2tom3/src/Analyzer/Standard,m3.
> The result is attached.
> 
> It compiled and linked on AMD64_LINUX, and executed enough to give the help text
> and to translate a tiny bit of Modula-2 code.
> 
> I'm biting my tongue on why it was coded this way in the first place.
> 
> On 11/15/2011 04:44 PM, Mark Wickens wrote:
> > Guys,
> >
> > I found the m2tom3 translation utility here: http://freepages.modula2.org/downloads/m2tom3-2.03.tar.gz
> > I attempted to compile it using cm3, but I get an unknown interface:
> >
> > msw at x60:~/m2tom3/m2tom3/src$ cm3
> > --- building in ../LINUXLIBC6 ---
> >
> > unsupported m3_option value: "-O"
> > new source -> compiling Standard.m3
> > "../src/Analyzer/Standard.m3", line 25: unable to find interface (TextF)
> > 1 error encountered
> > compilation failed => not building program "m2tom3"
> > Fatal Error: package build failed
> >
> >
> > Has anyone heard of interface TextF? Alternatively, is there a port of this utility to cm3?
> >
> > I recently uncovered a machine-readable copy of my degree final year project, a Meta Assembler, written in Modula-2, and wondered if I could get it to compile using the utility to work with Modula-3.
> >
> > Regards,
> >
> > Makr.
> >
> >
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20111117/9ba2f323/attachment-0002.html>


More information about the M3devel mailing list