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 (a subset used
6 * in Compiler Construction courses by H. Moessenboeck, not "Java ME")
7 * to WSL language which is a part of the FermaT Transformation system.
8 *
9 * @author Doni Pracner, http://perun.dmi.rs/pracner http://quemaster.com
10 */
14 //regular comments from the original file
15 //OC when original code is inserted in the file, next to the translations
16 //SPEC special messages from the translator
17 //ERR error messages from the transnlator
21 /** instruction code */
22 public static final int
82 StringBuilder ret = new StringBuilder("C:\" This file automatically converted from microjava bytecode\";\n"
90 }
94 }
103 }
107 }
111 }
115 }
124 }
126 }
130 }
134 }
138 }
140 /**
141 * Creates a WSL comment with care to quote chars.
142 */
145 }
147 /**
148 * Creates a WSL comment with care to quote chars, of the
149 * given type. Types are given as char constants. They can be
150 * default comments, comments that contain the original code
151 * in them, or additional comments regarding the translation
152 * process.
153 */
156 }
160 }
164 }
168 }
172 }
176 }
180 //skip start TODO make better
192 }
196 }
200 }
204 }
208 }
214 }
219 }
226 }
233 }
239 }
245 }
249 }
253 }
255 //the prints
260 }
262 //TODO need to make it a char
266 }
269 }
271 }
274 }
281 }
282 }
289 }
296 }
315 }
316 i++;
317 }
326 }
327 }
329 //if not set to screen, or a file, make a default filename
333 }
334 }
343 }
344 }
348 }
349 }