gitweb on Svarog

projekti pod git sistemom za održavanje verzija -- projects under the git version control system
wsl metrics script, nicer print of header
[mjc2wsl.git] / README.md
1 MJC2WSL - convert MicroJava Compiled Bytecode to WSL/FermaT
2 ===========================================================
4 mjc2wsl is distributed under the GPL licence, for more details check the src
5 folder. More about the tools can be found in the "docs" folder.
8 Quick build and test
9 --------------------
11 Running ant in the folder should compile the tool and then do a test -
12 compile all of the sample MicroJava codes into MJ bytecode, translate them
13 to WSL and then apply the given transformations in MetaWSL to the programs.
15 Look in the "docs" folder for more details about running the available ant
16 tasks, configurations, installations etc.
19 Requirements
20 ------------
22 - java JDK for compiling and running the mjc2wsl tool and the MJ compiler
24 - ant for building and testing
25 - ant-contrib tasks are needed for some of the tasks
27 - FermaT for running the translated examples and applying the transformations
28 (FermaT Maintenance Environment can be used)
29 Downloads available at http://www.cse.dmu.ac.uk/~mward/fermat.html
31 Check the docs folder for a more detailed tutorial on how to install
32 FermaT under Linux.
34 This project should work correctly regardless of operating
35 system, that is it should work fine if you have the above
36 requirements setup properly (java-ant-fermat).
38 It should be noted that although everything *should* work
39 on Windows or Mac or whatever else can run the dependencies,
40 it is only (at this point) extensively tested under Linux.
41 Feel free to ask about problems running it, suggestions for
42 improving the platform Independence are welcome.
45 Setting the FermaT dir
46 ----------------------
48 The ant build script assumes that Fermat is in "C:/fermat3" under Windows
49 and "~/fermat3" for everything else (Linux/Mac...).
51 If you need to change this you can rename (or copy) the given file
52 "custom.properties.default" to "custom.properties" and specify a correct
53 path for your system.
56 About MicroJava
57 ---------------
59 This is a simple language made by H. Mössenböck for a Compiler Construction
60 course. It is NOT the same as Java Micro Edition (JavaME) used on mobile
61 phones.
63 For details about the language and the version used in this project check
64 out the "docs" folder.
66 More about the course, the language and its VM:
67 http://www.ssw.uni-linz.ac.at/Misc/CC/
69 A functional compiler is distributed in the lib folder for ease of testing
70 and evaluating. Check the folder for further details.
73 Contact
74 -------
76 Project home:
77 http://perun.dmi.rs/pracner/transformations
79 Feel free to contact Doni Pracner if you have any problems, ideas
80 or suggestions.
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner