gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control system4a30186c26ffc1c0526f291014591f44b40118d7
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 }
191 //skip start TODO make better
206 }
213 }
217 }
224 }
228 }
238 }
243 }
255 }
262 }
268 }
275 }
279 }
283 }
285 // the prints
290 }
292 // TODO need to make it a char
296 }
300 }
305 }
309 }
316 }
317 }
325 }
332 }
349 else
353 }
354 i++;
355 }
360 }
369 }
370 }
372 // if not set to screen, or a file, make a default filename
378 }
379 }
389 }
390 }
394 }
395 }