gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control system521be052fffd8f23a56a4537793fc4a85227245d
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 */
15 /** Constant used for marking a regular comment from the original file */
17 /**
18 * Constant used for marking when original code is inserted in the file,
19 * next to the translations
20 */
22 /** Constant used for marking special messages from the translator */
24 /** Constant used for marking error messages from the translator */
27 /** instruction code in MicroJava bytecode. */
28 public static final int
98 }
102 }
112 }
116 }
120 }
124 }
134 }
135 counter++;
137 }
141 }
145 }
149 }
151 /**
152 * Creates a WSL comment with care to quote chars.
153 */
156 }
158 /**
159 * Creates a WSL comment with care to quote chars, of the
160 * given type. Types are given as char constants. They can be
161 * default comments, comments that contain the original code
162 * in them, or additional comments regarding the translation
163 * process.
164 */
167 }
171 }
175 }
179 }
183 }
187 }
197 }
199 }
203 //skip start TODO make better
218 }
225 }
229 }
236 }
240 }
250 }
255 }
268 }
275 }
281 }
288 }
292 }
296 }
298 // the prints
303 }
305 // TODO need to make it a char
309 }
313 }
318 }
322 }
329 }
330 }
338 }
345 }
362 else
366 }
367 i++;
368 }
373 }
382 }
383 }
385 // if not set to screen, or a file, make a default filename
391 }
392 }
402 }
403 }
407 }
408 }