gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control systemecf634a502dc11c26bb8d77db48af32170ec497f
4 /**
5 * This program converts file from compiled MicroJava bytecode to WSL language
6 * which is a part of the FermaT Transformation system. MicroJava is a subset
7 * used in Compiler Construction courses by Hanspeter Moessenboeck, not
8 * "Java ME".
9 *
10 * @author Doni Pracner, http://perun.dmi.rs/pracner http://quemaster.com
11 */
25 }
29 }
33 }
35 /** Constant used for marking a regular comment from the original file */
37 /**
38 * Constant used for marking when original code is inserted in the file,
39 * next to the translations
40 */
42 /** Constant used for marking special messages from the translator */
44 /** Constant used for marking error messages from the translator */
47 /** instruction code in MicroJava bytecode. */
48 public static final int
118 }
122 }
132 }
136 }
140 }
144 }
154 }
155 counter++;
157 }
161 }
165 }
169 }
171 /**
172 * Creates a WSL comment with care to quote chars.
173 */
176 }
178 /**
179 * Creates a WSL comment with care to quote chars, of the
180 * given type. Types are given as char constants. They can be
181 * default comments, comments that contain the original code
182 * in them, or additional comments regarding the translation
183 * process.
184 */
187 }
191 }
195 }
199 }
203 }
207 }
217 }
219 }
223 //skip start TODO make better
238 }
245 }
249 }
256 }
260 }
270 }
275 }
288 }
295 }
301 }
307 }
314 }
321 }
329 }
334 }
339 }
341 // the prints
346 }
348 // TODO need to make it a char
352 }
357 }
362 }
366 }
373 }
374 }
382 }
389 }
406 else
410 }
411 i++;
412 }
417 }
426 }
427 }
429 // if not set to screen, or a file, make a default filename
435 }
436 }
448 }
449 }
453 }
454 }