[M3devel] m2tom3

Mika Nystrom mika at async.caltech.edu
Wed Nov 16 00:24:57 CET 2011


What I would do is:

1. delete IMPORT TextF
2. see what breaks, figure out the intent of the code, recode it using Text
3. check in the result to the CM3 repository so no one has to do it again!

   Mika

Mark Wickens writes:
>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.



More information about the M3devel mailing list