gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control system 4 /**
5 * This program converts file from compiled MicroJava bytecode (a subset used
6 * in Compiler Construction courses by H. Moessenboeck, not "Java ME")
7 * to WSL language which is a part of the FermaT Transformation system.
8 *
9 * @author Doni Pracner, http://perun.dmi.rs/pracner http://quemaster.com
10 */
14 //regular comments from the original file
15 //OC when original code is inserted in the file, next to the translations
16 //SPEC special messages from the translator
17 //ERR error messages from the transnlator
21 /** instruction code */
22 public static final int
82 StringBuilder ret = new StringBuilder("C:\" This file automatically converted from microjava bytecode\";\n"
90 }
94 }
104 }
108 }
112 }
116 }
125 }
126 counter++;
128 }
132 }
136 }
140 }
142 /**
143 * Creates a WSL comment with care to quote chars.
144 */
147 }
149 /**
150 * Creates a WSL comment with care to quote chars, of the
151 * given type. Types are given as char constants. They can be
152 * default comments, comments that contain the original code
153 * in them, or additional comments regarding the translation
154 * process.
155 */
158 }
162 }
166 }
170 }
174 }
178 }
182 //skip start TODO make better
195 }
199 }
203 }
207 }
211 }
217 }
222 }
229 }
236 }
242 }
248 }
252 }
256 }
258 //the prints
263 }
265 //TODO need to make it a char
269 }
272 }
276 }
280 }
287 }
288 }
295 }
302 }
321 }
322 i++;
323 }
332 }
333 }
335 //if not set to screen, or a file, make a default filename
339 }
340 }
349 }
350 }
354 }
355 }