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 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 }
287 }
293 }
300 }
304 }
308 }
310 // the prints
315 }
317 // TODO need to make it a char
321 }
325 }
330 }
334 }
341 }
342 }
350 }
357 }
374 else
378 }
379 i++;
380 }
385 }
394 }
395 }
397 // if not set to screen, or a file, make a default filename
403 }
404 }
414 }
415 }
419 }
420 }