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 }
294 }
301 }
308 }
312 }
316 }
318 // the prints
323 }
325 // TODO need to make it a char
329 }
333 }
338 }
342 }
349 }
350 }
358 }
365 }
382 else
386 }
387 i++;
388 }
393 }
402 }
403 }
405 // if not set to screen, or a file, make a default filename
411 }
412 }
422 }
423 }
427 }
428 }