Changeset 3428
- Timestamp:
- Feb 25, 2008, 2:39:06 PM (13 years ago)
- Location:
- to-imperative/trunk
- Files:
-
- 38 edited
Legend:
- Unmodified
- Added
- Removed
-
to-imperative/trunk/compiler
- Property svn:ignore
-
old new 1 *.s 2 *.dep 3 rfp*.cc 4 NativeJava.cc 5 rfp*.hh 6 rfp*.class 7 rfp*.java 1 *.cc *.hh *.class *.java
-
- Property svn:ignore
-
to-imperative/trunk/java/compiler/org/refal/plus
- Property svn:ignore deleted
-
to-imperative/trunk/java/compiler/org/refal/plus/comp
- Property svn:ignore deleted
-
to-imperative/trunk/java/compiler/org/refal/plus/comp/ClassFormatReader.java
- Property svn:keywords changed from "Author Date Id Revision" to Author Date Id Revision
-
to-imperative/trunk/java/compiler/org/refal/plus/compiler
- Property svn:ignore deleted
-
to-imperative/trunk/java/compiler/org/refal/plus/compiler/NativeJava.java
- Property svn:eol-style set to native
- Property svn:keywords set to Author Date Id Revision
r3370 r3428 12 12 static final Expr _c_2 = Expr.fromSequence (")"); 13 13 static final Expr _c_3 = Expr.fromSequence ("("); 14 static final Expr _c_4 = Expr.concat ((Comparable ) Expr.empty, (Comparable) Expr.empty);15 static final Expr _c_5 = new Expr ((Comparable ) Expr.empty);14 static final Expr _c_4 = Expr.concat ((Comparable<?>) Expr.empty, (Comparable<?>) Expr.empty); 15 static final Expr _c_5 = new Expr ((Comparable<?>) Expr.empty); 16 16 static final Expr _c_6 = Expr.fromSequence ("static"); 17 17 static final Expr _c_7 = new Expr (Symbol.newWord ("")); 18 18 static final Expr _c_8 = Expr.fromSequence ("."); 19 19 static final Expr _c_9 = Expr.fromSequence (","); 20 static final Expr _c_11 = new Expr (Symbol.newWord ("Integer (int x, double);")); 21 static final Expr _c_12 = new Expr (Symbol.newWord ("Integer Integer.toInteger (int x, double);")); 22 static final Expr _c_13 = new Expr (Symbol.newWord ("static Integer java.lang.Integer.toInteger (int x, double);")); 20 static final Expr _c_11 = new Expr (Symbol.newWord ("Integer (int x, double)")); 21 static final Expr _c_12 = new Expr (Symbol.newWord ("Integer Integer.toInteger (int x, double)")); 22 static final Expr _c_13 = new Expr (Symbol.newWord ("static Integer java.lang.Integer.toInteger (int x, double)")); 23 static final Expr _c_14 = new Expr (Symbol.newWord ("Integer Integer.toInteger")); 24 static final Expr _c_15 = new Expr (Symbol.newWord ("static Integer java.lang.Integer.toInteger")); 23 25 24 26 @RefalFormat("$func? Whitespace t = ;") … … 143 145 _exit1: _continue1: for ( ; ; _va_3.next ()) 144 146 { 145 Expr _ve__dollar_tmp_m_2 4_m_14 = _va_3.getLeft();147 Expr _ve__dollar_tmp_m_23_m_14 = _va_3.getLeft(); 146 148 Expr _v_lsplit__arg = _va_3.getRight(); 147 149 if (!_va_3.isValid ()) … … 155 157 break _block1__branch1; 156 158 } 157 int _v_len___dollar_tmp_m_2 4_m_23 = (_v_len1 - _v_len2);159 int _v_len___dollar_tmp_m_23_m_23 = (_v_len1 - _v_len2); 158 160 Expr _vt_term = Expr.empty; 159 161 _vt_term = _v_lsplit__arg.subexpr (0, 1); 160 Expr _ve__dollar_tmp_m_2 4_m_23 = Expr.empty;161 _ve__dollar_tmp_m_2 4_m_23 = _v_lsplit__arg.subexpr ((0 + 1), _v_len___dollar_tmp_m_24_m_23);162 Expr _ve__dollar_tmp_m_23_m_23 = Expr.empty; 163 _ve__dollar_tmp_m_23_m_23 = _v_lsplit__arg.subexpr ((0 + 1), _v_len___dollar_tmp_m_23_m_23); 162 164 _negation1: { 163 165 if (!Whitespace (_vt_term)) … … 184 186 _exit1: _continue1: for ( ; ; _va_4.next ()) 185 187 { 186 Expr _ve__dollar_tmp_m_2 9_m_14 = _va_4.getLeft();188 Expr _ve__dollar_tmp_m_28_m_14 = _va_4.getLeft(); 187 189 Expr _v_lsplit__arg = _va_4.getRight(); 188 190 if (!_va_4.isValid ()) … … 196 198 break _block1__branch1; 197 199 } 198 int _v_len___dollar_tmp_m_2 9_m_23 = (_v_len1 - _v_len2);200 int _v_len___dollar_tmp_m_28_m_23 = (_v_len1 - _v_len2); 199 201 Expr _vt_term = Expr.empty; 200 202 _vt_term = _v_lsplit__arg.subexpr (0, 1); 201 Expr _ve__dollar_tmp_m_2 9_m_23 = Expr.empty;202 _ve__dollar_tmp_m_2 9_m_23 = _v_lsplit__arg.subexpr ((0 + 1), _v_len___dollar_tmp_m_29_m_23);203 Expr _ve__dollar_tmp_m_28_m_23 = Expr.empty; 204 _ve__dollar_tmp_m_28_m_23 = _v_lsplit__arg.subexpr ((0 + 1), _v_len___dollar_tmp_m_28_m_23); 203 205 if (!Whitespace (_vt_term)) 204 206 { … … 212 214 213 215 @RefalFormat("$func DeclarationReader s = s s s s e;") 214 static public void DeclarationReader (Expr _vs_string, Result _v_res1, Result _v_res2, Result _v_res3, Result _v_res4, Result _v_res5) throws RefalException 215 { 216 Result _v_ToChars1 = new Result (Expr.empty); 217 refal.plus.Convert.ToChars (_vs_string, _v_ToChars1); 218 if (_v_ToChars1.getExpr ().length () < 2) 216 static public void DeclarationReader (Expr _vs_decl, Result _v_res1, Result _v_res2, Result _v_res3, Result _v_res4, Result _v_res5) throws RefalException 217 { 218 Result _ve_string = new Result (Expr.empty); 219 refal.plus.Convert.ToChars (_vs_decl, _ve_string); 220 _block1: { 221 _block1__branch1: { 222 if (_ve_string.getExpr ().length () < 2) 223 { 224 break _block1__branch1; 225 } 226 Expr.SplitIterator _va_5 = _ve_string.getExpr ().leftSplit(0); 227 _exit1: _continue1: for ( ; ; _va_5.next ()) 228 { 229 Expr _ve_head = _va_5.getLeft(); 230 Expr _v_lsplit__string = _va_5.getRight(); 231 if (!_va_5.isValid ()) 232 { 233 break _block1__branch1; 234 } 235 if (_v_lsplit__string.length () < 2) 236 { 237 break _block1__branch1; 238 } 239 if (!_c_3.termEquals (_v_lsplit__string, 0)) 240 { 241 continue _continue1; 242 } 243 Expr _v_subexpr__lsplit__string = _v_lsplit__string.subexpr ((0 + 1), (_v_lsplit__string.length () - (0 + 1 + 0))); 244 Expr.SplitIterator _va_6 = _v_subexpr__lsplit__string.leftSplit(0); 245 _exit2: _continue2: for ( ; ; _va_6.next ()) 246 { 247 Expr _ve_args = _va_6.getLeft(); 248 Expr _v_lsplit__lsplit__string = _va_6.getRight(); 249 if (!_va_6.isValid ()) 250 { 251 continue _continue1; 252 } 253 int _v_len1 = _v_lsplit__lsplit__string.length (); 254 int _v_len2 = 1; 255 if (_v_len1 < _v_len2) 256 { 257 continue _continue1; 258 } 259 int _v_len___dollar_tmp_m_35_m_37 = (_v_len1 - _v_len2); 260 if (!_c_2.termEquals (_v_lsplit__lsplit__string, 0)) 261 { 262 continue _continue2; 263 } 264 Expr _ve__dollar_tmp_m_35_m_37 = Expr.empty; 265 _ve__dollar_tmp_m_35_m_37 = _v_lsplit__lsplit__string.subexpr ((0 + 1), _v_len___dollar_tmp_m_35_m_37); 266 Result _gs_auxcall1 = new Result (Expr.empty); 267 Result _gs_auxcall2 = new Result (Expr.empty); 268 Result _gs_auxcall3 = new Result (Expr.empty); 269 Result _gs_auxcall4 = new Result (Expr.empty); 270 HeadReader (_ve_head, _gs_auxcall1, _gs_auxcall2, _gs_auxcall3, _gs_auxcall4); 271 Result _ge_auxcall5 = new Result (Expr.empty); 272 ArgsReader (_ve_args, _ge_auxcall5); 273 _v_res1.assign (_gs_auxcall1.getExpr ()); 274 _v_res2.assign (_gs_auxcall2.getExpr ()); 275 _v_res3.assign (_gs_auxcall3.getExpr ()); 276 _v_res4.assign (_gs_auxcall4.getExpr ()); 277 _v_res5.assign (new Expr ((Comparable<?>) _ge_auxcall5.getExpr ())); 278 break _exit2; 279 } 280 break _exit1; 281 } 282 break _block1; 283 } 284 HeadReader (_ve_string.getExpr (), _v_res1, _v_res2, _v_res3, _v_res4); 285 _v_res5.assign (Expr.empty); 286 } 287 } 288 289 @RefalFormat("$func HeadReader e = s s s s;") 290 static void HeadReader (Expr _ve_head, Result _v_res1, Result _v_res2, Result _v_res3, Result _v_res4) throws RefalException 291 { 292 Result _ve_nws1 = new Result (Expr.empty); 293 Result _ge_head__0 = new Result (Expr.empty); 294 GetWhileNotWhitespace (_ve_head, _ve_nws1, _ge_head__0); 295 Result _ve_nws2 = new Result (Expr.empty); 296 GetWhileNotWhitespace (_ge_head__0.getExpr (), _ve_nws2, _ge_head__0); 297 Result _ve_nws3 = new Result (Expr.empty); 298 GetWhileNotWhitespace (_ge_head__0.getExpr (), _ve_nws3, _ge_head__0); 299 if (!Whitespaces (_ge_head__0.getExpr ())) 219 300 { 220 throw new RefalException ("org.refal.plus.compiler.NativeJava", "DeclarationReader", "Unexpected fail"); 221 } 222 Expr.SplitIterator _va_5 = _v_ToChars1.getExpr ().leftSplit(0); 223 _exit1: _continue1: for ( ; ; _va_5.next ()) 301 throw new RefalException ("org.refal.plus.compiler.NativeJava", "HeadReader", "Unexpected fail"); 302 } 303 Expr _ve_static = Expr.empty; 304 Expr _ve_resType = Expr.empty; 305 Expr _ve_methodname = Expr.empty; 306 _block1: { 307 _block1__branch1: { 308 Expr _v_compose1 = Expr.getConcatenator ().toRight ((Comparable<?>) _ve_nws1.getExpr ()).toRight ((Comparable<?>) _ve_nws2.getExpr ()).toRight ((Comparable<?>) _ve_nws3.getExpr ()).yield (); 309 if (_v_compose1.isSymbolAt (0)) 310 { 311 break _block1__branch1; 312 } 313 Expr _v_deref__compose1 = (Expr) _v_compose1.at (0); 314 int _v_len1 = _v_deref__compose1.length (); 315 int _v_len2 = 0; 316 if (_v_len1 < _v_len2) 317 { 318 break _block1__branch1; 319 } 320 int _v_len__methodname__2 = (_v_len1 - _v_len2); 321 if (!_c_4.equals (_v_compose1, (0 + 1))) 322 { 323 break _block1__branch1; 324 } 325 Expr _ge_methodname__2 = Expr.empty; 326 _ge_methodname__2 = _v_deref__compose1.subexpr (0, _v_len__methodname__2); 327 _ve_static = Expr.empty; 328 _ve_resType = Expr.empty; 329 _ve_methodname = _ge_methodname__2; 330 break _block1; 331 } 332 _block1__branch2: { 333 Expr _v_compose2 = Expr.getConcatenator ().toRight ((Comparable<?>) _ve_nws1.getExpr ()).toRight ((Comparable<?>) _ve_nws2.getExpr ()).toRight ((Comparable<?>) _ve_nws3.getExpr ()).yield (); 334 if (_v_compose2.isSymbolAt (0)) 335 { 336 break _block1__branch2; 337 } 338 if (_v_compose2.isSymbolAt ((0 + 1))) 339 { 340 break _block1__branch2; 341 } 342 Expr _v_deref__compose2 = (Expr) _v_compose2.at (0); 343 Expr _v_deref__compose22 = (Expr) _v_compose2.at ((0 + 1)); 344 int _v_len3 = _v_deref__compose2.length (); 345 int _v_len4 = 0; 346 if (_v_len3 < _v_len4) 347 { 348 break _block1__branch2; 349 } 350 int _v_len__resType__2 = (_v_len3 - _v_len4); 351 int _v_len5 = _v_deref__compose22.length (); 352 int _v_len6 = 0; 353 if (_v_len5 < _v_len6) 354 { 355 break _block1__branch2; 356 } 357 int _v_len__methodname__22 = (_v_len5 - _v_len6); 358 if (!_c_5.termEquals (_v_compose2, (0 + 1 + 1))) 359 { 360 break _block1__branch2; 361 } 362 Expr _ge_resType__2 = Expr.empty; 363 _ge_resType__2 = _v_deref__compose2.subexpr (0, _v_len__resType__2); 364 Expr _ge_methodname__2 = Expr.empty; 365 _ge_methodname__2 = _v_deref__compose22.subexpr (0, _v_len__methodname__22); 366 _ve_static = Expr.empty; 367 _ve_resType = _ge_resType__2; 368 _ve_methodname = _ge_methodname__2; 369 break _block1; 370 } 371 Expr _v_compose3 = Expr.getConcatenator ().toRight ((Comparable<?>) _ve_nws1.getExpr ()).toRight ((Comparable<?>) _ve_nws2.getExpr ()).toRight ((Comparable<?>) _ve_nws3.getExpr ()).yield (); 372 if (_v_compose3.isSymbolAt (0)) 373 { 374 throw new RefalException ("org.refal.plus.compiler.NativeJava", "HeadReader", "Unexpected fail"); 375 } 376 if (_v_compose3.isSymbolAt ((0 + 1))) 377 { 378 throw new RefalException ("org.refal.plus.compiler.NativeJava", "HeadReader", "Unexpected fail"); 379 } 380 if (_v_compose3.isSymbolAt ((0 + 1 + 1))) 381 { 382 throw new RefalException ("org.refal.plus.compiler.NativeJava", "HeadReader", "Unexpected fail"); 383 } 384 Expr _v_deref__compose3 = (Expr) _v_compose3.at (0); 385 Expr _v_deref__compose32 = (Expr) _v_compose3.at ((0 + 1)); 386 Expr _v_deref__compose33 = (Expr) _v_compose3.at ((0 + 1 + 1)); 387 int _v_len7 = _v_deref__compose3.length (); 388 int _v_len8 = 0; 389 if (_v_len7 < _v_len8) 390 { 391 throw new RefalException ("org.refal.plus.compiler.NativeJava", "HeadReader", "Unexpected fail"); 392 } 393 int _v_len__static__2 = (_v_len7 - _v_len8); 394 int _v_len9 = _v_deref__compose32.length (); 395 int _v_len10 = 0; 396 if (_v_len9 < _v_len10) 397 { 398 throw new RefalException ("org.refal.plus.compiler.NativeJava", "HeadReader", "Unexpected fail"); 399 } 400 int _v_len__resType__22 = (_v_len9 - _v_len10); 401 int _v_len11 = _v_deref__compose33.length (); 402 int _v_len12 = 0; 403 if (_v_len11 < _v_len12) 404 { 405 throw new RefalException ("org.refal.plus.compiler.NativeJava", "HeadReader", "Unexpected fail"); 406 } 407 int _v_len__methodname__23 = (_v_len11 - _v_len12); 408 Expr _ge_static__2 = Expr.empty; 409 _ge_static__2 = _v_deref__compose3.subexpr (0, _v_len__static__2); 410 Expr _ge_resType__2 = Expr.empty; 411 _ge_resType__2 = _v_deref__compose32.subexpr (0, _v_len__resType__22); 412 Expr _ge_methodname__2 = Expr.empty; 413 _ge_methodname__2 = _v_deref__compose33.subexpr (0, _v_len__methodname__23); 414 _ve_static = _ge_static__2; 415 _ve_resType = _ge_resType__2; 416 _ve_methodname = _ge_methodname__2; 417 } 418 _block2: { 419 _block2__branch1: { 420 if (_ve_static.length () != 0) 421 { 422 break _block2__branch1; 423 } 424 break _block2; 425 } 426 if (_ve_static.length () != 6) 427 { 428 throw new RefalException ("org.refal.plus.compiler.NativeJava", "HeadReader", "Unexpected fail"); 429 } 430 if (!_c_6.equals (_ve_static, 0)) 431 { 432 throw new RefalException ("org.refal.plus.compiler.NativeJava", "HeadReader", "Unexpected fail"); 433 } 434 } 435 Result _vs_static = new Result (Expr.empty); 436 refal.plus.Convert.ToWord (_ve_static, _vs_static); 437 Result _vs_resType = new Result (Expr.empty); 438 refal.plus.Convert.ToWord (_ve_resType, _vs_resType); 439 Expr _vs_className = Expr.empty; 440 Expr _vs_methodName = Expr.empty; 441 _block3: { 442 _block3__branch1: { 443 if (!_vs_resType.getExpr ().termEquals (_c_7, 0)) 444 { 445 break _block3__branch1; 446 } 447 Result _gs_auxcall1 = new Result (Expr.empty); 448 refal.plus.Convert.ToWord (_ve_methodname, _gs_auxcall1); 449 _vs_className = _gs_auxcall1.getExpr (); 450 _vs_methodName = _c_7; 451 break _block3; 452 } 453 if (_ve_methodname.length () < 1) 454 { 455 throw new RefalException ("org.refal.plus.compiler.NativeJava", "HeadReader", "Unexpected fail"); 456 } 457 Expr.SplitIterator _va_7 = _ve_methodname.rightSplit(0); 458 _exit1: _continue1: for ( ; ; _va_7.prev ()) 459 { 460 Expr _v_rsplit__methodname = _va_7.getLeft(); 461 Expr _ve_methodname1 = _va_7.getRight(); 462 if (!_va_7.isValid ()) 463 { 464 throw new RefalException ("org.refal.plus.compiler.NativeJava", "HeadReader", "Unexpected fail"); 465 } 466 int _v_len13 = _v_rsplit__methodname.length (); 467 int _v_len14 = 1; 468 if (_v_len13 < _v_len14) 469 { 470 throw new RefalException ("org.refal.plus.compiler.NativeJava", "HeadReader", "Unexpected fail"); 471 } 472 int _v_len__classname = (_v_len13 - _v_len14); 473 if (!_c_8.termEquals (_v_rsplit__methodname, (0 + _v_len__classname))) 474 { 475 continue _continue1; 476 } 477 Expr _ve_classname = Expr.empty; 478 _ve_classname = _v_rsplit__methodname.subexpr (0, _v_len__classname); 479 Result _gs_auxcall2 = new Result (Expr.empty); 480 refal.plus.Convert.ToWord (_ve_classname, _gs_auxcall2); 481 Result _va_8 = new Result (); 482 refal.plus.Convert.ToWord (_ve_methodname1, _va_8); 483 _vs_methodName = _va_8.getExpr (); 484 _vs_className = _gs_auxcall2.getExpr (); 485 break _exit1; 486 } 487 } 488 _v_res1.assign (_vs_static.getExpr ()); 489 _v_res2.assign (_vs_resType.getExpr ()); 490 _v_res3.assign (_vs_className); 491 _v_res4.assign (_vs_methodName); 492 } 493 494 @RefalFormat("$func ArgsReader e = e;") 495 static void ArgsReader (Expr _ve_args, Result _v_res1) throws RefalException 496 { 497 Expr _ve_argTypes = Expr.empty; 498 Expr _ge_args__0 = _ve_args; 499 _exit__iter1: for ( ; ; ) 224 500 { 225 Expr _ve_head = _va_5.getLeft(); 226 Expr _v_lsplit__ToChars1 = _va_5.getRight(); 227 if (!_va_5.isValid ()) 228 { 229 throw new RefalException ("org.refal.plus.compiler.NativeJava", "DeclarationReader", "Unexpected fail"); 230 } 231 if (_v_lsplit__ToChars1.length () < 2) 232 { 233 throw new RefalException ("org.refal.plus.compiler.NativeJava", "DeclarationReader", "Unexpected fail"); 234 } 235 if (!_c_3.termEquals (_v_lsplit__ToChars1, 0)) 236 { 237 continue _continue1; 238 } 239 Expr _v_subexpr__lsplit__ToChars1 = _v_lsplit__ToChars1.subexpr ((0 + 1), (_v_lsplit__ToChars1.length () - (0 + 1 + 0))); 240 Expr.SplitIterator _va_6 = _v_subexpr__lsplit__ToChars1.leftSplit(0); 241 _exit2: _continue2: for ( ; ; _va_6.next ()) 242 { 243 Expr _ve_args = _va_6.getLeft(); 244 Expr _v_lsplit__lsplit__ToChars1 = _va_6.getRight(); 245 if (!_va_6.isValid ()) 246 { 247 continue _continue1; 248 } 249 int _v_len1 = _v_lsplit__lsplit__ToChars1.length (); 250 int _v_len2 = 1; 251 if (_v_len1 < _v_len2) 252 { 253 continue _continue1; 254 } 255 int _v_len___dollar_tmp_m_33_m_47 = (_v_len1 - _v_len2); 256 if (!_c_2.termEquals (_v_lsplit__lsplit__ToChars1, 0)) 257 { 258 continue _continue2; 259 } 260 Expr _ve__dollar_tmp_m_33_m_47 = Expr.empty; 261 _ve__dollar_tmp_m_33_m_47 = _v_lsplit__lsplit__ToChars1.subexpr ((0 + 1), _v_len___dollar_tmp_m_33_m_47); 262 Result _ve_nws1 = new Result (Expr.empty); 263 Result _gedd_head1 = new Result (_ve_head); 264 GetWhileNotWhitespace (_gedd_head1.getExpr (), _ve_nws1, _gedd_head1); 265 Result _ve_nws2 = new Result (Expr.empty); 266 GetWhileNotWhitespace (_gedd_head1.getExpr (), _ve_nws2, _gedd_head1); 267 Result _ve_nws3 = new Result (Expr.empty); 268 GetWhileNotWhitespace (_gedd_head1.getExpr (), _ve_nws3, _gedd_head1); 269 if (!Whitespaces (_gedd_head1.getExpr ())) 270 { 271 throw new RefalException ("org.refal.plus.compiler.NativeJava", "DeclarationReader", "Unexpected fail"); 272 } 273 Expr _ve_static = Expr.empty; 274 Expr _ve_resType = Expr.empty; 275 Expr _ve_methodname = Expr.empty; 276 _block1: { 277 _block1__branch1: { 278 Expr _v_compose1 = Expr.getConcatenator ().toRight ((Comparable) _ve_nws1.getExpr ()).toRight ((Comparable) _ve_nws2.getExpr ()).toRight ((Comparable) _ve_nws3.getExpr ()).yield (); 279 if (_v_compose1.isSymbolAt (0)) 280 { 281 break _block1__branch1; 282 } 283 Expr _v_deref__compose1 = (Expr) _v_compose1.at (0); 284 int _v_len3 = _v_deref__compose1.length (); 285 int _v_len4 = 0; 286 if (_v_len3 < _v_len4) 287 { 288 break _block1__branch1; 289 } 290 int _v_len__methodname__2 = (_v_len3 - _v_len4); 291 if (!_c_4.equals (_v_compose1, (0 + 1))) 292 { 293 break _block1__branch1; 294 } 295 Expr _ge_methodname__2 = Expr.empty; 296 _ge_methodname__2 = _v_deref__compose1.subexpr (0, _v_len__methodname__2); 297 _ve_static = Expr.empty; 298 _ve_resType = Expr.empty; 299 _ve_methodname = _ge_methodname__2; 300 break _block1; 301 } 302 _block1__branch2: { 303 Expr _v_compose2 = Expr.getConcatenator ().toRight ((Comparable) _ve_nws1.getExpr ()).toRight ((Comparable) _ve_nws2.getExpr ()).toRight ((Comparable) _ve_nws3.getExpr ()).yield (); 304 if (_v_compose2.isSymbolAt (0)) 305 { 306 break _block1__branch2; 307 } 308 if (_v_compose2.isSymbolAt ((0 + 1))) 309 { 310 break _block1__branch2; 311 } 312 Expr _v_deref__compose2 = (Expr) _v_compose2.at (0); 313 Expr _v_deref__compose22 = (Expr) _v_compose2.at ((0 + 1)); 314 int _v_len5 = _v_deref__compose22.length (); 315 int _v_len6 = 0; 316 if (_v_len5 < _v_len6) 317 { 318 break _block1__branch2; 319 } 320 int _v_len__methodname__22 = (_v_len5 - _v_len6); 321 int _v_len7 = _v_deref__compose2.length (); 322 int _v_len8 = 0; 323 if (_v_len7 < _v_len8) 324 { 325 break _block1__branch2; 326 } 327 int _v_len__resType__2 = (_v_len7 - _v_len8); 328 if (!_c_5.termEquals (_v_compose2, (0 + 1 + 1))) 329 { 330 break _block1__branch2; 331 } 332 Expr _ge_resType__2 = Expr.empty; 333 _ge_resType__2 = _v_deref__compose2.subexpr (0, _v_len__resType__2); 334 Expr _ge_methodname__2 = Expr.empty; 335 _ge_methodname__2 = _v_deref__compose22.subexpr (0, _v_len__methodname__22); 336 _ve_static = Expr.empty; 337 _ve_resType = _ge_resType__2; 338 _ve_methodname = _ge_methodname__2; 339 break _block1; 340 } 341 Expr _v_compose3 = Expr.getConcatenator ().toRight ((Comparable) _ve_nws1.getExpr ()).toRight ((Comparable) _ve_nws2.getExpr ()).toRight ((Comparable) _ve_nws3.getExpr ()).yield (); 342 if (_v_compose3.isSymbolAt (0)) 343 { 344 throw new RefalException ("org.refal.plus.compiler.NativeJava", "DeclarationReader", "Unexpected fail"); 345 } 346 if (_v_compose3.isSymbolAt ((0 + 1))) 347 { 348 throw new RefalException ("org.refal.plus.compiler.NativeJava", "DeclarationReader", "Unexpected fail"); 349 } 350 if (_v_compose3.isSymbolAt ((0 + 1 + 1))) 351 { 352 throw new RefalException ("org.refal.plus.compiler.NativeJava", "DeclarationReader", "Unexpected fail"); 353 } 354 Expr _v_deref__compose3 = (Expr) _v_compose3.at (0); 355 Expr _v_deref__compose32 = (Expr) _v_compose3.at ((0 + 1)); 356 Expr _v_deref__compose33 = (Expr) _v_compose3.at ((0 + 1 + 1)); 357 int _v_len9 = _v_deref__compose3.length (); 358 int _v_len10 = 0; 359 if (_v_len9 < _v_len10) 360 { 361 throw new RefalException ("org.refal.plus.compiler.NativeJava", "DeclarationReader", "Unexpected fail"); 362 } 363 int _v_len__static__2 = (_v_len9 - _v_len10); 364 int _v_len11 = _v_deref__compose33.length (); 365 int _v_len12 = 0; 366 if (_v_len11 < _v_len12) 367 { 368 throw new RefalException ("org.refal.plus.compiler.NativeJava", "DeclarationReader", "Unexpected fail"); 369 } 370 int _v_len__methodname__23 = (_v_len11 - _v_len12); 371 int _v_len13 = _v_deref__compose32.length (); 372 int _v_len14 = 0; 373 if (_v_len13 < _v_len14) 374 { 375 throw new RefalException ("org.refal.plus.compiler.NativeJava", "DeclarationReader", "Unexpected fail"); 376 } 377 int _v_len__resType__22 = (_v_len13 - _v_len14); 378 Expr _ge_static__2 = Expr.empty; 379 _ge_static__2 = _v_deref__compose3.subexpr (0, _v_len__static__2); 380 Expr _ge_resType__2 = Expr.empty; 381 _ge_resType__2 = _v_deref__compose32.subexpr (0, _v_len__resType__22); 382 Expr _ge_methodname__2 = Expr.empty; 383 _ge_methodname__2 = _v_deref__compose33.subexpr (0, _v_len__methodname__23); 384 _ve_static = _ge_static__2; 385 _ve_resType = _ge_resType__2; 386 _ve_methodname = _ge_methodname__2; 387 } 388 _block2: { 389 _block2__branch1: { 390 if (_ve_static.length () != 0) 501 _iter1: { 502 if (!Whitespaces (_ge_args__0)) 503 { 504 break _iter1; 505 } 506 _v_res1.assign (_ve_argTypes); 507 break _exit__iter1; 508 } 509 Expr _ve_arg = Expr.empty; 510 Expr _ve_tail = Expr.empty; 511 _block2: { 512 _block2__branch1: { 513 if (_ge_args__0.length () < 1) 514 { 515 break _block2__branch1; 516 } 517 Expr.SplitIterator _va_9 = _ge_args__0.leftSplit(0); 518 _exit1: _continue1: for ( ; ; _va_9.next ()) 519 { 520 Expr _ge_arg__4 = _va_9.getLeft(); 521 Expr _v_lsplit__args__0 = _va_9.getRight(); 522 if (!_va_9.isValid ()) 391 523 { 392 524 break _block2__branch1; 393 525 } 394 break _block2; 395 } 396 if (_ve_static.length () != 6) 397 { 398 throw new RefalException ("org.refal.plus.compiler.NativeJava", "DeclarationReader", "Unexpected fail"); 399 } 400 if (!_c_6.equals (_ve_static, 0)) 401 { 402 throw new RefalException ("org.refal.plus.compiler.NativeJava", "DeclarationReader", "Unexpected fail"); 403 } 404 } 405 Result _vs_static = new Result (Expr.empty); 406 refal.plus.Convert.ToWord (_ve_static, _vs_static); 407 Result _vs_resType = new Result (Expr.empty); 408 refal.plus.Convert.ToWord (_ve_resType, _vs_resType); 409 Expr _vs_className = Expr.empty; 410 Expr _vs_methodName = Expr.empty; 411 _block3: { 412 _block3__branch1: { 413 if (!_vs_resType.getExpr ().termEquals (_c_7, 0)) 414 { 415 break _block3__branch1; 416 } 417 Result _gs_auxcall1 = new Result (Expr.empty); 418 refal.plus.Convert.ToWord (_ve_methodname, _gs_auxcall1); 419 _vs_className = _gs_auxcall1.getExpr (); 420 _vs_methodName = _c_7; 421 break _block3; 422 } 423 if (_ve_methodname.length () < 1) 424 { 425 throw new RefalException ("org.refal.plus.compiler.NativeJava", "DeclarationReader", "Unexpected fail"); 426 } 427 Expr.SplitIterator _va_7 = _ve_methodname.rightSplit(0); 428 _exit3: _continue3: for ( ; ; _va_7.prev ()) 429 { 430 Expr _v_rsplit__methodname = _va_7.getLeft(); 431 Expr _ve_methodname1 = _va_7.getRight(); 432 if (!_va_7.isValid ()) 433 { 434 throw new RefalException ("org.refal.plus.compiler.NativeJava", "DeclarationReader", "Unexpected fail"); 435 } 436 int _v_len15 = _v_rsplit__methodname.length (); 437 int _v_len16 = 1; 438 if (_v_len15 < _v_len16) 439 { 440 throw new RefalException ("org.refal.plus.compiler.NativeJava", "DeclarationReader", "Unexpected fail"); 441 } 442 int _v_len__classname = (_v_len15 - _v_len16); 443 if (!_c_8.termEquals (_v_rsplit__methodname, (0 + _v_len__classname))) 526 int _v_len1 = _v_lsplit__args__0.length (); 527 int _v_len2 = 1; 528 if (_v_len1 < _v_len2) 529 { 530 break _block2__branch1; 531 } 532 int _v_len__tail__4 = (_v_len1 - _v_len2); 533 if (!_c_9.termEquals (_v_lsplit__args__0, 0)) 534 { 535 continue _continue1; 536 } 537 Expr _ge_tail__4 = Expr.empty; 538 _ge_tail__4 = _v_lsplit__args__0.subexpr ((0 + 1), _v_len__tail__4); 539 _ve_arg = _ge_arg__4; 540 _ve_tail = _ge_tail__4; 541 break _exit1; 542 } 543 break _block2; 544 } 545 int _v_len3 = _ge_args__0.length (); 546 int _v_len4 = 0; 547 if (_v_len3 < _v_len4) 548 { 549 throw new RefalException ("org.refal.plus.compiler.NativeJava", "ArgsReader", "Unexpected fail"); 550 } 551 int _v_len___dollar_tmp_m_62_m_8 = (_v_len3 - _v_len4); 552 Expr _ve__dollar_tmp_m_62_m_8 = Expr.empty; 553 _ve__dollar_tmp_m_62_m_8 = _ge_args__0.subexpr (0, _v_len___dollar_tmp_m_62_m_8); 554 _ve_arg = _ge_args__0; 555 _ve_tail = Expr.empty; 556 } 557 if (_ve_arg.length () < 0) 558 { 559 throw new RefalException ("org.refal.plus.compiler.NativeJava", "ArgsReader", "Unexpected fail"); 560 } 561 Expr.SplitIterator _va_10 = _ve_arg.rightSplit(0); 562 _exit2: _continue2: for ( ; ; _va_10.prev ()) 563 { 564 Expr _v_rsplit__arg = _va_10.getLeft(); 565 Expr _ve_ws13 = _va_10.getRight(); 566 if (!_va_10.isValid ()) 567 { 568 throw new RefalException ("org.refal.plus.compiler.NativeJava", "ArgsReader", "Unexpected fail"); 569 } 570 if (_v_rsplit__arg.length () < 0) 571 { 572 throw new RefalException ("org.refal.plus.compiler.NativeJava", "ArgsReader", "Unexpected fail"); 573 } 574 Expr.SplitIterator _va_11 = _v_rsplit__arg.rightSplit(0); 575 _exit3: _continue3: for ( ; ; _va_11.prev ()) 576 { 577 Expr _v_rsplit__rsplit__arg = _va_11.getLeft(); 578 Expr _ve_argName = _va_11.getRight(); 579 if (!_va_11.isValid ()) 580 { 581 continue _continue2; 582 } 583 if (_v_rsplit__rsplit__arg.length () < 0) 584 { 585 continue _continue2; 586 } 587 Expr.SplitIterator _va_12 = _v_rsplit__rsplit__arg.rightSplit(0); 588 _exit4: _continue4: for ( ; ; _va_12.prev ()) 589 { 590 Expr _v_rsplit__rsplit__rsplit__arg = _va_12.getLeft(); 591 Expr _ve_ws12 = _va_12.getRight(); 592 if (!_va_12.isValid ()) 444 593 { 445 594 continue _continue3; 446 595 } 447 Expr _ve_classname = Expr.empty; 448 _ve_classname = _v_rsplit__methodname.subexpr (0, _v_len__classname); 449 Result _gs_auxcall2 = new Result (Expr.empty); 450 refal.plus.Convert.ToWord (_ve_classname, _gs_auxcall2); 451 Result _va_8 = new Result (); 452 refal.plus.Convert.ToWord (_ve_methodname1, _va_8); 453 _vs_methodName = _va_8.getExpr (); 454 _vs_className = _gs_auxcall2.getExpr (); 455 break _exit3; 456 } 457 } 458 Expr _ve_argTypes = Expr.empty; 459 Expr _ge_args__2 = _ve_args; 460 _exit__iter1: for ( ; ; ) 461 { 462 _iter1: { 463 if (!Whitespaces (_ge_args__2)) 464 { 465 break _iter1; 466 } 467 _v_res1.assign (_vs_static.getExpr ()); 468 _v_res2.assign (_vs_resType.getExpr ()); 469 _v_res3.assign (_vs_className); 470 _v_res4.assign (_vs_methodName); 471 _v_res5.assign (_ve_argTypes); 472 break _exit__iter1; 473 } 474 Expr _ve_arg = Expr.empty; 475 Expr _ve_tail = Expr.empty; 476 _block5: { 477 _block5__branch1: { 478 if (_ge_args__2.length () < 1) 479 { 480 break _block5__branch1; 481 } 482 Expr.SplitIterator _va_9 = _ge_args__2.leftSplit(0); 483 _exit4: _continue4: for ( ; ; _va_9.next ()) 484 { 485 Expr _ge_arg__6 = _va_9.getLeft(); 486 Expr _v_lsplit__args__2 = _va_9.getRight(); 487 if (!_va_9.isValid ()) 488 { 489 break _block5__branch1; 490 } 491 int _v_len17 = _v_lsplit__args__2.length (); 492 int _v_len18 = 1; 493 if (_v_len17 < _v_len18) 494 { 495 break _block5__branch1; 496 } 497 int _v_len__tail__6 = (_v_len17 - _v_len18); 498 if (!_c_9.termEquals (_v_lsplit__args__2, 0)) 499 { 500 continue _continue4; 501 } 502 Expr _ge_tail__6 = Expr.empty; 503 _ge_tail__6 = _v_lsplit__args__2.subexpr ((0 + 1), _v_len__tail__6); 504 _ve_arg = _ge_arg__6; 505 _ve_tail = _ge_tail__6; 506 break _exit4; 507 } 508 break _block5; 509 } 510 int _v_len19 = _ge_args__2.length (); 511 int _v_len20 = 0; 512 if (_v_len19 < _v_len20) 513 { 514 throw new RefalException ("org.refal.plus.compiler.NativeJava", "DeclarationReader", "Unexpected fail"); 515 } 516 int _v_len___dollar_tmp_m_53_m_8 = (_v_len19 - _v_len20); 517 Expr _ve__dollar_tmp_m_53_m_8 = Expr.empty; 518 _ve__dollar_tmp_m_53_m_8 = _ge_args__2.subexpr (0, _v_len___dollar_tmp_m_53_m_8); 519 _ve_arg = _ge_args__2; 520 _ve_tail = Expr.empty; 521 } 522 if (_ve_arg.length () < 0) 523 { 524 throw new RefalException ("org.refal.plus.compiler.NativeJava", "DeclarationReader", "Unexpected fail"); 525 } 526 Expr.SplitIterator _va_10 = _ve_arg.rightSplit(0); 527 _exit5: _continue5: for ( ; ; _va_10.prev ()) 528 { 529 Expr _v_rsplit__arg = _va_10.getLeft(); 530 Expr _ve_ws13 = _va_10.getRight(); 531 if (!_va_10.isValid ()) 532 { 533 throw new RefalException ("org.refal.plus.compiler.NativeJava", "DeclarationReader", "Unexpected fail"); 534 } 535 if (_v_rsplit__arg.length () < 0) 536 { 537 throw new RefalException ("org.refal.plus.compiler.NativeJava", "DeclarationReader", "Unexpected fail"); 538 } 539 Expr.SplitIterator _va_11 = _v_rsplit__arg.rightSplit(0); 540 _exit6: _continue6: for ( ; ; _va_11.prev ()) 541 { 542 Expr _v_rsplit__rsplit__arg = _va_11.getLeft(); 543 Expr _ve_argName = _va_11.getRight(); 544 if (!_va_11.isValid ()) 596 if (_v_rsplit__rsplit__rsplit__arg.length () < 0) 597 { 598 continue _continue3; 599 } 600 Expr.SplitIterator _va_13 = _v_rsplit__rsplit__rsplit__arg.rightSplit(0); 601 _exit5: _continue5: for ( ; ; _va_13.prev ()) 602 { 603 Expr _ve_ws11 = _va_13.getLeft(); 604 Expr _ve_argType = _va_13.getRight(); 605 if (!_va_13.isValid ()) 606 { 607 continue _continue4; 608 } 609 if (_ve_ws11.length () < 0) 610 { 611 continue _continue4; 612 } 613 if (!NoWhitespaces (_ve_argType)) 545 614 { 546 615 continue _continue5; 547 616 } 548 if ( _v_rsplit__rsplit__arg.length () < 0)617 if (!NoWhitespaces (_ve_argName)) 549 618 { 550 619 continue _continue5; 551 620 } 552 Expr.SplitIterator _va_12 = _v_rsplit__rsplit__arg.rightSplit(0); 553 _exit7: _continue7: for ( ; ; _va_12.prev ()) 554 { 555 Expr _v_rsplit__rsplit__rsplit__arg = _va_12.getLeft(); 556 Expr _ve_ws12 = _va_12.getRight(); 557 if (!_va_12.isValid ()) 558 { 559 continue _continue6; 560 } 561 if (_v_rsplit__rsplit__rsplit__arg.length () < 0) 562 { 563 continue _continue6; 564 } 565 Expr.SplitIterator _va_13 = _v_rsplit__rsplit__rsplit__arg.rightSplit(0); 566 _exit8: _continue8: for ( ; ; _va_13.prev ()) 567 { 568 Expr _ve_ws11 = _va_13.getLeft(); 569 Expr _ve_argType = _va_13.getRight(); 570 if (!_va_13.isValid ()) 571 { 572 continue _continue7; 573 } 574 if (_ve_ws11.length () < 0) 575 { 576 continue _continue7; 577 } 578 if (!NoWhitespaces (_ve_argType)) 579 { 580 continue _continue8; 581 } 582 if (!NoWhitespaces (_ve_argName)) 583 { 584 continue _continue8; 585 } 586 if (!Whitespaces (_ve_ws11)) 587 { 588 continue _continue8; 589 } 590 if (!Whitespaces (_ve_ws12)) 591 { 592 continue _continue8; 593 } 594 if (!Whitespaces (_ve_ws13)) 595 { 596 continue _continue8; 597 } 598 Result _gs_auxcall3 = new Result (Expr.empty); 599 refal.plus.Convert.ToWord (_ve_argType, _gs_auxcall3); 600 _ve_argTypes = Expr.concat (_ve_argTypes, _gs_auxcall3.getExpr ()); 601 _ge_args__2 = _ve_tail; 602 break _exit8; 603 } 604 break _exit7; 605 } 606 break _exit6; 607 } 608 break _exit5; 609 } 621 if (!Whitespaces (_ve_ws11)) 622 { 623 continue _continue5; 624 } 625 if (!Whitespaces (_ve_ws12)) 626 { 627 continue _continue5; 628 } 629 if (!Whitespaces (_ve_ws13)) 630 { 631 continue _continue5; 632 } 633 Result _gs_auxcall1 = new Result (Expr.empty); 634 refal.plus.Convert.ToWord (_ve_argType, _gs_auxcall1); 635 _ve_argTypes = Expr.concat (_ve_argTypes, _gs_auxcall1.getExpr ()); 636 _ge_args__0 = _ve_tail; 637 break _exit5; 638 } 639 break _exit4; 640 } 641 break _exit3; 610 642 } 611 643 break _exit2; 612 644 } 613 break _exit1;614 645 } 615 646 } … … 635 666 PrintDeclReader (_c_12); 636 667 PrintDeclReader (_c_13); 668 PrintDeclReader (_c_14); 669 PrintDeclReader (_c_15); 637 670 _v_res1.assign (Expr.empty); 638 671 } -
to-imperative/trunk/java/compiler/org/refal/plus/compiler/rfp_as2as.java
r3370 r3428 11 11 static final Expr _c_2 = new Expr (Symbol.newWord ("BRANCH")); 12 12 static final Expr _c_3 = new Expr (Symbol.newWord ("DBG")); 13 static final Expr _c_28 = Expr.concat (Symbol.newWord ("RESULT"), (Comparable ) _c_1);13 static final Expr _c_28 = Expr.concat (Symbol.newWord ("RESULT"), (Comparable<?>) _c_1); 14 14 static final Expr _c_4 = _c_28.subexpr (0, 1); 15 15 static final Expr _c_5 = new Expr (Symbol.newInt ("1")); … … 27 27 static final Expr _c_17 = new Expr (Symbol.newWord ("TRY")); 28 28 static final Expr _c_18 = new Expr (Symbol.newWord ("ERROR")); 29 static final Expr _c_19 = new Expr ((Comparable ) _c_14);29 static final Expr _c_19 = new Expr ((Comparable<?>) _c_14); 30 30 static final Expr _c_20 = Expr.concat (Symbol.newWord ("aux"), Symbol.newWord ("block")); 31 31 static final Expr _c_21 = new Expr (Symbol.newWord ("CALL")); … … 52 52 } 53 53 }); 54 static final Expr _c_33 = Expr.concat ((Comparable ) Expr.empty, (Comparable) Expr.empty);54 static final Expr _c_33 = Expr.concat ((Comparable<?>) Expr.empty, (Comparable<?>) Expr.empty); 55 55 static final Expr _c_34 = Expr.getConcatenator (3).toRight (Symbol.newWord ("Apply")).toRight (Symbol.newWord ("Apply")).toRight (Symbol.newWord ("Unexpected fail")).yield (); 56 56 static final Expr _c_35 = new Expr (Symbol.newWord ("_")); … … 185 185 Expr _v_deref__deref__deref__item = (Expr) _v_deref__deref__item.at ((0 + 1)); 186 186 Expr _v_deref__deref__deref__item2 = (Expr) _v_deref__deref__item.at ((0 + 1 + 1)); 187 int _v_len9 = _v_deref__deref__deref__item 2.length ();187 int _v_len9 = _v_deref__deref__deref__item.length (); 188 188 int _v_len10 = 0; 189 189 if (_v_len9 < _v_len10) … … 191 191 break _block4__branch1; 192 192 } 193 int _v_len__ line = (_v_len9 - _v_len10);194 int _v_len11 = _v_deref__deref__deref__item .length ();193 int _v_len__file = (_v_len9 - _v_len10); 194 int _v_len11 = _v_deref__deref__deref__item2.length (); 195 195 int _v_len12 = 0; 196 196 if (_v_len11 < _v_len12) … … 198 198 break _block4__branch1; 199 199 } 200 int _v_len__ file = (_v_len11 - _v_len12);200 int _v_len__line = (_v_len11 - _v_len12); 201 201 if (!_vt_name.termEquals (_v_deref__item, (0 + 1 + 1 + 1))) 202 202 { … … 281 281 } 282 282 int _v_len__in = (_v_len17 - _v_len18); 283 int _v_len19 = _v_deref__deref__item3 3.length ();284 int _v_len20 = 1;283 int _v_len19 = _v_deref__deref__item32.length (); 284 int _v_len20 = 0; 285 285 if (_v_len19 < _v_len20) 286 286 { 287 287 break _block2__branch1; 288 288 } 289 int _v_len__ branch= (_v_len19 - _v_len20);290 int _v_len21 = _v_deref__deref__item3 2.length ();291 int _v_len22 = 0;289 int _v_len__out = (_v_len19 - _v_len20); 290 int _v_len21 = _v_deref__deref__item33.length (); 291 int _v_len22 = 1; 292 292 if (_v_len21 < _v_len22) 293 293 { 294 294 break _block2__branch1; 295 295 } 296 int _v_len__ out= (_v_len21 - _v_len22);296 int _v_len__branch = (_v_len21 - _v_len22); 297 297 if (!_v_deref__item3.isSymbolAt (0)) 298 298 { … … 394 394 rfp_helper.Del_Pragmas (_ge_in__6, _ge_auxcall2); 395 395 Result _ge_auxcall3 = new Result (Expr.empty); 396 rfp_debug.Add_Debug (Expr.concat ((Comparable ) Expr.getConcatenator ().toRight (_c_4).toRight (_ve_p).toRight (_ge_in__6).yield (), _ge_branch__5__6), _ge_auxcall3);396 rfp_debug.Add_Debug (Expr.concat ((Comparable<?>) Expr.getConcatenator ().toRight (_c_4).toRight (_ve_p).toRight (_ge_in__6).yield (), _ge_branch__5__6), _ge_auxcall3); 397 397 Result _va_6 = new Result (); 398 398 rfp_helper.Del_Pragmas (_ge_auxcall3.getExpr (), _va_6); … … 427 427 Unstick_Blocks (_ge_branch__5__6__7, _va_8, _v_Unstick__Blocks1); 428 428 _ge_branch__5__6__7 = _va_8.getExpr (); 429 Expr _vt__dollar_tmp_m_85_m_46 = new Expr ((Comparable ) _v_Unstick__Blocks1.getExpr ());429 Expr _vt__dollar_tmp_m_85_m_46 = new Expr ((Comparable<?>) _v_Unstick__Blocks1.getExpr ()); 430 430 Result _ge_auxcall5 = new Result (Expr.empty); 431 431 rfp_vars.Vars (_ge_in__6__7, _ge_auxcall5); … … 433 433 Rename_Vars (_c_6, _ge_auxcall5.getExpr (), Expr.empty, _ge_branch__5__6__7, _va_9); 434 434 _ge_branch__5__6__7 = _va_9.getExpr (); 435 _ge_item__3 = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_vs_link).toRight (_vs_tag).toRight (_vt_name).toRight ((Comparable) _ge_in__6__7).toRight ((Comparable) _ve_out).toRight ((Comparable) Expr.concat (_c_2, _ge_branch__5__6__7)).yield ());435 _ge_item__3 = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_vs_link).toRight (_vs_tag).toRight (_vt_name).toRight ((Comparable<?>) _ge_in__6__7).toRight ((Comparable<?>) _ve_out).toRight ((Comparable<?>) Expr.concat (_c_2, _ge_branch__5__6__7)).yield ()); 436 436 break _block2; 437 437 } … … 869 869 Result _v_Unstick__Blocks1 = new Result (Expr.empty); 870 870 Unstick_Blocks (_ve_R, _v_Unstick__Blocks1, _v_res2); 871 _v_res1.assign (Expr.getConcatenator ().toRight (_ve_L).toRight ((Comparable ) Expr.concat (_vs_block, _ve_br)).toRight ((Comparable) Expr.concat (_c_12, _ve_aux.getExpr ())).toRight ((Comparable) Expr.concat (_c_4, _ve_aux.getExpr ())).toRight (_v_Unstick__Blocks1.getExpr ()).yield ());871 _v_res1.assign (Expr.getConcatenator ().toRight (_ve_L).toRight ((Comparable<?>) Expr.concat (_vs_block, _ve_br)).toRight ((Comparable<?>) Expr.concat (_c_12, _ve_aux.getExpr ())).toRight ((Comparable<?>) Expr.concat (_c_4, _ve_aux.getExpr ())).toRight (_v_Unstick__Blocks1.getExpr ()).yield ()); 872 872 break _block3; 873 873 } … … 879 879 Result _ge_auxcall2 = new Result (Expr.empty); 880 880 rfp_format.MSG (_ve_Fes, _ge_auxcall2); 881 _v_res1.assign (Expr.concat (_ve_L, (Comparable ) Expr.concat (_vs_block, _ve_br)));881 _v_res1.assign (Expr.concat (_ve_L, (Comparable<?>) Expr.concat (_vs_block, _ve_br))); 882 882 _v_res2.assign (_ge_auxcall2.getExpr ()); 883 883 break _block3; … … 885 885 Result _v_Unstick__Blocks2 = new Result (Expr.empty); 886 886 Unstick_Blocks (_ve_R, _v_Unstick__Blocks2, _v_res2); 887 _v_res1.assign (Expr.getConcatenator ().toRight (_ve_L).toRight ((Comparable ) Expr.concat (_vs_block, _ve_br)).toRight (_v_Unstick__Blocks2.getExpr ()).yield ());887 _v_res1.assign (Expr.getConcatenator ().toRight (_ve_L).toRight ((Comparable<?>) Expr.concat (_vs_block, _ve_br)).toRight (_v_Unstick__Blocks2.getExpr ()).yield ()); 888 888 } 889 889 break _exit__iter1; … … 920 920 Unstick_Blocks (_ve_branch, _ve_new__branch, _ve_Fe); 921 921 _ve_branches = _ve_rest; 922 _ve_br = Expr.concat (_ve_br, (Comparable ) Expr.concat (_c_2, _ve_new__branch.getExpr ()));923 _ve_Fes = Expr.concat (_ve_Fes, (Comparable ) _ve_Fe.getExpr ());922 _ve_br = Expr.concat (_ve_br, (Comparable<?>) Expr.concat (_c_2, _ve_new__branch.getExpr ())); 923 _ve_Fes = Expr.concat (_ve_Fes, (Comparable<?>) _ve_Fe.getExpr ()); 924 924 } 925 925 break _block1; … … 982 982 } 983 983 Result _v_Unstick__Blocks3 = new Result (Expr.empty); 984 Unstick_Blocks (Expr.concat ((Comparable ) Expr.concat (_vs_block, _ve_branches), _ve_R), _v_Unstick__Blocks3, _v_res2);984 Unstick_Blocks (Expr.concat ((Comparable<?>) Expr.concat (_vs_block, _ve_branches), _ve_R), _v_Unstick__Blocks3, _v_res2); 985 985 _v_res1.assign (Expr.concat (_ve_L, _v_Unstick__Blocks3.getExpr ())); 986 986 break _block1; … … 1048 1048 Expr _ve_2 = Expr.empty; 1049 1049 _ve_2 = _v_deref__Re.subexpr ((0 + 1), _v_len__2); 1050 _ve_Result = Expr.concat ((Comparable ) Expr.concat (_c_4, _ve_1), _ve_2);1050 _ve_Result = Expr.concat ((Comparable<?>) Expr.concat (_c_4, _ve_1), _ve_2); 1051 1051 break _block7; 1052 1052 } 1053 _ve_Result = new Expr ((Comparable ) Expr.concat (_c_4, _ve_Re));1053 _ve_Result = new Expr ((Comparable<?>) Expr.concat (_c_4, _ve_Re)); 1054 1054 } 1055 1055 _block8: { … … 1071 1071 Result _ve_Fe = new Result (Expr.empty); 1072 1072 rfp_format.Format_Exp (_ve_Re, _ve_Fe); 1073 rfp_format.MSG (Expr.concat ((Comparable ) _ve_Fe.getExpr (), (Comparable) _ve_Fe.getExpr ()), _ve_Fe);1073 rfp_format.MSG (Expr.concat ((Comparable<?>) _ve_Fe.getExpr (), (Comparable<?>) _ve_Fe.getExpr ()), _ve_Fe); 1074 1074 _v_res1.assign (Expr.getConcatenator ().toRight (_ve_L).toRight (_ve_assigns.getExpr ()).toRight (_ve_Result).yield ()); 1075 1075 _v_res2.assign (_ve_Fe.getExpr ()); … … 1122 1122 Unstick_Blocks (_ve_body, _va_14, _v_Unstick__Blocks5); 1123 1123 _ve_body = _va_14.getExpr (); 1124 Expr _vt_empty = new Expr ((Comparable ) _v_Unstick__Blocks5.getExpr ());1124 Expr _vt_empty = new Expr ((Comparable<?>) _v_Unstick__Blocks5.getExpr ()); 1125 1125 Result _v_Unstick__Blocks6 = new Result (Expr.empty); 1126 1126 Unstick_Blocks (_ve_R, _v_Unstick__Blocks6, _v_res2); 1127 _v_res1.assign (Expr.getConcatenator ().toRight (_ve_L).toRight ((Comparable ) Expr.concat (_c_15, (Comparable) Expr.concat (_c_2, _ve_body))).toRight (_v_Unstick__Blocks6.getExpr ()).yield ());1127 _v_res1.assign (Expr.getConcatenator ().toRight (_ve_L).toRight ((Comparable<?>) Expr.concat (_c_15, (Comparable<?>) Expr.concat (_c_2, _ve_body))).toRight (_v_Unstick__Blocks6.getExpr ()).yield ()); 1128 1128 break _block1; 1129 1129 } … … 1175 1175 Unstick_Blocks (_ve_body, _va_15, _v_Unstick__Blocks7); 1176 1176 _ve_body = _va_15.getExpr (); 1177 Expr _vt__dollar_tmp_m_150_m_40 = new Expr ((Comparable ) _v_Unstick__Blocks7.getExpr ());1177 Expr _vt__dollar_tmp_m_150_m_40 = new Expr ((Comparable<?>) _v_Unstick__Blocks7.getExpr ()); 1178 1178 Result _v_Unstick__Blocks8 = new Result (Expr.empty); 1179 1179 Unstick_Blocks (_ve_R, _v_Unstick__Blocks8, _v_res2); 1180 _v_res1.assign (Expr.getConcatenator ().toRight (_ve_L).toRight ((Comparable ) Expr.getConcatenator ().toRight (_c_16).toRight ((Comparable) Expr.concat (_c_2, _ve_body)).toRight (_vt_IterVars).yield ()).toRight (_v_Unstick__Blocks8.getExpr ()).yield ());1180 _v_res1.assign (Expr.getConcatenator ().toRight (_ve_L).toRight ((Comparable<?>) Expr.getConcatenator ().toRight (_c_16).toRight ((Comparable<?>) Expr.concat (_c_2, _ve_body)).toRight (_vt_IterVars).yield ()).toRight (_v_Unstick__Blocks8.getExpr ()).yield ()); 1181 1181 break _block1; 1182 1182 } … … 1205 1205 Expr _v_deref__deref__Snt6 = (Expr) _v_deref__Snt6.at ((0 + 1)); 1206 1206 Expr _v_deref__deref__Snt62 = (Expr) _v_deref__Snt6.at ((0 + 1 + 1)); 1207 int _v_len71 = _v_deref__deref__Snt6 2.length ();1207 int _v_len71 = _v_deref__deref__Snt6.length (); 1208 1208 int _v_len72 = 1; 1209 1209 if (_v_len71 < _v_len72) … … 1211 1211 break _block1__branch6; 1212 1212 } 1213 int _v_len__ CatchSnt = (_v_len71 - _v_len72);1214 int _v_len73 = _v_deref__deref__Snt6 .length ();1213 int _v_len__TrySnt = (_v_len71 - _v_len72); 1214 int _v_len73 = _v_deref__deref__Snt62.length (); 1215 1215 int _v_len74 = 1; 1216 1216 if (_v_len73 < _v_len74) … … 1218 1218 break _block1__branch6; 1219 1219 } 1220 int _v_len__ TrySnt = (_v_len73 - _v_len74);1220 int _v_len__CatchSnt = (_v_len73 - _v_len74); 1221 1221 if (!_c_17.termEquals (_v_deref__Snt6, 0)) 1222 1222 { … … 1239 1239 Unstick_Blocks (_ve_TrySnt, _va_16, _v_Unstick__Blocks9); 1240 1240 _ve_TrySnt = _va_16.getExpr (); 1241 Expr _vt_Try__Fe = new Expr ((Comparable ) _v_Unstick__Blocks9.getExpr ());1241 Expr _vt_Try__Fe = new Expr ((Comparable<?>) _v_Unstick__Blocks9.getExpr ()); 1242 1242 Result _v_Unstick__Blocks10 = new Result (Expr.empty); 1243 1243 Result _va_17 = new Result (); 1244 1244 Unstick_Blocks (_ve_CatchSnt, _va_17, _v_Unstick__Blocks10); 1245 1245 _ve_CatchSnt = _va_17.getExpr (); 1246 Expr _vt_Catch__Fe = new Expr ((Comparable ) _v_Unstick__Blocks10.getExpr ());1246 Expr _vt_Catch__Fe = new Expr ((Comparable<?>) _v_Unstick__Blocks10.getExpr ()); 1247 1247 Result _ge_auxcall3 = new Result (Expr.empty); 1248 1248 rfp_format.MSG (Expr.concat (_vt_Try__Fe, _vt_Catch__Fe), _ge_auxcall3); 1249 _v_res1.assign (Expr.concat (_ve_L, (Comparable ) Expr.getConcatenator ().toRight (_c_17).toRight ((Comparable) Expr.concat (_c_2, _ve_TrySnt)).toRight ((Comparable) Expr.concat (_c_2, _ve_CatchSnt)).yield ()));1249 _v_res1.assign (Expr.concat (_ve_L, (Comparable<?>) Expr.getConcatenator ().toRight (_c_17).toRight ((Comparable<?>) Expr.concat (_c_2, _ve_TrySnt)).toRight ((Comparable<?>) Expr.concat (_c_2, _ve_CatchSnt)).yield ())); 1250 1250 _v_res2.assign (_ge_auxcall3.getExpr ()); 1251 1251 break _block1; … … 1291 1291 Unstick_Blocks (_ve_Err, _va_18, _v_Unstick__Blocks11); 1292 1292 _ve_Err = _va_18.getExpr (); 1293 Expr _vt__dollar_tmp_m_157_m_36 = new Expr ((Comparable ) _v_Unstick__Blocks11.getExpr ());1294 _v_res1.assign (Expr.concat (_ve_L, (Comparable ) Expr.concat (_c_18, (Comparable) Expr.concat (_c_2, _ve_Err))));1293 Expr _vt__dollar_tmp_m_157_m_36 = new Expr ((Comparable<?>) _v_Unstick__Blocks11.getExpr ()); 1294 _v_res1.assign (Expr.concat (_ve_L, (Comparable<?>) Expr.concat (_c_18, (Comparable<?>) Expr.concat (_c_2, _ve_Err)))); 1295 1295 _v_res2.assign (_c_19); 1296 1296 break _block1; … … 1391 1391 } 1392 1392 _v_res1.assign (Expr.empty); 1393 _v_res2.assign (Expr.concat (_ve_Re, (Comparable ) Expr.concat (_c_14, _ve_1.getExpr ())));1393 _v_res2.assign (Expr.concat (_ve_Re, (Comparable<?>) Expr.concat (_c_14, _ve_1.getExpr ()))); 1394 1394 break _block3; 1395 1395 } … … 1414 1414 Result _v_Flatten__Result1 = new Result (Expr.empty); 1415 1415 Flatten_Result (_vs_Istail, Expr.concat (_ve_Re, _ve_aux.getExpr ()), _ve_rest, _v_Flatten__Result1, _v_res2); 1416 _v_res1.assign (Expr.getConcatenator ().toRight (_ve_1.getExpr ()).toRight ((Comparable ) Expr.concat (_c_12, _ve_aux.getExpr ())).toRight (_v_Flatten__Result1.getExpr ()).yield ());1416 _v_res1.assign (Expr.getConcatenator ().toRight (_ve_1.getExpr ()).toRight ((Comparable<?>) Expr.concat (_c_12, _ve_aux.getExpr ())).toRight (_v_Flatten__Result1.getExpr ()).yield ()); 1417 1417 } 1418 1418 break _block1; … … 1452 1452 Flatten_Result (_c_22, Expr.empty, _ve_r, _ve_assigns, _va_20); 1453 1453 _ve_r = _va_20.getExpr (); 1454 Expr _vt_1 = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_21).toRight (_vt_name).toRight (_ve_r).yield ());1454 Expr _vt_1 = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_21).toRight (_vt_name).toRight (_ve_r).yield ()); 1455 1455 _block4: { 1456 1456 _block4__branch1: { … … 1489 1489 Result _v_Flatten__Result2 = new Result (Expr.empty); 1490 1490 Flatten_Result (_vs_Istail, Expr.concat (_ve_Re, _ve_aux1.getExpr ()), _ve_rest, _v_Flatten__Result2, _v_res2); 1491 _v_res1.assign (Expr.getConcatenator ().toRight (_ve_assigns.getExpr ()).toRight ((Comparable ) Expr.concat (_c_4, _vt_1)).toRight ((Comparable) Expr.concat (_c_12, _ve_aux1.getExpr ())).toRight (_v_Flatten__Result2.getExpr ()).yield ());1491 _v_res1.assign (Expr.getConcatenator ().toRight (_ve_assigns.getExpr ()).toRight ((Comparable<?>) Expr.concat (_c_4, _vt_1)).toRight ((Comparable<?>) Expr.concat (_c_12, _ve_aux1.getExpr ())).toRight (_v_Flatten__Result2.getExpr ()).yield ()); 1492 1492 } 1493 1493 break _block1; … … 1526 1526 _ve_r = _va_22.getExpr (); 1527 1527 Result _v_Flatten__Result3 = new Result (Expr.empty); 1528 Flatten_Result (_vs_Istail, Expr.concat (_ve_Re, (Comparable ) Expr.concat (_c_24, _ve_r)), _ve_rest, _v_Flatten__Result3, _v_res2);1528 Flatten_Result (_vs_Istail, Expr.concat (_ve_Re, (Comparable<?>) Expr.concat (_c_24, _ve_r)), _ve_rest, _v_Flatten__Result3, _v_res2); 1529 1529 _v_res1.assign (Expr.concat (_ve_assigns.getExpr (), _v_Flatten__Result3.getExpr ())); 1530 1530 break _block1; … … 1834 1834 rfp_helper.Del_Pragmas (_ve_in__expr.getExpr (), _ge_in__expr__7); 1835 1835 _ge_in__1 = _ge_in__expr__7.getExpr (); 1836 _ge_Sentence__1 = Expr.concat ((Comparable ) Expr.concat (_c_4, _ge_in__expr__7.getExpr ()), _ve_Sentence);1836 _ge_Sentence__1 = Expr.concat ((Comparable<?>) Expr.concat (_c_4, _ge_in__expr__7.getExpr ()), _ve_Sentence); 1837 1837 break _block5; 1838 1838 } 1839 1839 _ge_in__1 = _ve_in__expr.getExpr (); 1840 _ge_Sentence__1 = Expr.concat ((Comparable ) Expr.concat (_c_28, _ve_in__expr.getExpr ()), _ve_Sentence);1840 _ge_Sentence__1 = Expr.concat ((Comparable<?>) Expr.concat (_c_28, _ve_in__expr.getExpr ()), _ve_Sentence); 1841 1841 } 1842 1842 } … … 1918 1918 } 1919 1919 _ge_in__1 = _ve_in__expr.getExpr (); 1920 _ge_Sentence__1 = Expr.concat ((Comparable ) Expr.getConcatenator ().toRight (_vs_block).toRight ((Comparable) Expr.concat (_c_1, _ve_Pragma)).toRight (_ve_br).yield (), _ve_Snt);1920 _ge_Sentence__1 = Expr.concat ((Comparable<?>) Expr.getConcatenator ().toRight (_vs_block).toRight ((Comparable<?>) Expr.concat (_c_1, _ve_Pragma)).toRight (_ve_br).yield (), _ve_Snt); 1921 1921 break _exit__iter1; 1922 1922 } … … 2064 2064 Result _ge_auxcall3 = new Result (Expr.empty); 2065 2065 rfp_helper.Subst (_ve_pats.getExpr (), _ve_repls.getExpr (), _ve_br__snt, _ge_auxcall3); 2066 _ve_br = Expr.concat (_ve_br, (Comparable ) Expr.getConcatenator ().toRight (_c_2).toRight (_vt_p).toRight (_ge_auxcall3.getExpr ()).yield ());2066 _ve_br = Expr.concat (_ve_br, (Comparable<?>) Expr.getConcatenator ().toRight (_c_2).toRight (_vt_p).toRight (_ge_auxcall3.getExpr ()).yield ()); 2067 2067 _ve_branches = _ve_rest; 2068 2068 break _block8; 2069 2069 } 2070 _ve_br = Expr.concat (_ve_br, (Comparable ) Expr.getConcatenator ().toRight (_c_2).toRight (_vt_p).toRight ((Comparable) Expr.getConcatenator ().toRight (_vs_dir).toRight (_vt_pp).toRight (_ve_Pe).yield ()).toRight (_ve_br__snt).yield ());2070 _ve_br = Expr.concat (_ve_br, (Comparable<?>) Expr.getConcatenator ().toRight (_c_2).toRight (_vt_p).toRight ((Comparable<?>) Expr.getConcatenator ().toRight (_vs_dir).toRight (_vt_pp).toRight (_ve_Pe).yield ()).toRight (_ve_br__snt).yield ()); 2071 2071 _ve_branches = _ve_rest; 2072 2072 } … … 2132 2132 } 2133 2133 _ge_in__1 = _ve_in__expr.getExpr (); 2134 _ge_Sentence__1 = Expr.concat ((Comparable ) Expr.concat (_vs_block, _ve_br), _ve_Snt);2134 _ge_Sentence__1 = Expr.concat ((Comparable<?>) Expr.concat (_vs_block, _ve_br), _ve_Snt); 2135 2135 break _exit__iter2; 2136 2136 } … … 2274 2274 Result _ge_auxcall5 = new Result (Expr.empty); 2275 2275 rfp_helper.Subst (_ve_pats.getExpr (), _ve_repls.getExpr (), _ve_br__snt, _ge_auxcall5); 2276 _ve_br = Expr.concat (_ve_br, (Comparable ) Expr.concat (_c_2, _ge_auxcall5.getExpr ()));2276 _ve_br = Expr.concat (_ve_br, (Comparable<?>) Expr.concat (_c_2, _ge_auxcall5.getExpr ())); 2277 2277 _ve_branches = _ve_rest; 2278 2278 break _block12; 2279 2279 } 2280 _ve_br = Expr.concat (_ve_br, (Comparable ) Expr.getConcatenator ().toRight (_c_2).toRight ((Comparable) Expr.concat (_vs_dir, _ve_Pe)).toRight (_ve_br__snt).yield ());2280 _ve_br = Expr.concat (_ve_br, (Comparable<?>) Expr.getConcatenator ().toRight (_c_2).toRight ((Comparable<?>) Expr.concat (_vs_dir, _ve_Pe)).toRight (_ve_br__snt).yield ()); 2281 2281 _ve_branches = _ve_rest; 2282 2282 } … … 2413 2413 refal.plus.List.Or (_ve_vars, _ge_auxcall2.getExpr (), _ge_auxcall3); 2414 2414 _ve_vars = _ge_auxcall3.getExpr (); 2415 _ve_new__Snt = Expr.concat (_ve_new__Snt, (Comparable ) Expr.concat (_vs_tag, _ve_Pe1));2415 _ve_new__Snt = Expr.concat (_ve_new__Snt, (Comparable<?>) Expr.concat (_vs_tag, _ve_Pe1)); 2416 2416 _ge_Snt__0 = _ve_rest__Snt; 2417 2417 break _block2; … … 2483 2483 refal.plus.List.Or (_ve_vars, _ge_auxcall5.getExpr (), _ge_auxcall6); 2484 2484 _ve_vars = _ge_auxcall6.getExpr (); 2485 _ve_new__Snt = Expr.concat (_ve_new__Snt, (Comparable ) Expr.concat (_c_12, _ve_He1));2485 _ve_new__Snt = Expr.concat (_ve_new__Snt, (Comparable<?>) Expr.concat (_c_12, _ve_He1)); 2486 2486 _ge_Snt__0 = _ve_rest__Snt; 2487 2487 break _block2; … … 2652 2652 refal.plus.Arithm.Add (_vs_num, _c_31, _gs_auxcall7); 2653 2653 Result _ge_branches__5 = new Result (Expr.empty); 2654 if (!refal.plus.List.Map (_c_32, Expr.getConcatenator ().toRight (_gs_auxcall7.getExpr ()).toRight ((Comparable ) _ve_vars).toRight ((Comparable) _ve_brv).yield (), _ve_branches, _ge_branches__5))2654 if (!refal.plus.List.Map (_c_32, Expr.getConcatenator ().toRight (_gs_auxcall7.getExpr ()).toRight ((Comparable<?>) _ve_vars).toRight ((Comparable<?>) _ve_brv).yield (), _ve_branches, _ge_branches__5)) 2655 2655 { 2656 2656 throw new RefalException ("org.refal.plus.compiler.rfp_as2as", "Rename_Vars", "Unexpected fail"); … … 2690 2690 Rename_Vars (_gs_auxcall8.getExpr (), _ve_vars, _ve_res__vars, _ve_rest, _ge_auxcall9); 2691 2691 _ve_vars = Expr.empty; 2692 _ve_new__Snt = Expr.getConcatenator ().toRight (_ve_new__Snt).toRight ((Comparable ) Expr.concat (_vs_block, _ge_branches__5.getExpr ())).toRight (_ge_auxcall9.getExpr ()).yield ();2692 _ve_new__Snt = Expr.getConcatenator ().toRight (_ve_new__Snt).toRight ((Comparable<?>) Expr.concat (_vs_block, _ge_branches__5.getExpr ())).toRight (_ge_auxcall9.getExpr ()).yield (); 2693 2693 _ge_Snt__0 = Expr.empty; 2694 2694 break _block6; 2695 2695 } 2696 _ve_new__Snt = Expr.concat (_ve_new__Snt, (Comparable ) Expr.concat (_vs_block, _ge_branches__5.getExpr ()));2696 _ve_new__Snt = Expr.concat (_ve_new__Snt, (Comparable<?>) Expr.concat (_vs_block, _ge_branches__5.getExpr ())); 2697 2697 _ge_Snt__0 = _ve_rest; 2698 2698 } … … 2701 2701 _block7: { 2702 2702 _block7__branch1: { 2703 if (_ve_bl__res__vars.length () < 1) 2704 { 2705 break _block7__branch1; 2706 } 2707 if (_ve_bl__res__vars.length () > ((_ve_bl__res__vars.length () - 1) + (_ve_bl__res__vars.length () - 1) + 1)) 2708 { 2709 break _block7__branch1; 2710 } 2703 2711 if (_ve_vars.length () < 1) 2704 2712 { … … 2706 2714 } 2707 2715 if (_ve_vars.length () > ((_ve_vars.length () - 1) + (_ve_vars.length () - 1) + 1)) 2708 {2709 break _block7__branch1;2710 }2711 if (_ve_bl__res__vars.length () < 1)2712 {2713 break _block7__branch1;2714 }2715 if (_ve_bl__res__vars.length () > ((_ve_bl__res__vars.length () - 1) + (_ve_bl__res__vars.length () - 1) + 1))2716 2716 { 2717 2717 break _block7__branch1; … … 2823 2823 Rename_Vars (_vs_num, _ve_vars, _ve_res__vars, _ve_Sentence, _ge_auxcall10); 2824 2824 _ve_vars = Expr.empty; 2825 _ve_new__Snt = Expr.concat (_ve_new__Snt, (Comparable ) Expr.concat (_c_2, _ge_auxcall10.getExpr ()));2825 _ve_new__Snt = Expr.concat (_ve_new__Snt, (Comparable<?>) Expr.concat (_c_2, _ge_auxcall10.getExpr ())); 2826 2826 _ge_Snt__0 = Expr.empty; 2827 2827 break _block2; … … 2872 2872 _ve_new__rest = _v_Rename__Vars2.getExpr ().subexpr ((0 + 1), _v_len__new__rest); 2873 2873 _ve_vars = Expr.empty; 2874 _ve_new__Snt = Expr.getConcatenator ().toRight (_ve_new__Snt).toRight ((Comparable ) Expr.getConcatenator ().toRight (_c_16).toRight (_ve_new__body).toRight (_vt_new__vars).yield ()).toRight (_ve_new__rest).yield ();2874 _ve_new__Snt = Expr.getConcatenator ().toRight (_ve_new__Snt).toRight ((Comparable<?>) Expr.getConcatenator ().toRight (_c_16).toRight (_ve_new__body).toRight (_vt_new__vars).yield ()).toRight (_ve_new__rest).yield (); 2875 2875 _ge_Snt__0 = Expr.empty; 2876 2876 break _block2; … … 2899 2899 Rename_Vars (_vs_num, _ve_upper__vars, _ve_res__vars, _vt_CatchBranch, _ve_CatchBranch); 2900 2900 _ve_vars = Expr.empty; 2901 _ve_new__Snt = Expr.concat (_ve_new__Snt, (Comparable ) Expr.getConcatenator ().toRight (_c_17).toRight (_ve_TryBranch.getExpr ()).toRight (_ve_CatchBranch.getExpr ()).yield ());2901 _ve_new__Snt = Expr.concat (_ve_new__Snt, (Comparable<?>) Expr.getConcatenator ().toRight (_c_17).toRight (_ve_TryBranch.getExpr ()).toRight (_ve_CatchBranch.getExpr ()).yield ()); 2902 2902 _ge_Snt__0 = Expr.empty; 2903 2903 break _block2; … … 2921 2921 Result _ge_auxcall11 = new Result (Expr.empty); 2922 2922 Rename_Vars (_vs_num, _ve_vars, _ve_res__vars, _vt_branch, _ge_auxcall11); 2923 _ve_new__Snt = Expr.concat (_ve_new__Snt, (Comparable ) Expr.concat (_c_15, _ge_auxcall11.getExpr ()));2923 _ve_new__Snt = Expr.concat (_ve_new__Snt, (Comparable<?>) Expr.concat (_c_15, _ge_auxcall11.getExpr ())); 2924 2924 _ge_Snt__0 = _ve_rest; 2925 2925 break _block2; … … 3025 3025 } 3026 3026 int _v_len__Snt = (_v_len1 - _v_len2); 3027 Expr _v_compose1 = Expr.getConcatenator ().toRight ((Comparable ) _ge_arg1).toRight ((Comparable) _ge_arg2).toRight (_ge_arg3).yield ();3027 Expr _v_compose1 = Expr.getConcatenator ().toRight ((Comparable<?>) _ge_arg1).toRight ((Comparable<?>) _ge_arg2).toRight (_ge_arg3).yield (); 3028 3028 if (_v_compose1.isSymbolAt (0)) 3029 3029 { … … 3036 3036 Expr _v_deref__compose1 = (Expr) _v_compose1.at (0); 3037 3037 Expr _v_deref__compose12 = (Expr) _v_compose1.at ((0 + 1)); 3038 int _v_len3 = _v_deref__compose1 2.length ();3038 int _v_len3 = _v_deref__compose1.length (); 3039 3039 int _v_len4 = 1; 3040 3040 if (_v_len3 < _v_len4) … … 3042 3042 break _block1__branch1; 3043 3043 } 3044 int _v_len__ substs = (_v_len3 - _v_len4);3045 int _v_len5 = _v_deref__compose1 .length ();3044 int _v_len__vars = (_v_len3 - _v_len4); 3045 int _v_len5 = _v_deref__compose12.length (); 3046 3046 int _v_len6 = 1; 3047 3047 if (_v_len5 < _v_len6) … … 3049 3049 break _block1__branch1; 3050 3050 } 3051 int _v_len__ vars = (_v_len5 - _v_len6);3051 int _v_len__substs = (_v_len5 - _v_len6); 3052 3052 if (_v_deref__compose1.isSymbolAt (0)) 3053 3053 { … … 3060 3060 Expr _v_deref__deref__compose1 = (Expr) _v_deref__compose1.at (0); 3061 3061 Expr _v_deref__deref__compose12 = (Expr) _v_deref__compose12.at (0); 3062 int _v_len7 = _v_deref__deref__compose1 2.length ();3062 int _v_len7 = _v_deref__deref__compose1.length (); 3063 3063 int _v_len8 = 2; 3064 3064 if (_v_len7 < _v_len8) … … 3066 3066 break _block1__branch1; 3067 3067 } 3068 int _v_len___dollar_tmp_m_391_m_ 34= (_v_len7 - _v_len8);3069 int _v_len9 = _v_deref__deref__compose1 .length ();3068 int _v_len___dollar_tmp_m_391_m_12 = (_v_len7 - _v_len8); 3069 int _v_len9 = _v_deref__deref__compose12.length (); 3070 3070 int _v_len10 = 2; 3071 3071 if (_v_len9 < _v_len10) … … 3073 3073 break _block1__branch1; 3074 3074 } 3075 int _v_len___dollar_tmp_m_391_m_ 12= (_v_len9 - _v_len10);3075 int _v_len___dollar_tmp_m_391_m_34 = (_v_len9 - _v_len10); 3076 3076 if (!_v_deref__deref__compose1.isSymbolAt (0)) 3077 3077 { … … 3117 3117 } 3118 3118 int _v_len___dollar_tmp_m_395_m_10 = (_v_len11 - _v_len12); 3119 Expr _v_compose2 = Expr.getConcatenator ().toRight ((Comparable ) _ge_arg1).toRight ((Comparable) _ge_arg2).toRight (_ge_arg3).yield ();3119 Expr _v_compose2 = Expr.getConcatenator ().toRight ((Comparable<?>) _ge_arg1).toRight ((Comparable<?>) _ge_arg2).toRight (_ge_arg3).yield (); 3120 3120 if (!_c_33.equals (_v_compose2, 0)) 3121 3121 { … … 3199 3199 } 3200 3200 _ve_st__pats = _vt_Statement; 3201 _ve_st__repls = new Expr ((Comparable ) new Expr ((Comparable) Expr.getConcatenator ().toRight (_vs_tag).toRight (_ve_p).toRight (_vt_s).yield ()));3201 _ve_st__repls = new Expr ((Comparable<?>) new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_vs_tag).toRight (_ve_p).toRight (_vt_s).yield ())); 3202 3202 break _block4; 3203 3203 } … … 3242 3242 _v_res2.assign (Expr.empty); 3243 3243 } 3244 }3245 3246 static boolean Rename_Vars_0 (Expr _ge_arg1, Result _v_res1) throws RefalException3247 {3248 int _v_len1 = _ge_arg1.length ();3249 int _v_len2 = 3;3250 if (_v_len1 < _v_len2)3251 {3252 throw new RefalException (_c_34);3253 }3254 int _v_len__stub1 = (_v_len1 - _v_len2);3255 if (_ge_arg1.isSymbolAt ((0 + 1)))3256 {3257 throw new RefalException (_c_34);3258 }3259 if (_ge_arg1.isSymbolAt ((0 + 1 + 1)))3260 {3261 throw new RefalException (_c_34);3262 }3263 Expr _v_deref__arg1 = (Expr) _ge_arg1.at ((0 + 1));3264 Expr _v_deref__arg12 = (Expr) _ge_arg1.at ((0 + 1 + 1));3265 int _v_len3 = _v_deref__arg12.length ();3266 int _v_len4 = 0;3267 if (_v_len3 < _v_len4)3268 {3269 throw new RefalException (_c_34);3270 }3271 int _v_len__stub2 = (_v_len3 - _v_len4);3272 int _v_len5 = _v_deref__arg1.length ();3273 int _v_len6 = 0;3274 if (_v_len5 < _v_len6)3275 {3276 throw new RefalException (_c_34);3277 }3278 int _v_len__stub3 = (_v_len5 - _v_len6);3279 if (!_ge_arg1.isSymbolAt (0))3280 {3281 throw new RefalException (_c_34);3282 }3283 Expr _v_stub4 = Expr.empty;3284 _v_stub4 = _ge_arg1.subexpr (0, 1);3285 Expr _v_stub1 = Expr.empty;3286 _v_stub1 = _ge_arg1.subexpr ((0 + 1 + 1 + 1), _v_len__stub1);3287 Expr _v_stub3 = Expr.empty;3288 _v_stub3 = _v_deref__arg1.subexpr (0, _v_len__stub3);3289 Expr _v_stub2 = Expr.empty;3290 _v_stub2 = _v_deref__arg12.subexpr (0, _v_len__stub2);3291 Rename_Vars (_v_stub4, _v_stub3, _v_stub2, _v_stub1, _v_res1);3292 return true;3293 3244 } 3294 3245 … … 3338 3289 Result _v_Rename3 = new Result (Expr.empty); 3339 3290 Rename (_v_stub2, _v_stub3, _v_stub1, _v_Rename1, _v_Rename2, _v_Rename3); 3340 _v_res1.assign (new Expr ((Comparable) Expr.concat (_v_Rename1.getExpr (), (Comparable) Expr.getConcatenator ().toRight (_v_Rename2.getExpr ()).toRight (_c_35).toRight (_v_Rename3.getExpr ()).yield ()))); 3291 _v_res1.assign (new Expr ((Comparable<?>) Expr.concat (_v_Rename1.getExpr (), (Comparable<?>) Expr.getConcatenator ().toRight (_v_Rename2.getExpr ()).toRight (_c_35).toRight (_v_Rename3.getExpr ()).yield ()))); 3292 return true; 3293 } 3294 3295 static boolean Rename_Vars_0 (Expr _ge_arg1, Result _v_res1) throws RefalException 3296 { 3297 int _v_len1 = _ge_arg1.length (); 3298 int _v_len2 = 3; 3299 if (_v_len1 < _v_len2) 3300 { 3301 throw new RefalException (_c_34); 3302 } 3303 int _v_len__stub1 = (_v_len1 - _v_len2); 3304 if (_ge_arg1.isSymbolAt ((0 + 1))) 3305 { 3306 throw new RefalException (_c_34); 3307 } 3308 if (_ge_arg1.isSymbolAt ((0 + 1 + 1))) 3309 { 3310 throw new RefalException (_c_34); 3311 } 3312 Expr _v_deref__arg1 = (Expr) _ge_arg1.at ((0 + 1)); 3313 Expr _v_deref__arg12 = (Expr) _ge_arg1.at ((0 + 1 + 1)); 3314 int _v_len3 = _v_deref__arg1.length (); 3315 int _v_len4 = 0; 3316 if (_v_len3 < _v_len4) 3317 { 3318 throw new RefalException (_c_34); 3319 } 3320 int _v_len__stub2 = (_v_len3 - _v_len4); 3321 int _v_len5 = _v_deref__arg12.length (); 3322 int _v_len6 = 0; 3323 if (_v_len5 < _v_len6) 3324 { 3325 throw new RefalException (_c_34); 3326 } 3327 int _v_len__stub3 = (_v_len5 - _v_len6); 3328 if (!_ge_arg1.isSymbolAt (0)) 3329 { 3330 throw new RefalException (_c_34); 3331 } 3332 Expr _v_stub4 = Expr.empty; 3333 _v_stub4 = _ge_arg1.subexpr (0, 1); 3334 Expr _v_stub1 = Expr.empty; 3335 _v_stub1 = _ge_arg1.subexpr ((0 + 1 + 1 + 1), _v_len__stub1); 3336 Expr _v_stub2 = Expr.empty; 3337 _v_stub2 = _v_deref__arg1.subexpr (0, _v_len__stub2); 3338 Expr _v_stub3 = Expr.empty; 3339 _v_stub3 = _v_deref__arg12.subexpr (0, _v_len__stub3); 3340 Rename_Vars (_v_stub4, _v_stub2, _v_stub3, _v_stub1, _v_res1); 3341 3341 return true; 3342 3342 } -
to-imperative/trunk/java/compiler/org/refal/plus/compiler/rfp_asail.java
- Property svn:keywords set to Author Date Id Revision
r3370 r3428 83 83 Expr _vt_3 = Expr.empty; 84 84 _vt_3 = _ve_args.subexpr ((0 + _v_len__1 + 1), 1); 85 Op (_ve_op, Expr.concat (_ve_1, (Comparable ) Expr.getConcatenator ().toRight (_ve_op).toRight ((Comparable) _vt_2).toRight ((Comparable) _vt_3).yield ()), _v_res1);85 Op (_ve_op, Expr.concat (_ve_1, (Comparable<?>) Expr.getConcatenator ().toRight (_ve_op).toRight ((Comparable<?>) _vt_2).toRight ((Comparable<?>) _vt_3).yield ()), _v_res1); 86 86 } 87 87 } -
to-imperative/trunk/java/compiler/org/refal/plus/compiler/rfp_asail2asail.java
r3370 r3428 24 24 static final Expr _c_9 = new Expr (Symbol.newWord ("LABEL")); 25 25 static final Expr _c_10 = new Expr (Symbol.newWord ("TRY")); 26 static final Expr _c_11 = new Expr ((Comparable ) _c_10);26 static final Expr _c_11 = new Expr ((Comparable<?>) _c_10); 27 27 static final Expr _c_12 = new Expr (Symbol.newWord ("CATCH-ERROR")); 28 static final Expr _c_13 = new Expr ((Comparable ) _c_12);29 static final Expr _c_14 = new Expr ((Comparable ) Expr.empty);28 static final Expr _c_13 = new Expr ((Comparable<?>) _c_12); 29 static final Expr _c_14 = new Expr ((Comparable<?>) Expr.empty); 30 30 static final Expr _c_15 = new Expr (Symbol.newWord ("Normal-Exit")); 31 31 static final Expr _c_16 = new Expr (Symbol.newWord ("Persistent")); … … 149 149 Result _ge_auxcall3 = new Result (Expr.empty); 150 150 Remove_Dupl_Decl (Expr.empty, Expr.empty, _ge_auxcall2.getExpr (), _ge_auxcall3); 151 _v_res1.assign (new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_0).toRight (_vt_ModuleName).toRight (_ge_auxcall3.getExpr ()).yield ()));151 _v_res1.assign (new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_0).toRight (_vt_ModuleName).toRight (_ge_auxcall3.getExpr ()).yield ())); 152 152 } 153 153 … … 193 193 Expr _v_deref__deref__first = (Expr) _v_deref__first.at ((0 + 1 + 1)); 194 194 Expr _v_deref__deref__first2 = (Expr) _v_deref__first.at ((0 + 1 + 1 + 1)); 195 int _v_len5 = _v_deref__deref__first 2.length ();195 int _v_len5 = _v_deref__deref__first.length (); 196 196 int _v_len6 = 0; 197 197 if (_v_len5 < _v_len6) … … 199 199 break _block2__branch1; 200 200 } 201 int _v_len__arg 2= (_v_len5 - _v_len6);202 int _v_len7 = _v_deref__deref__first .length ();201 int _v_len__arg1 = (_v_len5 - _v_len6); 202 int _v_len7 = _v_deref__deref__first2.length (); 203 203 int _v_len8 = 0; 204 204 if (_v_len7 < _v_len8) … … 206 206 break _block2__branch1; 207 207 } 208 int _v_len__arg 1= (_v_len7 - _v_len8);208 int _v_len__arg2 = (_v_len7 - _v_len8); 209 209 if (!_c_1.termEquals (_v_deref__first, 0)) 210 210 { … … 226 226 _block3__branch1: { 227 227 Result _ge_auxcall1 = new Result (Expr.empty); 228 Simplify_Arithm (new Expr ((Comparable ) _ve_arg1), _ge_auxcall1);228 Simplify_Arithm (new Expr ((Comparable<?>) _ve_arg1), _ge_auxcall1); 229 229 Result _ge_auxcall2 = new Result (Expr.empty); 230 Simplify_Arithm (new Expr ((Comparable ) _ve_arg2), _ge_auxcall2);230 Simplify_Arithm (new Expr ((Comparable<?>) _ve_arg2), _ge_auxcall2); 231 231 Result _v_Simplify__Cmp1 = new Result (Expr.empty); 232 232 if (!Simplify_Cmp (_vs_op, _ge_auxcall1.getExpr (), _ge_auxcall2.getExpr (), _v_Simplify__Cmp1)) … … 250 250 Expr _v_deref__Simplify__Cmp1 = (Expr) _v_Simplify__Cmp1.getExpr ().at (0); 251 251 Expr _v_deref__Simplify__Cmp12 = (Expr) _v_Simplify__Cmp1.getExpr ().at ((0 + 1)); 252 int _v_len9 = _v_deref__Simplify__Cmp1 2.length ();252 int _v_len9 = _v_deref__Simplify__Cmp1.length (); 253 253 int _v_len10 = 0; 254 254 if (_v_len9 < _v_len10) … … 256 256 break _block4__branch1; 257 257 } 258 int _v_len__ 2= (_v_len9 - _v_len10);259 int _v_len11 = _v_deref__Simplify__Cmp1 .length ();258 int _v_len__1 = (_v_len9 - _v_len10); 259 int _v_len11 = _v_deref__Simplify__Cmp12.length (); 260 260 int _v_len12 = 0; 261 261 if (_v_len11 < _v_len12) … … 263 263 break _block4__branch1; 264 264 } 265 int _v_len__ 1= (_v_len11 - _v_len12);265 int _v_len__2 = (_v_len11 - _v_len12); 266 266 Expr _ve_1 = Expr.empty; 267 267 _ve_1 = _v_deref__Simplify__Cmp1.subexpr (0, _v_len__1); … … 270 270 Result _ge_auxcall3 = new Result (Expr.empty); 271 271 Simplify (_ve_body, _ge_auxcall3); 272 _ge_first__3 = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_1).toRight (_vs_op).toRight ((Comparable) _ve_1).toRight ((Comparable) _ve_2).toRight (_ge_auxcall3.getExpr ()).yield ());272 _ge_first__3 = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_1).toRight (_vs_op).toRight ((Comparable<?>) _ve_1).toRight ((Comparable<?>) _ve_2).toRight (_ge_auxcall3.getExpr ()).yield ()); 273 273 break _block4; 274 274 } … … 310 310 Result _ge_auxcall4 = new Result (Expr.empty); 311 311 Simplify (_ve_body, _ge_auxcall4); 312 _ge_first__3 = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_2).toRight (_vt_cond).toRight (_ge_auxcall4.getExpr ()).yield ());312 _ge_first__3 = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_2).toRight (_vt_cond).toRight (_ge_auxcall4.getExpr ()).yield ()); 313 313 break _block2; 314 314 } … … 348 348 _vt_var = _v_deref__deref__first3.subexpr ((0 + 1), 1); 349 349 Result _ge_auxcall5 = new Result (Expr.empty); 350 Simplify_Arithm (new Expr ((Comparable ) _ve_expr), _ge_auxcall5);351 _ge_first__3 = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_4).toRight ((Comparable) Expr.concat (_c_3, _vt_var)).toRight (_ge_auxcall5.getExpr ()).yield ());350 Simplify_Arithm (new Expr ((Comparable<?>) _ve_expr), _ge_auxcall5); 351 _ge_first__3 = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_4).toRight ((Comparable<?>) Expr.concat (_c_3, _vt_var)).toRight (_ge_auxcall5.getExpr ()).yield ()); 352 352 break _block2; 353 353 } … … 387 387 _vt_var = _v_deref__deref__first4.subexpr ((0 + 1), 1); 388 388 Result _ge_auxcall6 = new Result (Expr.empty); 389 Simplify_Arithm (new Expr ((Comparable ) _ve_expr), _ge_auxcall6);390 _ge_first__3 = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_5).toRight ((Comparable) Expr.concat (_c_3, _vt_var)).toRight (_ge_auxcall6.getExpr ()).yield ());389 Simplify_Arithm (new Expr ((Comparable<?>) _ve_expr), _ge_auxcall6); 390 _ge_first__3 = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_5).toRight ((Comparable<?>) Expr.concat (_c_3, _vt_var)).toRight (_ge_auxcall6.getExpr ()).yield ()); 391 391 break _block2; 392 392 } … … 408 408 Result _ge_auxcall7 = new Result (Expr.empty); 409 409 Simplify (_ve_1, _ge_auxcall7); 410 _ge_first__3 = new Expr ((Comparable ) _ge_auxcall7.getExpr ());410 _ge_first__3 = new Expr ((Comparable<?>) _ge_auxcall7.getExpr ()); 411 411 break _block2; 412 412 } … … 519 519 Expr _ge_body__4 = Expr.empty; 520 520 _ge_body__4 = _v_deref__1.subexpr ((0 + 1 + 1 + 1 + 1), _v_len__body__4); 521 refal.plus.Box.Put (Blocks, new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_6).toRight (_vt_name).toRight (_vt_in).toRight (_vt_out).yield ()));521 refal.plus.Box.Put (Blocks, new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_6).toRight (_vt_name).toRight (_vt_in).toRight (_vt_out).yield ())); 522 522 refal.plus.Table.ClearTable (Breaks); 523 523 _ve_body = _ge_body__4; … … 549 549 Expr _ge_body__4 = Expr.empty; 550 550 _ge_body__4 = _v_deref__12.subexpr ((0 + 1 + 1 + 1 + 1), _v_len__body__42); 551 refal.plus.Box.Put (Blocks, new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_7).toRight (_vt_name).toRight (_vt_in).toRight (_vt_out).yield ()));551 refal.plus.Box.Put (Blocks, new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_7).toRight (_vt_name).toRight (_vt_in).toRight (_vt_out).yield ())); 552 552 refal.plus.Table.ClearTable (Breaks); 553 553 _ve_body = _ge_body__4; … … 601 601 } 602 602 int _v_len__break = (_v_len11 - _v_len12); 603 int _v_len13 = _v_deref__deref__13 4.length ();603 int _v_len13 = _v_deref__deref__133.length (); 604 604 int _v_len14 = 0; 605 605 if (_v_len13 < _v_len14) … … 607 607 break _block2__branch3; 608 608 } 609 int _v_len__ step= (_v_len13 - _v_len14);610 int _v_len15 = _v_deref__deref__13 3.length ();609 int _v_len__cond = (_v_len13 - _v_len14); 610 int _v_len15 = _v_deref__deref__134.length (); 611 611 int _v_len16 = 0; 612 612 if (_v_len15 < _v_len16) … … 614 614 break _block2__branch3; 615 615 } 616 int _v_len__ cond= (_v_len15 - _v_len16);616 int _v_len__step = (_v_len15 - _v_len16); 617 617 if (!_c_8.termEquals (_v_deref__13, 0)) 618 618 { … … 629 629 Expr _ve_step = Expr.empty; 630 630 _ve_step = _v_deref__deref__134.subexpr (0, _v_len__step); 631 refal.plus.Box.Put (Blocks, new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_8).toRight ((Comparable) _ve_cont).toRight ((Comparable) _ve_break).toRight ((Comparable) _ve_cond).toRight ((Comparable) _ve_step).yield ()));631 refal.plus.Box.Put (Blocks, new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_8).toRight ((Comparable<?>) _ve_cont).toRight ((Comparable<?>) _ve_break).toRight ((Comparable<?>) _ve_cond).toRight ((Comparable<?>) _ve_step).yield ())); 632 632 _ve_body = _ge_body__4; 633 633 break _block2; … … 663 663 Expr _vt_label = Expr.empty; 664 664 _vt_label = _v_deref__deref__14.subexpr (0, 1); 665 refal.plus.Box.Put (Blocks, new Expr ((Comparable ) Expr.concat (_c_9, (Comparable) _vt_label)));665 refal.plus.Box.Put (Blocks, new Expr ((Comparable<?>) Expr.concat (_c_9, (Comparable<?>) _vt_label))); 666 666 _ve_body = _ge_body__4; 667 667 break _block2; … … 688 688 Expr _ge_body__4 = Expr.empty; 689 689 _ge_body__4 = _v_deref__15.subexpr ((0 + 1 + 1), _v_len__body__45); 690 refal.plus.Box.Put (Blocks, new Expr ((Comparable ) Expr.concat (_c_2, _vt_cond)));690 refal.plus.Box.Put (Blocks, new Expr ((Comparable<?>) Expr.concat (_c_2, _vt_cond))); 691 691 _ve_body = _ge_body__4; 692 692 break _block2; … … 721 721 Expr _ge_body__4 = Expr.empty; 722 722 _ge_body__4 = _v_deref__16.subexpr ((0 + 1 + 1 + 1 + 1), _v_len__body__46); 723 refal.plus.Box.Put (Blocks, new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_1).toRight (_vs_op).toRight (_vt_arg1).toRight (_vt_arg2).yield ()));723 refal.plus.Box.Put (Blocks, new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_1).toRight (_vs_op).toRight (_vt_arg1).toRight (_vt_arg2).yield ())); 724 724 _ve_body = _ge_body__4; 725 725 break _block2; … … 812 812 break _block4__branch1; 813 813 } 814 _ve_t1 = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_9).toRight ((Comparable) _vt_label).toRight (_ve_body).yield ());814 _ve_t1 = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_9).toRight ((Comparable<?>) _vt_label).toRight (_ve_body).yield ()); 815 815 _ge_2__4 = _ve_2; 816 816 break _block4; … … 903 903 } 904 904 int _v_len__cont2 = (_v_len29 - _v_len30); 905 int _v_len31 = _v_deref__deref__GetR12 3.length ();905 int _v_len31 = _v_deref__deref__GetR122.length (); 906 906 int _v_len32 = 0; 907 907 if (_v_len31 < _v_len32) … … 909 909 break _block3__branch2; 910 910 } 911 int _v_len__ step2 = (_v_len31 - _v_len32);912 int _v_len33 = _v_deref__deref__GetR12 2.length ();911 int _v_len__break2 = (_v_len31 - _v_len32); 912 int _v_len33 = _v_deref__deref__GetR123.length (); 913 913 int _v_len34 = 0; 914 914 if (_v_len33 < _v_len34) … … 916 916 break _block3__branch2; 917 917 } 918 int _v_len__ break2 = (_v_len33 - _v_len34);918 int _v_len__step2 = (_v_len33 - _v_len34); 919 919 if (!_c_8.termEquals (_v_deref__GetR12, 0)) 920 920 { … … 937 937 break _block6__branch1; 938 938 } 939 _ve_t1 = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_8).toRight ((Comparable) _ve_cont).toRight ((Comparable) _ve_break).toRight (_c_14).toRight ((Comparable) _ve_step).toRight (_ve_body).yield ());939 _ve_t1 = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_8).toRight ((Comparable<?>) _ve_cont).toRight ((Comparable<?>) _ve_break).toRight (_c_14).toRight ((Comparable<?>) _ve_step).toRight (_ve_body).yield ()); 940 940 _ge_2__4 = _ve_2; 941 941 break _block6; 942 942 } 943 _ve_t1 = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_8).toRight ((Comparable) _ve_cont).toRight ((Comparable) _ve_break).toRight (_c_14).toRight ((Comparable) _ve_step).toRight (_ve_body).yield ());943 _ve_t1 = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_8).toRight ((Comparable<?>) _ve_cont).toRight ((Comparable<?>) _ve_break).toRight (_c_14).toRight ((Comparable<?>) _ve_step).toRight (_ve_body).yield ()); 944 944 _ge_2__4 = Expr.empty; 945 945 } … … 982 982 Expr _ve__dollar_tmp_m_103_m_34 = Expr.empty; 983 983 _ve__dollar_tmp_m_103_m_34 = _v_deref__Get2.subexpr (0, _v_len___dollar_tmp_m_103_m_34); 984 _ve_t1 = new Expr ((Comparable ) Expr.concat (_c_10, _ve_body));984 _ve_t1 = new Expr ((Comparable<?>) Expr.concat (_c_10, _ve_body)); 985 985 _ge_2__4 = _ve_2; 986 986 break _block7; … … 1013 1013 Expr _ve_catch__body = Expr.empty; 1014 1014 _ve_catch__body = _v_deref__2.subexpr ((0 + 1), _v_len__catch__body); 1015 _ve_t1 = new Expr ((Comparable ) Expr.concat (_c_10, _ve_body));1016 _ge_2__4 = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_12).toRight (_ve_catch__body).toRight (_ve_3).yield ());1015 _ve_t1 = new Expr ((Comparable<?>) Expr.concat (_c_10, _ve_body)); 1016 _ge_2__4 = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_12).toRight (_ve_catch__body).toRight (_ve_3).yield ()); 1017 1017 } 1018 1018 break _block3; … … 1032 1032 Expr _ve_item = Expr.empty; 1033 1033 _ve_item = _v_deref__GetR13.subexpr (0, _v_len__item); 1034 _ve_t1 = new Expr ((Comparable ) Expr.concat (_ve_item, _ve_body));1034 _ve_t1 = new Expr ((Comparable<?>) Expr.concat (_ve_item, _ve_body)); 1035 1035 _ge_2__4 = _ve_2; 1036 1036 } … … 1135 1135 Expr _ve_breaks = Expr.empty; 1136 1136 _ve_breaks = _v_deref__GetR2.subexpr (0, _v_len__breaks); 1137 refal.plus.Box.Put (Last_Breaks, new Expr ((Comparable ) Expr.concat (_ve_breaks, _vt_label)));1137 refal.plus.Box.Put (Last_Breaks, new Expr ((Comparable<?>) Expr.concat (_ve_breaks, _vt_label))); 1138 1138 _block10: { 1139 1139 _block10__branch1: { … … 1268 1268 } 1269 1269 int _v_len__break3 = (_v_len59 - _v_len60); 1270 int _v_len61 = _v_deref__deref__Get4 4.length ();1270 int _v_len61 = _v_deref__deref__Get43.length (); 1271 1271 int _v_len62 = 0; 1272 1272 if (_v_len61 < _v_len62) … … 1274 1274 break _block11__branch1; 1275 1275 } 1276 int _v_len__ step3= (_v_len61 - _v_len62);1277 int _v_len63 = _v_deref__deref__Get4 3.length ();1276 int _v_len__cond2 = (_v_len61 - _v_len62); 1277 int _v_len63 = _v_deref__deref__Get44.length (); 1278 1278 int _v_len64 = 0; 1279 1279 if (_v_len63 < _v_len64) … … 1281 1281 break _block11__branch1; 1282 1282 } 1283 int _v_len__ cond2= (_v_len63 - _v_len64);1283 int _v_len__step3 = (_v_len63 - _v_len64); 1284 1284 if (!_c_8.termEquals (_v_deref__Get4, 0)) 1285 1285 { … … 1387 1387 Expr _ve_breaks = Expr.empty; 1388 1388 _ve_breaks = _v_deref__GetR3.subexpr (0, _v_len__breaks2); 1389 refal.plus.Box.Put (Last_Breaks, new Expr ((Comparable ) Expr.concat (_ve_breaks, _c_15)));1389 refal.plus.Box.Put (Last_Breaks, new Expr ((Comparable<?>) Expr.concat (_ve_breaks, _c_15))); 1390 1390 _ve_1 = Expr.empty; 1391 1391 break _block12; … … 1504 1504 } 1505 1505 Result _va_5 = new Result (); 1506 Remove_Dupl_Decl (_ve_decls, _ve_subst, Expr.concat (_ve_xpr, (Comparable ) _ve_len), _va_5);1506 Remove_Dupl_Decl (_ve_decls, _ve_subst, Expr.concat (_ve_xpr, (Comparable<?>) _ve_len), _va_5); 1507 1507 _ve_xpr = _va_5.getExpr (); 1508 1508 Result _ve_decl1 = new Result (Expr.empty); … … 1592 1592 Result _v_Remove__Dupl__Decl2 = new Result (Expr.empty); 1593 1593 Remove_Dupl_Decl (_ge_decls__4__5.getExpr (), _ge_subst__4__5.getExpr (), _ve_rest, _v_Remove__Dupl__Decl2); 1594 _v_res1.assign (Expr.concat ((Comparable ) Expr.getConcatenator ().toRight (_vs_split).toRight (_ve_xpr).toRight (_gt_var1__5).toRight (_gt_var2__6).yield (), _v_Remove__Dupl__Decl2.getExpr ()));1594 _v_res1.assign (Expr.concat ((Comparable<?>) Expr.getConcatenator ().toRight (_vs_split).toRight (_ve_xpr).toRight (_gt_var1__5).toRight (_gt_var2__6).yield (), _v_Remove__Dupl__Decl2.getExpr ())); 1595 1595 break _block2; 1596 1596 } … … 1657 1657 Result _v_Remove__Dupl__Decl3 = new Result (Expr.empty); 1658 1658 Remove_Dupl_Decl (_ve_decls, _ve_subst, _ve_rest, _v_Remove__Dupl__Decl3); 1659 _v_res1.assign (Expr.concat ((Comparable ) _ge_auxcall1.getExpr (), _v_Remove__Dupl__Decl3.getExpr ()));1659 _v_res1.assign (Expr.concat ((Comparable<?>) _ge_auxcall1.getExpr (), _v_Remove__Dupl__Decl3.getExpr ())); 1660 1660 break _block2; 1661 1661 } … … 1737 1737 break _block3; 1738 1738 } 1739 _v_res1.assign (new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_4).toRight (_vt_var).toRight (_ve_expr).yield ()));1739 _v_res1.assign (new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_4).toRight (_vt_var).toRight (_ve_expr).yield ())); 1740 1740 _v_res2.assign (_ve_decls); 1741 1741 _v_res3.assign (_ve_subst); … … 1779 1779 Result _gs_auxcall1 = new Result (Expr.empty); 1780 1780 Free_Idx (_gs_auxcall1); 1781 Expr _vt_new__var = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_vs_tag).toRight (_c_25).toRight ((Comparable) Expr.concat (_ve_name, _gs_auxcall1.getExpr ())).yield ());1781 Expr _vt_new__var = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_vs_tag).toRight (_c_25).toRight ((Comparable<?>) Expr.concat (_ve_name, _gs_auxcall1.getExpr ())).yield ()); 1782 1782 Expr _ge_expr__5 = Expr.empty; 1783 1783 _block4: { … … 1792 1792 _ge_expr__5 = _ve_expr; 1793 1793 } 1794 _v_res1.assign (new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_5).toRight (_vs_type).toRight (_vt_new__var).toRight (_ge_expr__5).yield ()));1795 _v_res2.assign (Expr.concat (_ve_decls, (Comparable ) Expr.concat (_vs_type, _vt_new__var)));1796 _v_res3.assign (Expr.concat (_ve_subst, (Comparable ) Expr.concat (_vt_var, _vt_new__var)));1794 _v_res1.assign (new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_5).toRight (_vs_type).toRight (_vt_new__var).toRight (_ge_expr__5).yield ())); 1795 _v_res2.assign (Expr.concat (_ve_decls, (Comparable<?>) Expr.concat (_vs_type, _vt_new__var))); 1796 _v_res3.assign (Expr.concat (_ve_subst, (Comparable<?>) Expr.concat (_vt_var, _vt_new__var))); 1797 1797 } 1798 1798 break _exit1; … … 1800 1800 break _block1; 1801 1801 } 1802 _v_res1.assign (new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_5).toRight (_vs_type).toRight (_vt_var).toRight (_ve_expr).yield ()));1803 _v_res2.assign (Expr.concat (_ve_decls, (Comparable ) Expr.concat (_vs_type, _vt_var)));1802 _v_res1.assign (new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_5).toRight (_vs_type).toRight (_vt_var).toRight (_ve_expr).yield ())); 1803 _v_res2.assign (Expr.concat (_ve_decls, (Comparable<?>) Expr.concat (_vs_type, _vt_var))); 1804 1804 _v_res3.assign (_ve_subst); 1805 1805 } … … 1947 1947 Result _ge_auxcall7 = new Result (Expr.empty); 1948 1948 refal.plus.List.Paren (_ve_1, _ge_auxcall7); 1949 _v_res1.assign (new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_26).toRight (_vs_op).toRight (_ge_auxcall7.getExpr ()).yield ()));1949 _v_res1.assign (new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_26).toRight (_vs_op).toRight (_ge_auxcall7.getExpr ()).yield ())); 1950 1950 } 1951 1951 break _block1; … … 1971 1971 throw new RefalException ("org.refal.plus.compiler.rfp_asail2asail", "Simplify_Infix", "Unexpected fail"); 1972 1972 } 1973 _v_res1.assign (new Expr ((Comparable ) _ge_auxcall8.getExpr ()));1973 _v_res1.assign (new Expr ((Comparable<?>) _ge_auxcall8.getExpr ())); 1974 1974 break _block1; 1975 1975 } … … 2034 2034 Result _ge_auxcall2 = new Result (Expr.empty); 2035 2035 refal.plus.List.Paren (_ve_1, _ge_auxcall2); 2036 _v_res1.assign (new Expr ((Comparable ) Expr.concat (_c_39, _ge_auxcall2.getExpr ())));2036 _v_res1.assign (new Expr ((Comparable<?>) Expr.concat (_c_39, _ge_auxcall2.getExpr ()))); 2037 2037 } 2038 2038 } … … 2361 2361 _block1: { 2362 2362 _block1__branch1: { 2363 Expr _v_compose1 = Expr.getConcatenator ().toRight (_gs_arg1).toRight ((Comparable ) _ge_arg2).toRight ((Comparable) _ge_arg3).yield ();2363 Expr _v_compose1 = Expr.getConcatenator ().toRight (_gs_arg1).toRight ((Comparable<?>) _ge_arg2).toRight ((Comparable<?>) _ge_arg3).yield (); 2364 2364 if (_v_compose1.isSymbolAt ((0 + 1))) 2365 2365 { … … 2372 2372 Expr _v_deref__compose1 = (Expr) _v_compose1.at ((0 + 1)); 2373 2373 Expr _v_deref__compose12 = (Expr) _v_compose1.at ((0 + 1 + 1)); 2374 if (_v_deref__compose1.length () < 1) 2375 { 2376 break _block1__branch1; 2377 } 2378 if (_v_deref__compose1.length () > ((_v_deref__compose1.length () - 1) + (_v_deref__compose1.length () - 1) + 1)) 2379 { 2380 break _block1__branch1; 2381 } 2374 2382 if (_v_deref__compose12.length () < 1) 2375 2383 { … … 2377 2385 } 2378 2386 if (_v_deref__compose12.length () > ((_v_deref__compose12.length () - 1) + (_v_deref__compose12.length () - 1) + 1)) 2379 {2380 break _block1__branch1;2381 }2382 if (_v_deref__compose1.length () < 1)2383 {2384 break _block1__branch1;2385 }2386 if (_v_deref__compose1.length () > ((_v_deref__compose1.length () - 1) + (_v_deref__compose1.length () - 1) + 1))2387 2387 { 2388 2388 break _block1__branch1; … … 2458 2458 Result _ge_auxcall2 = new Result (Expr.empty); 2459 2459 refal.plus.List.Foldr1 (_c_49, Expr.empty, _ge_arg3, _ge_auxcall2); 2460 if (!refal.plus.Apply.Apply (_gs_arg1, Expr.concat ((Comparable ) _ge_auxcall1.getExpr (), (Comparable) _ge_auxcall2.getExpr ()), _v_res1)) {2460 if (!refal.plus.Apply.Apply (_gs_arg1, Expr.concat ((Comparable<?>) _ge_auxcall1.getExpr (), (Comparable<?>) _ge_auxcall2.getExpr ()), _v_res1)) { 2461 2461 return false; 2462 2462 } 2463 2463 break _block1; 2464 2464 } 2465 _v_res1.assign (Expr.concat ((Comparable ) _ge_arg2, (Comparable) _ge_arg3));2465 _v_res1.assign (Expr.concat ((Comparable<?>) _ge_arg2, (Comparable<?>) _ge_arg3)); 2466 2466 } 2467 2467 return true; … … 2509 2509 } 2510 2510 2511 static boolean IsInt_0 (Expr _ge_arg1, Result _v_res1) throws RefalException2512 {2513 int _v_len1 = _ge_arg1.length ();2514 int _v_len2 = 0;2515 if (_v_len1 < _v_len2)2516 {2517 throw new RefalException (_c_50);2518 }2519 int _v_len__stub1 = (_v_len1 - _v_len2);2520 Expr _v_stub1 = Expr.empty;2521 _v_stub1 = _ge_arg1.subexpr (0, _v_len__stub1);2522 if (!refal.plus.Class.IsInt (_v_stub1))2523 {2524 return false;2525 }2526 _v_res1.assign (Expr.empty);2527 return true;2528 }2529 2530 2511 static boolean Add_0 (Expr _ge_arg1, Result _v_res1) throws RefalException 2531 2512 { … … 2550 2531 } 2551 2532 2533 static boolean IsInt_0 (Expr _ge_arg1, Result _v_res1) throws RefalException 2534 { 2535 int _v_len1 = _ge_arg1.length (); 2536 int _v_len2 = 0; 2537 if (_v_len1 < _v_len2) 2538 { 2539 throw new RefalException (_c_50); 2540 } 2541 int _v_len__stub1 = (_v_len1 - _v_len2); 2542 Expr _v_stub1 = Expr.empty; 2543 _v_stub1 = _ge_arg1.subexpr (0, _v_len__stub1); 2544 if (!refal.plus.Class.IsInt (_v_stub1)) 2545 { 2546 return false; 2547 } 2548 _v_res1.assign (Expr.empty); 2549 return true; 2550 } 2551 2552 static boolean Gt_0 (Expr _ge_arg1, Result _v_res1) throws RefalException 2553 { 2554 if (_ge_arg1.length () != 2) 2555 { 2556 throw new RefalException (_c_50); 2557 } 2558 if (_ge_arg1.isSymbolAt (0)) 2559 { 2560 throw new RefalException (_c_50); 2561 } 2562 if (_ge_arg1.isSymbolAt ((0 + 1))) 2563 { 2564 throw new RefalException (_c_50); 2565 } 2566 Expr _v_deref__arg1 = (Expr) _ge_arg1.at (0); 2567 Expr _v_deref__arg12 = (Expr) _ge_arg1.at ((0 + 1)); 2568 int _v_len1 = _v_deref__arg1.length (); 2569 int _v_len2 = 0; 2570 if (_v_len1 < _v_len2) 2571 { 2572 throw new RefalException (_c_50); 2573 } 2574 int _v_len__stub1 = (_v_len1 - _v_len2); 2575 int _v_len3 = _v_deref__arg12.length (); 2576 int _v_len4 = 0; 2577 if (_v_len3 < _v_len4) 2578 { 2579 throw new RefalException (_c_50); 2580 } 2581 int _v_len__stub2 = (_v_len3 - _v_len4); 2582 Expr _v_stub1 = Expr.empty; 2583 _v_stub1 = _v_deref__arg1.subexpr (0, _v_len__stub1); 2584 Expr _v_stub2 = Expr.empty; 2585 _v_stub2 = _v_deref__arg12.subexpr (0, _v_len__stub2); 2586 if (!refal.plus.Compare.Gt (_v_stub1, _v_stub2)) 2587 { 2588 return false; 2589 } 2590 _v_res1.assign (Expr.empty); 2591 return true; 2592 } 2593 2552 2594 static boolean Lt_0 (Expr _ge_arg1, Result _v_res1) throws RefalException 2553 2595 { … … 2566 2608 Expr _v_deref__arg1 = (Expr) _ge_arg1.at (0); 2567 2609 Expr _v_deref__arg12 = (Expr) _ge_arg1.at ((0 + 1)); 2568 int _v_len1 = _v_deref__arg1 2.length ();2610 int _v_len1 = _v_deref__arg1.length (); 2569 2611 int _v_len2 = 0; 2570 2612 if (_v_len1 < _v_len2) … … 2573 2615 } 2574 2616 int _v_len__stub1 = (_v_len1 - _v_len2); 2575 int _v_len3 = _v_deref__arg1 .length ();2617 int _v_len3 = _v_deref__arg12.length (); 2576 2618 int _v_len4 = 0; 2577 2619 if (_v_len3 < _v_len4) … … 2580 2622 } 2581 2623 int _v_len__stub2 = (_v_len3 - _v_len4); 2624 Expr _v_stub1 = Expr.empty; 2625 _v_stub1 = _v_deref__arg1.subexpr (0, _v_len__stub1); 2582 2626 Expr _v_stub2 = Expr.empty; 2583 _v_stub2 = _v_deref__arg1.subexpr (0, _v_len__stub2); 2584 Expr _v_stub1 = Expr.empty; 2585 _v_stub1 = _v_deref__arg12.subexpr (0, _v_len__stub1); 2586 if (!refal.plus.Compare.Lt (_v_stub2, _v_stub1)) 2627 _v_stub2 = _v_deref__arg12.subexpr (0, _v_len__stub2); 2628 if (!refal.plus.Compare.Lt (_v_stub1, _v_stub2)) 2587 2629 { 2588 2630 return false; … … 2608 2650 Expr _v_deref__arg1 = (Expr) _ge_arg1.at (0); 2609 2651 Expr _v_deref__arg12 = (Expr) _ge_arg1.at ((0 + 1)); 2610 int _v_len1 = _v_deref__arg1 2.length ();2652 int _v_len1 = _v_deref__arg1.length (); 2611 2653 int _v_len2 = 0; 2612 2654 if (_v_len1 < _v_len2) … … 2615 2657 } 2616 2658 int _v_len__stub1 = (_v_len1 - _v_len2); 2617 int _v_len3 = _v_deref__arg1 .length ();2659 int _v_len3 = _v_deref__arg12.length (); 2618 2660 int _v_len4 = 0; 2619 2661 if (_v_len3 < _v_len4) … … 2622 2664 } 2623 2665 int _v_len__stub2 = (_v_len3 - _v_len4); 2666 Expr _v_stub1 = Expr.empty; 2667 _v_stub1 = _v_deref__arg1.subexpr (0, _v_len__stub1); 2624 2668 Expr _v_stub2 = Expr.empty; 2625 _v_stub2 = _v_deref__arg1.subexpr (0, _v_len__stub2); 2626 Expr _v_stub1 = Expr.empty; 2627 _v_stub1 = _v_deref__arg12.subexpr (0, _v_len__stub1); 2628 if (!refal.plus.Compare.Ne (_v_stub2, _v_stub1)) 2629 { 2630 return false; 2631 } 2632 _v_res1.assign (Expr.empty); 2633 return true; 2634 } 2635 2636 static boolean Gt_0 (Expr _ge_arg1, Result _v_res1) throws RefalException 2637 { 2638 if (_ge_arg1.length () != 2) 2639 { 2640 throw new RefalException (_c_50); 2641 } 2642 if (_ge_arg1.isSymbolAt (0)) 2643 { 2644 throw new RefalException (_c_50); 2645 } 2646 if (_ge_arg1.isSymbolAt ((0 + 1))) 2647 { 2648 throw new RefalException (_c_50); 2649 } 2650 Expr _v_deref__arg1 = (Expr) _ge_arg1.at (0); 2651 Expr _v_deref__arg12 = (Expr) _ge_arg1.at ((0 + 1)); 2652 int _v_len1 = _v_deref__arg12.length (); 2653 int _v_len2 = 0; 2654 if (_v_len1 < _v_len2) 2655 { 2656 throw new RefalException (_c_50); 2657 } 2658 int _v_len__stub1 = (_v_len1 - _v_len2); 2659 int _v_len3 = _v_deref__arg1.length (); 2660 int _v_len4 = 0; 2661 if (_v_len3 < _v_len4) 2662 { 2663 throw new RefalException (_c_50); 2664 } 2665 int _v_len__stub2 = (_v_len3 - _v_len4); 2666 Expr _v_stub2 = Expr.empty; 2667 _v_stub2 = _v_deref__arg1.subexpr (0, _v_len__stub2); 2668 Expr _v_stub1 = Expr.empty; 2669 _v_stub1 = _v_deref__arg12.subexpr (0, _v_len__stub1); 2670 if (!refal.plus.Compare.Gt (_v_stub2, _v_stub1)) 2669 _v_stub2 = _v_deref__arg12.subexpr (0, _v_len__stub2); 2670 if (!refal.plus.Compare.Ne (_v_stub1, _v_stub2)) 2671 2671 { 2672 2672 return false; -
to-imperative/trunk/java/compiler/org/refal/plus/compiler/rfp_asail_cpp.java
r3370 r3428 48 48 static final Expr _c_8 = _c_47.subexpr (3, 1); 49 49 static final Expr _c_9 = Expr.fromSequence ("static void init_ () {"); 50 static final Expr _c_10 = new Expr ((Comparable ) _c_183);50 static final Expr _c_10 = new Expr ((Comparable<?>) _c_183); 51 51 static final Expr _c_11 = new Expr (Symbol.newWord ("STATIC")); 52 52 static final Expr _c_12 = new Expr (Symbol.newWord ("DECL-OBJ")); 53 static final Expr _c_13 = _c_ 183.subexpr (41, 1);53 static final Expr _c_13 = _c_6.subexpr (1, 1); 54 54 static final Expr _c_14 = Expr.fromSequence (" = "); 55 55 static final Expr _c_184 = Expr.fromSequence ("#include <rf_core.hh>"); 56 56 static final Expr _c_185 = Expr.fromSequence ("using namespace rfrt;"); 57 static final Expr _c_15 = Expr.concat ((Comparable ) _c_184, (Comparable) _c_185);57 static final Expr _c_15 = Expr.concat ((Comparable<?>) _c_184, (Comparable<?>) _c_185); 58 58 static final Expr _c_16 = new Expr (Symbol.newWord ("UNDEF")); 59 59 static final Expr _c_17 = new Expr (Symbol.newWord ("NATIVE")); … … 72 72 static final Expr _c_26 = new Expr (Symbol.newWord ("FUNC?")); 73 73 static final Expr _c_27 = Expr.getConcatenator (4).toRight (Symbol.newWord ("org")).toRight (Symbol.newWord ("refal")).toRight (Symbol.newWord ("plus")).toRight (Symbol.newWord ("wrappers")).yield (); 74 static final Expr _c_28 = _c_ 7.subexpr (14, 1);74 static final Expr _c_28 = _c_184.subexpr (12, 1); 75 75 static final Expr _c_29 = new Expr (Symbol.newWord ("TRACEALL")); 76 76 static final Expr _c_30 = _c_184.subexpr (17, 1); 77 77 static final Expr _c_31 = new Expr (Symbol.newWord ("DECL-FUNC")); 78 78 static final Expr _c_32 = Expr.fromSequence ("RF_ARG "); 79 static final Expr _c_163 = Expr.concat ((Comparable ) Expr.empty, Symbol.newWord ("Vars"));79 static final Expr _c_163 = Expr.concat ((Comparable<?>) Expr.empty, Symbol.newWord ("Vars")); 80 80 static final Expr _c_33 = _c_163.subexpr (1, 1); 81 81 static final Expr _c_34 = Expr.fromSequence ("RF_RES "); … … 87 87 static final Expr _c_39 = new Expr (Symbol.newWord ("TRACE")); 88 88 static final Expr _c_40 = new Expr (Symbol.newWord ("IF-INT-CMP")); 89 static final Expr _c_41 = _c_ 37.subexpr (1, 1);89 static final Expr _c_41 = _c_14.subexpr (0, 1); 90 90 static final Expr _c_92 = Expr.fromSequence ("if (RF_CALL ("); 91 91 static final Expr _c_42 = _c_92.subexpr (0, 4); … … 96 96 static final Expr _c_48 = Expr.fromSequence ("for ( ; ; "); 97 97 static final Expr _c_49 = new Expr (Symbol.newWord ("TRY")); 98 static final Expr _c_50 = new Expr ((Comparable ) Expr.fromSequence ("RF_TRAP"));98 static final Expr _c_50 = new Expr ((Comparable<?>) Expr.fromSequence ("RF_TRAP")); 99 99 static final Expr _c_51 = new Expr (Symbol.newWord ("CATCH-ERROR")); 100 static final Expr _c_52 = new Expr ((Comparable ) Expr.fromSequence ("RF_CLEANUP;"));101 static final Expr _c_53 = new Expr ((Comparable ) Expr.fromSequence ("RF_WITH"));100 static final Expr _c_52 = new Expr ((Comparable<?>) Expr.fromSequence ("RF_CLEANUP;")); 101 static final Expr _c_53 = new Expr ((Comparable<?>) Expr.fromSequence ("RF_WITH")); 102 102 static final Expr _c_54 = new Expr (Symbol.newWord ("RETFAIL")); 103 103 static final Expr _c_186 = Expr.fromSequence ("else RF_RETFAIL;"); 104 static final Expr _c_55 = new Expr ((Comparable ) _c_186.subexpr (5, 11));104 static final Expr _c_55 = new Expr ((Comparable<?>) _c_186.subexpr (5, 11)); 105 105 static final Expr _c_56 = new Expr (Symbol.newWord ("FATAL")); 106 static final Expr _c_57 = new Expr ((Comparable ) Expr.fromSequence ("RF_FUNC_ERROR (unexpected_fail);"));106 static final Expr _c_57 = new Expr ((Comparable<?>) Expr.fromSequence ("RF_FUNC_ERROR (unexpected_fail);")); 107 107 static final Expr _c_58 = new Expr (Symbol.newWord ("LSPLIT")); 108 108 static final Expr _c_59 = Expr.fromSequence ("RF_lsplit ("); … … 114 114 static final Expr _c_86 = Expr.fromSequence ("extern Expr "); 115 115 static final Expr _c_65 = _c_86.subexpr (7, 5); 116 static final Expr _c_66 = _c_ 42.subexpr (2, 2);116 static final Expr _c_66 = _c_38.subexpr (7, 2); 117 117 static final Expr _c_67 = new Expr (Symbol.newWord ("DROP")); 118 118 static final Expr _c_68 = Expr.fromSequence (".drop ();"); … … 122 122 static final Expr _c_72 = Expr.fromSequence ("RF_ERROR ("); 123 123 static final Expr _c_74 = _c_163.subexpr (0, 1); 124 static final Expr _c_76 = _c_7 5.subexpr (0, 1);124 static final Expr _c_76 = _c_73.subexpr (0, 1); 125 125 static final Expr _c_77 = _c_183.subexpr (0, 7); 126 126 static final Expr _c_78 = new Expr (new Func () { … … 147 147 static final Expr _c_90 = new Expr (Symbol.newWord ("Exprs")); 148 148 static final Expr _c_91 = _c_172.subexpr (32, 2); 149 static final Expr _c_93 = new Expr ((Comparable ) Expr.fromSequence ("return true;"));150 static final Expr _c_94 = new Expr ((Comparable ) _c_186);149 static final Expr _c_93 = new Expr ((Comparable<?>) Expr.fromSequence ("return true;")); 150 static final Expr _c_94 = new Expr ((Comparable<?>) _c_186); 151 151 static final Expr _c_95 = new Expr (Symbol.newWord ("TAILCALL?")); 152 152 static final Expr _c_96 = new Expr (Symbol.newWord ("TAILCALL")); 153 static final Expr _c_97 = _c_3 5.subexpr (0, 3);153 static final Expr _c_97 = _c_32.subexpr (0, 3); 154 154 static final Expr _c_98 = Expr.fromSequence ("empty"); 155 155 static final Expr _c_99 = new Expr (new Func () { … … 169 169 static final Expr _c_108 = new Expr (Symbol.newWord ("ERROR-EXPR")); 170 170 static final Expr _c_109 = Expr.fromSequence ("err"); 171 static final Expr _c_110 = _c_ 7.subexpr (4, 2);171 static final Expr _c_110 = _c_83.subexpr (4, 2); 172 172 static final Expr _c_151 = Expr.fromSequence (" + Expr::create<rftype::Word>(\""); 173 173 static final Expr _c_113 = _c_151.subexpr (3, 28); … … 202 202 static final Expr _c_135 = Expr.fromSequence (".term_eq ("); 203 203 static final Expr _c_136 = new Expr (Symbol.newWord ("NOT")); 204 static final Expr _c_137 = _c_1 31.subexpr (0, 1);204 static final Expr _c_137 = _c_125.subexpr (0, 1); 205 205 static final Expr _c_138 = new Expr (Symbol.newWord ("INC-ITER")); 206 206 static final Expr _c_139 = Expr.fromSequence (")++"); … … 224 224 static final Expr _c_158 = Expr.fromSequence ("\r"); 225 225 static final Expr _c_159 = Expr.fromSequence ("\\r"); 226 static final Expr _c_160 = _c_ 82.subexpr (0, 1);226 static final Expr _c_160 = _c_151.subexpr (30, 1); 227 227 static final Expr _c_161 = Expr.fromSequence ("\\\""); 228 228 static final Expr _c_162 = Expr.fromSequence ("RF_VOID"); … … 230 230 static final Expr _c_165 = Expr.fromSequence (";;)"); 231 231 static final Expr _c_166 = _c_27.subexpr (1, 2); 232 static final Expr _c_167 = _c_ 166.subexpr (0, 1);232 static final Expr _c_167 = _c_27.subexpr (1, 1); 233 233 static final Expr _c_168 = _c_47.subexpr (1, 2); 234 234 static final Expr _c_169 = _c_185.subexpr (6, 10); 235 static final Expr _c_170 = new Expr ((Comparable ) _c_8);235 static final Expr _c_170 = new Expr ((Comparable<?>) _c_8); 236 236 static final Expr _c_171 = new Expr (new Func () { 237 237 public boolean eval (Expr arg, Result res) throws RefalException { … … 307 307 break _block2; 308 308 } 309 refal.plus.Box.Store (Entry, new Expr ((Comparable ) Expr.concat (_ve_ModuleName, _c_4)));309 refal.plus.Box.Store (Entry, new Expr ((Comparable<?>) Expr.concat (_ve_ModuleName, _c_4))); 310 310 } 311 311 refal.plus.Box.Store (Entry_Name, Expr.empty); … … 365 365 Expr _vv_name = Expr.empty; 366 366 _vv_name = _v_Get1.getExpr ().subexpr (0, _v_len__name); 367 _ve_entry = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_7).toRight (_vv_name).toRight (_c_6).yield ());367 _ve_entry = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_7).toRight (_vv_name).toRight (_c_6).yield ()); 368 368 break _block4; 369 369 } … … 404 404 break _block3__branch1; 405 405 } 406 _ve_init = Expr.getConcatenator ().toRight (_ve_nc.getExpr ()).toRight ((Comparable ) Expr.getConcatenator ().toRight (_c_9).toRight ((Comparable) _ve_init__consts).toRight (_c_8).yield ()).toRight (_c_10).toRight (_v_Map2.getExpr ()).yield ();406 _ve_init = Expr.getConcatenator ().toRight (_ve_nc.getExpr ()).toRight ((Comparable<?>) Expr.getConcatenator ().toRight (_c_9).toRight ((Comparable<?>) _ve_init__consts).toRight (_c_8).yield ()).toRight (_c_10).toRight (_v_Map2.getExpr ()).yield (); 407 407 break _exit__iter1; 408 408 } … … 471 471 _ge_name__8 = _va_2.getExpr (); 472 472 } 473 _ve_init__consts = Expr.concat (_ve_init__consts, (Comparable ) Expr.getConcatenator ().toRight (_ge_name__8).toRight (_c_14).toRight (_ve_value).toRight (_c_13).yield ());473 _ve_init__consts = Expr.concat (_ve_init__consts, (Comparable<?>) Expr.getConcatenator ().toRight (_ge_name__8).toRight (_c_14).toRight (_ve_value).toRight (_c_13).yield ()); 474 474 _ve_c__exprs = _ve_rest; 475 475 } … … 582 582 } 583 583 int _v_len__name = (_v_len7 - _v_len8); 584 int _v_len9 = _v_deref__deref__item2 3.length ();584 int _v_len9 = _v_deref__deref__item22.length (); 585 585 int _v_len10 = 0; 586 586 if (_v_len9 < _v_len10) … … 588 588 break _block2__branch2; 589 589 } 590 int _v_len__ out= (_v_len9 - _v_len10);591 int _v_len11 = _v_deref__deref__item2 2.length ();590 int _v_len__in = (_v_len9 - _v_len10); 591 int _v_len11 = _v_deref__deref__item23.length (); 592 592 int _v_len12 = 0; 593 593 if (_v_len11 < _v_len12) … … 595 595 break _block2__branch2; 596 596 } 597 int _v_len__ in= (_v_len11 - _v_len12);597 int _v_len__out = (_v_len11 - _v_len12); 598 598 if (!_c_17.termEquals (_v_deref__item2, 0)) 599 599 { … … 665 665 _vs__dollar_tmp_m_126_m_74 = _v_Del__Pragmas2.getExpr ().subexpr ((0 + _v_len__rfRes), 1); 666 666 Result _va_3 = new Result (); 667 ASAIL_To_CPP (new Expr ((Comparable ) Expr.getConcatenator ().toRight (_vs_tag).toRight (_c_23).toRight ((Comparable) _ve_name).toRight ((Comparable) _ve_rfArg).toRight ((Comparable) _ve_rfRes).toRight ((Comparable) Expr.getConcatenator ().toRight (_c_22).toRight (_ve_name).toRight (_c_21).yield ()).yield ()), _va_3);667 ASAIL_To_CPP (new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_vs_tag).toRight (_c_23).toRight ((Comparable<?>) _ve_name).toRight ((Comparable<?>) _ve_rfArg).toRight ((Comparable<?>) _ve_rfRes).toRight ((Comparable<?>) Expr.getConcatenator ().toRight (_c_22).toRight (_ve_name).toRight (_c_21).yield ()).yield ()), _va_3); 668 668 _ve_cpp__item = _va_3.getExpr (); 669 669 break _block2; … … 742 742 Result _gs_auxcall8 = new Result (Expr.empty); 743 743 refal.plus.Convert.ToWord (_ge_auxcall7.getExpr (), _gs_auxcall8); 744 refal.plus.Table.Bind (Unavailable_Imports, _ve_name, Expr.getConcatenator ().toRight (_vs_tag).toRight (_c_23).toRight ((Comparable ) _gs_auxcall8.getExpr ()).toRight (_vt_args).toRight (_vt_ress).toRight ((Comparable) Expr.getConcatenator ().toRight (_c_22).toRight (_ve_n).toRight (_c_21).yield ()).yield ());744 refal.plus.Table.Bind (Unavailable_Imports, _ve_name, Expr.getConcatenator ().toRight (_vs_tag).toRight (_c_23).toRight ((Comparable<?>) _gs_auxcall8.getExpr ()).toRight (_vt_args).toRight (_vt_ress).toRight ((Comparable<?>) Expr.getConcatenator ().toRight (_c_22).toRight (_ve_n).toRight (_c_21).yield ()).yield ()); 745 745 _ve_cpp__item = Expr.empty; 746 746 break _block2; … … 769 769 Expr _v_deref__deref__item4 = (Expr) _v_deref__item4.at ((0 + 1 + 1 + 1)); 770 770 Expr _v_deref__deref__item42 = (Expr) _v_deref__item4.at ((0 + 1 + 1 + 1 + 1)); 771 int _v_len25 = _v_deref__deref__item4 2.length ();771 int _v_len25 = _v_deref__deref__item4.length (); 772 772 int _v_len26 = 0; 773 773 if (_v_len25 < _v_len26) … … 775 775 break _block2__branch4; 776 776 } 777 int _v_len__ ress = (_v_len25 - _v_len26);778 int _v_len27 = _v_deref__deref__item4 .length ();777 int _v_len__args = (_v_len25 - _v_len26); 778 int _v_len27 = _v_deref__deref__item42.length (); 779 779 int _v_len28 = 0; 780 780 if (_v_len27 < _v_len28) … … 782 782 break _block2__branch4; 783 783 } 784 int _v_len__ args = (_v_len27 - _v_len28);784 int _v_len__ress = (_v_len27 - _v_len28); 785 785 if (!_v_deref__item4.isSymbolAt (0)) 786 786 { … … 878 878 Result _ge_name__6 = new Result (Expr.empty); 879 879 refal.plus.List.Intersperse (_c_30, _ge_auxcall11.getExpr (), _ge_name__6); 880 refal.plus.Box.Store (Current_Trace, Expr.concat (_ge_name__6.getExpr (), (Comparable ) _ve_ress));880 refal.plus.Box.Store (Current_Trace, Expr.concat (_ge_name__6.getExpr (), (Comparable<?>) _ve_ress)); 881 881 Result _ge_auxcall12 = new Result (Expr.empty); 882 882 Trace_Enter (_ge_name__6.getExpr (), _ve_args, _ge_auxcall12); … … 904 904 Result _ge_auxcall18 = new Result (Expr.empty); 905 905 ASAIL_To_CPP (_ve_body, _ge_auxcall18); 906 _ve_cpp__item = Expr.concat (_ge_auxcall14.getExpr (), (Comparable ) Expr.getConcatenator ().toRight (_c_38).toRight (_ge_auxcall15.getExpr ()).toRight (_c_37).toRight (_ge_auxcall16.getExpr ()).toRight (_c_37).toRight (_ge_auxcall17.getExpr ()).toRight (_c_36).toRight ((Comparable) Expr.getConcatenator ().toRight (_ve_trace__enter).toRight (_ge_auxcall18.getExpr ()).toRight (_ve_trace__exit).yield ()).toRight (_c_35).yield ());906 _ve_cpp__item = Expr.concat (_ge_auxcall14.getExpr (), (Comparable<?>) Expr.getConcatenator ().toRight (_c_38).toRight (_ge_auxcall15.getExpr ()).toRight (_c_37).toRight (_ge_auxcall16.getExpr ()).toRight (_c_37).toRight (_ge_auxcall17.getExpr ()).toRight (_c_36).toRight ((Comparable<?>) Expr.getConcatenator ().toRight (_ve_trace__enter).toRight (_ge_auxcall18.getExpr ()).toRight (_ve_trace__exit).yield ()).toRight (_c_35).yield ()); 907 907 break _block2; 908 908 } … … 950 950 Expr _v_deref__deref__item6 = (Expr) _v_deref__item6.at ((0 + 1 + 1)); 951 951 Expr _v_deref__deref__item62 = (Expr) _v_deref__item6.at ((0 + 1 + 1 + 1)); 952 int _v_len33 = _v_deref__deref__item6 2.length ();952 int _v_len33 = _v_deref__deref__item6.length (); 953 953 int _v_len34 = 0; 954 954 if (_v_len33 < _v_len34) … … 956 956 break _block2__branch6; 957 957 } 958 int _v_len__arg 2= (_v_len33 - _v_len34);959 int _v_len35 = _v_deref__deref__item6 .length ();958 int _v_len__arg1 = (_v_len33 - _v_len34); 959 int _v_len35 = _v_deref__deref__item62.length (); 960 960 int _v_len36 = 0; 961 961 if (_v_len35 < _v_len36) … … 963 963 break _block2__branch6; 964 964 } 965 int _v_len__arg 1= (_v_len35 - _v_len36);965 int _v_len__arg2 = (_v_len35 - _v_len36); 966 966 if (!_c_40.termEquals (_v_deref__item6, 0)) 967 967 { … … 986 986 Result _ge_auxcall21 = new Result (Expr.empty); 987 987 ASAIL_To_CPP (_ve_body, _ge_auxcall21); 988 _ve_cpp__item = Expr.concat ((Comparable ) Expr.getConcatenator ().toRight (_c_42).toRight (_ge_auxcall19.getExpr ()).toRight (_c_41).toRight (_vs_op).toRight (_c_41).toRight (_ge_auxcall20.getExpr ()).toRight (_c_36).yield (), (Comparable) Expr.getConcatenator ().toRight (_c_43).toRight ((Comparable) _ge_auxcall21.getExpr ()).toRight (_c_8).yield ());988 _ve_cpp__item = Expr.concat ((Comparable<?>) Expr.getConcatenator ().toRight (_c_42).toRight (_ge_auxcall19.getExpr ()).toRight (_c_41).toRight (_vs_op).toRight (_c_41).toRight (_ge_auxcall20.getExpr ()).toRight (_c_36).yield (), (Comparable<?>) Expr.getConcatenator ().toRight (_c_43).toRight ((Comparable<?>) _ge_auxcall21.getExpr ()).toRight (_c_8).yield ()); 989 989 break _block2; 990 990 } … … 1014 1014 Result _ge_auxcall23 = new Result (Expr.empty); 1015 1015 ASAIL_To_CPP (_ve_body, _ge_auxcall23); 1016 _ve_cpp__item = Expr.concat ((Comparable ) Expr.getConcatenator ().toRight (_c_42).toRight (_ge_auxcall22.getExpr ()).toRight (_c_36).yield (), (Comparable) Expr.getConcatenator ().toRight (_c_43).toRight ((Comparable) _ge_auxcall23.getExpr ()).toRight (_c_8).yield ());1016 _ve_cpp__item = Expr.concat ((Comparable<?>) Expr.getConcatenator ().toRight (_c_42).toRight (_ge_auxcall22.getExpr ()).toRight (_c_36).yield (), (Comparable<?>) Expr.getConcatenator ().toRight (_c_43).toRight ((Comparable<?>) _ge_auxcall23.getExpr ()).toRight (_c_8).yield ()); 1017 1017 break _block2; 1018 1018 } … … 1064 1064 } 1065 1065 int _v_len__break__label = (_v_len43 - _v_len44); 1066 int _v_len45 = _v_deref__deref__item8 4.length ();1066 int _v_len45 = _v_deref__deref__item83.length (); 1067 1067 int _v_len46 = 0; 1068 1068 if (_v_len45 < _v_len46) … … 1070 1070 break _block2__branch8; 1071 1071 } 1072 int _v_len__ step= (_v_len45 - _v_len46);1073 int _v_len47 = _v_deref__deref__item8 3.length ();1072 int _v_len__cond = (_v_len45 - _v_len46); 1073 int _v_len47 = _v_deref__deref__item84.length (); 1074 1074 int _v_len48 = 0; 1075 1075 if (_v_len47 < _v_len48) … … 1077 1077 break _block2__branch8; 1078 1078 } 1079 int _v_len__ cond= (_v_len47 - _v_len48);1079 int _v_len__step = (_v_len47 - _v_len48); 1080 1080 if (!_c_45.termEquals (_v_deref__item8, 0)) 1081 1081 { … … 1104 1104 ASAIL_To_CPP (_ve_body, _ge_auxcall24); 1105 1105 Result _ge_auxcall25 = new Result (Expr.empty); 1106 refal.plus.CppMangle.Rfp2Cpp (new Expr ((Comparable ) Expr.concat (_c_46, _ve_cont__label)), _ge_auxcall25);1107 _ge_body__5 = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_43).toRight ((Comparable) Expr.getConcatenator ().toRight (_c_43).toRight ((Comparable) _ge_auxcall24.getExpr ()).toRight (_c_8).yield ()).toRight ((Comparable) Expr.getConcatenator ().toRight (_c_46).toRight (_ge_auxcall25.getExpr ()).toRight (_c_47).yield ()).toRight (_c_8).yield ());1106 refal.plus.CppMangle.Rfp2Cpp (new Expr ((Comparable<?>) Expr.concat (_c_46, _ve_cont__label)), _ge_auxcall25); 1107 _ge_body__5 = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_43).toRight ((Comparable<?>) Expr.getConcatenator ().toRight (_c_43).toRight ((Comparable<?>) _ge_auxcall24.getExpr ()).toRight (_c_8).yield ()).toRight ((Comparable<?>) Expr.getConcatenator ().toRight (_c_46).toRight (_ge_auxcall25.getExpr ()).toRight (_c_47).yield ()).toRight (_c_8).yield ()); 1108 1108 break _block8; 1109 1109 } 1110 1110 Result _ge_auxcall26 = new Result (Expr.empty); 1111 1111 ASAIL_To_CPP (_ve_body, _ge_auxcall26); 1112 _ge_body__5 = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_43).toRight ((Comparable) _ge_auxcall26.getExpr ()).toRight (_c_8).yield ());1112 _ge_body__5 = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_43).toRight ((Comparable<?>) _ge_auxcall26.getExpr ()).toRight (_c_8).yield ()); 1113 1113 } 1114 1114 Expr _ve_break = Expr.empty; … … 1122 1122 _vt__dollar_tmp_m_174_m_26 = _ve_break__label.subexpr (0, 1); 1123 1123 Result _ge_auxcall27 = new Result (Expr.empty); 1124 refal.plus.CppMangle.Rfp2Cpp (new Expr ((Comparable ) Expr.concat (_c_46, _ve_break__label)), _ge_auxcall27);1125 _ve_break = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_46).toRight (_ge_auxcall27.getExpr ()).toRight (_c_47).yield ());1124 refal.plus.CppMangle.Rfp2Cpp (new Expr ((Comparable<?>) Expr.concat (_c_46, _ve_break__label)), _ge_auxcall27); 1125 _ve_break = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_46).toRight (_ge_auxcall27.getExpr ()).toRight (_c_47).yield ()); 1126 1126 break _block9; 1127 1127 } … … 1130 1130 Result _ge_auxcall28 = new Result (Expr.empty); 1131 1131 Step_To_CPP (_ve_step, _ge_auxcall28); 1132 _ve_cpp__item = Expr.getConcatenator ().toRight ((Comparable ) Expr.getConcatenator ().toRight (_c_48).toRight (_ge_auxcall28.getExpr ()).toRight (_c_36).yield ()).toRight (_ge_body__5).toRight (_ve_break).yield ();1132 _ve_cpp__item = Expr.getConcatenator ().toRight ((Comparable<?>) Expr.getConcatenator ().toRight (_c_48).toRight (_ge_auxcall28.getExpr ()).toRight (_c_36).yield ()).toRight (_ge_body__5).toRight (_ve_break).yield (); 1133 1133 break _block2; 1134 1134 } … … 1169 1169 ASAIL_To_CPP (_ve_body, _ge_auxcall29); 1170 1170 Result _ge_auxcall30 = new Result (Expr.empty); 1171 refal.plus.CppMangle.Rfp2Cpp (new Expr ((Comparable ) Expr.concat (_c_46, _ve_label)), _ge_auxcall30);1172 _ve_cpp__item = Expr.concat ((Comparable ) Expr.getConcatenator ().toRight (_c_43).toRight ((Comparable) _ge_auxcall29.getExpr ()).toRight (_c_8).yield (), (Comparable) Expr.getConcatenator ().toRight (_c_46).toRight (_ge_auxcall30.getExpr ()).toRight (_c_47).yield ());1171 refal.plus.CppMangle.Rfp2Cpp (new Expr ((Comparable<?>) Expr.concat (_c_46, _ve_label)), _ge_auxcall30); 1172 _ve_cpp__item = Expr.concat ((Comparable<?>) Expr.getConcatenator ().toRight (_c_43).toRight ((Comparable<?>) _ge_auxcall29.getExpr ()).toRight (_c_8).yield (), (Comparable<?>) Expr.getConcatenator ().toRight (_c_46).toRight (_ge_auxcall30.getExpr ()).toRight (_c_47).yield ()); 1173 1173 break _block2; 1174 1174 } … … 1194 1194 Result _ge_auxcall31 = new Result (Expr.empty); 1195 1195 ASAIL_To_CPP (_ve_body, _ge_auxcall31); 1196 _ve_cpp__item = Expr.concat (_c_50, (Comparable ) Expr.getConcatenator ().toRight (_c_43).toRight ((Comparable) _ge_auxcall31.getExpr ()).toRight (_c_8).yield ());1196 _ve_cpp__item = Expr.concat (_c_50, (Comparable<?>) Expr.getConcatenator ().toRight (_c_43).toRight ((Comparable<?>) _ge_auxcall31.getExpr ()).toRight (_c_8).yield ()); 1197 1197 break _block2; 1198 1198 } … … 1218 1218 Result _ge_auxcall32 = new Result (Expr.empty); 1219 1219 ASAIL_To_CPP (_ve_body, _ge_auxcall32); 1220 _ve_cpp__item = Expr.concat (_c_53, (Comparable ) Expr.getConcatenator ().toRight (_c_43).toRight ((Comparable) Expr.concat (_c_52, _ge_auxcall32.getExpr ())).toRight (_c_8).yield ());1220 _ve_cpp__item = Expr.concat (_c_53, (Comparable<?>) Expr.getConcatenator ().toRight (_c_43).toRight ((Comparable<?>) Expr.concat (_c_52, _ge_auxcall32.getExpr ())).toRight (_c_8).yield ()); 1221 1221 break _block2; 1222 1222 } … … 1317 1317 Result _ge_auxcall36 = new Result (Expr.empty); 1318 1318 refal.plus.CppMangle.Rfp2Cpp (_vt_var2, _ge_auxcall36); 1319 _ve_cpp__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_59).toRight (_ge_auxcall33.getExpr ()).toRight (_c_37).toRight (_ge_auxcall34.getExpr ()).toRight (_c_37).toRight (_ge_auxcall35.getExpr ()).toRight (_c_37).toRight (_ge_auxcall36.getExpr ()).toRight (_c_6).yield ());1319 _ve_cpp__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_59).toRight (_ge_auxcall33.getExpr ()).toRight (_c_37).toRight (_ge_auxcall34.getExpr ()).toRight (_c_37).toRight (_ge_auxcall35.getExpr ()).toRight (_c_37).toRight (_ge_auxcall36.getExpr ()).toRight (_c_6).yield ()); 1320 1320 break _block2; 1321 1321 } … … 1365 1365 Result _ge_auxcall40 = new Result (Expr.empty); 1366 1366 refal.plus.CppMangle.Rfp2Cpp (_vt_var2, _ge_auxcall40); 1367 _ve_cpp__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_61).toRight (_ge_auxcall37.getExpr ()).toRight (_c_37).toRight (_ge_auxcall38.getExpr ()).toRight (_c_37).toRight (_ge_auxcall39.getExpr ()).toRight (_c_37).toRight (_ge_auxcall40.getExpr ()).toRight (_c_6).yield ());1367 _ve_cpp__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_61).toRight (_ge_auxcall37.getExpr ()).toRight (_c_37).toRight (_ge_auxcall38.getExpr ()).toRight (_c_37).toRight (_ge_auxcall39.getExpr ()).toRight (_c_37).toRight (_ge_auxcall40.getExpr ()).toRight (_c_6).yield ()); 1368 1368 break _block2; 1369 1369 } … … 1411 1411 Result _ge_auxcall42 = new Result (Expr.empty); 1412 1412 Expr_Int_To_CPP (_ve_expr, _ge_auxcall42); 1413 _ve_cpp__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_ge_auxcall41.getExpr ()).toRight (_c_14).toRight (_ge_auxcall42.getExpr ()).toRight (_c_13).yield ());1413 _ve_cpp__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_ge_auxcall41.getExpr ()).toRight (_c_14).toRight (_ge_auxcall42.getExpr ()).toRight (_c_13).yield ()); 1414 1414 break _block2; 1415 1415 } … … 1439 1439 Result _ge_auxcall44 = new Result (Expr.empty); 1440 1440 Expr_Ref_To_CPP (_ve_expr, _ge_auxcall44); 1441 _ve_cpp__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_ge_auxcall43.getExpr ()).toRight (_c_14).toRight (_ge_auxcall44.getExpr ()).toRight (_c_13).yield ());1441 _ve_cpp__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_ge_auxcall43.getExpr ()).toRight (_c_14).toRight (_ge_auxcall44.getExpr ()).toRight (_c_13).yield ()); 1442 1442 break _block2; 1443 1443 } … … 1485 1485 Result _ge_auxcall46 = new Result (Expr.empty); 1486 1486 Expr_Int_To_CPP (_ve_expr, _ge_auxcall46); 1487 _ve_cpp__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_64).toRight (_ge_auxcall45.getExpr ()).toRight (_c_14).toRight (_ge_auxcall46.getExpr ()).toRight (_c_13).yield ());1487 _ve_cpp__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_64).toRight (_ge_auxcall45.getExpr ()).toRight (_c_14).toRight (_ge_auxcall46.getExpr ()).toRight (_c_13).yield ()); 1488 1488 break _block2; 1489 1489 } … … 1512 1512 Result _ge_auxcall47 = new Result (Expr.empty); 1513 1513 refal.plus.CppMangle.Rfp2Cpp (_vt_var, _ge_auxcall47); 1514 _ve_cpp__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_65).toRight (_ge_auxcall47.getExpr ()).toRight (_c_13).yield ());1514 _ve_cpp__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_65).toRight (_ge_auxcall47.getExpr ()).toRight (_c_13).yield ()); 1515 1515 break _block2; 1516 1516 } … … 1546 1546 Result _ge_auxcall49 = new Result (Expr.empty); 1547 1547 Expr_Ref_To_CPP (_ve_expr, _ge_auxcall49); 1548 _ve_cpp__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_65).toRight (_ge_auxcall48.getExpr ()).toRight (_c_66).toRight (_ge_auxcall49.getExpr ()).toRight (_c_6).yield ());1548 _ve_cpp__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_65).toRight (_ge_auxcall48.getExpr ()).toRight (_c_66).toRight (_ge_auxcall49.getExpr ()).toRight (_c_6).yield ()); 1549 1549 break _block2; 1550 1550 } … … 1567 1567 Result _ge_auxcall50 = new Result (Expr.empty); 1568 1568 refal.plus.CppMangle.Rfp2Cpp (_vt_var, _ge_auxcall50); 1569 _ve_cpp__item = new Expr ((Comparable ) Expr.concat (_ge_auxcall50.getExpr (), _c_68));1569 _ve_cpp__item = new Expr ((Comparable<?>) Expr.concat (_ge_auxcall50.getExpr (), _c_68)); 1570 1570 break _block2; 1571 1571 } … … 1587 1587 _vt_label = _v_deref__item20.subexpr ((0 + 1), 1); 1588 1588 Result _ge_auxcall51 = new Result (Expr.empty); 1589 refal.plus.CppMangle.Rfp2Cpp (new Expr ((Comparable ) Expr.concat (_c_46, _vt_label)), _ge_auxcall51);1590 _ve_cpp__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_70).toRight (_ge_auxcall51.getExpr ()).toRight (_c_13).yield ());1589 refal.plus.CppMangle.Rfp2Cpp (new Expr ((Comparable<?>) Expr.concat (_c_46, _vt_label)), _ge_auxcall51); 1590 _ve_cpp__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_70).toRight (_ge_auxcall51.getExpr ()).toRight (_c_13).yield ()); 1591 1591 break _block2; 1592 1592 } … … 1608 1608 _vt_label = _v_deref__item21.subexpr ((0 + 1), 1); 1609 1609 Result _ge_auxcall52 = new Result (Expr.empty); 1610 refal.plus.CppMangle.Rfp2Cpp (new Expr ((Comparable ) Expr.concat (_c_46, _vt_label)), _ge_auxcall52);1611 _ve_cpp__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_70).toRight (_ge_auxcall52.getExpr ()).toRight (_c_13).yield ());1610 refal.plus.CppMangle.Rfp2Cpp (new Expr ((Comparable<?>) Expr.concat (_c_46, _vt_label)), _ge_auxcall52); 1611 _ve_cpp__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_70).toRight (_ge_auxcall52.getExpr ()).toRight (_c_13).yield ()); 1612 1612 break _block2; 1613 1613 } … … 1633 1633 Result _ge_auxcall53 = new Result (Expr.empty); 1634 1634 Expr_Ref_To_CPP (_ve_expr, _ge_auxcall53); 1635 _ve_cpp__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_72).toRight (_ge_auxcall53.getExpr ()).toRight (_c_6).yield ());1635 _ve_cpp__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_72).toRight (_ge_auxcall53.getExpr ()).toRight (_c_6).yield ()); 1636 1636 break _block2; 1637 1637 } … … 1659 1659 Expr _v_deref__deref__item232 = (Expr) _v_deref__item23.at ((0 + 1 + 1)); 1660 1660 Expr _v_deref__deref__item233 = (Expr) _v_deref__item23.at ((0 + 1 + 1 + 1)); 1661 int _v_len85 = _v_deref__deref__item23 3.length ();1661 int _v_len85 = _v_deref__deref__item232.length (); 1662 1662 int _v_len86 = 0; 1663 1663 if (_v_len85 < _v_len86) … … 1665 1665 break _block2__branch25; 1666 1666 } 1667 int _v_len__ comment= (_v_len85 - _v_len86);1668 int _v_len87 = _v_deref__deref__item23 2.length ();1667 int _v_len__name4 = (_v_len85 - _v_len86); 1668 int _v_len87 = _v_deref__deref__item233.length (); 1669 1669 int _v_len88 = 0; 1670 1670 if (_v_len87 < _v_len88) … … 1672 1672 break _block2__branch25; 1673 1673 } 1674 int _v_len__ name4= (_v_len87 - _v_len88);1674 int _v_len__comment = (_v_len87 - _v_len88); 1675 1675 if (!_c_73.equals (_v_deref__item23, 0)) 1676 1676 { … … 1700 1700 Result _gs_auxcall55 = new Result (Expr.empty); 1701 1701 refal.plus.Convert.ToWord (_ge_auxcall54.getExpr (), _gs_auxcall55); 1702 refal.plus.Table.Bind (Unavailable_Imports, _ve_name, Expr.getConcatenator ().toRight (_c_75).toRight ((Comparable ) _gs_auxcall55.getExpr ()).toRight (_c_74).toRight (_ve_expr).yield ());1702 refal.plus.Table.Bind (Unavailable_Imports, _ve_name, Expr.getConcatenator ().toRight (_c_75).toRight ((Comparable<?>) _gs_auxcall55.getExpr ()).toRight (_c_74).toRight (_ve_expr).yield ()); 1703 1703 _ve_cpp__item = Expr.empty; 1704 1704 break _block2; … … 1800 1800 Result _ge_auxcall59 = new Result (Expr.empty); 1801 1801 Const_Expr_To_CPP (_ve_expr, _ge_auxcall59); 1802 refal.plus.Box.Put (Const_Exprs, new Expr ((Comparable ) Expr.concat (_vt_name, (Comparable) _ge_auxcall59.getExpr ())));1802 refal.plus.Box.Put (Const_Exprs, new Expr ((Comparable<?>) Expr.concat (_vt_name, (Comparable<?>) _ge_auxcall59.getExpr ()))); 1803 1803 Result _ge_auxcall60 = new Result (Expr.empty); 1804 1804 Namespace_Control (_ve_qualifiers, _ge_auxcall60); … … 1808 1808 break _block1__branch1; 1809 1809 } 1810 _ve_cpp__item = Expr.concat (_ge_auxcall60.getExpr (), (Comparable ) Expr.getConcatenator ().toRight (_ge_linkage__5).toRight (_c_65).toRight (_ge_auxcall61.getExpr ()).toRight (_c_13).yield ());1810 _ve_cpp__item = Expr.concat (_ge_auxcall60.getExpr (), (Comparable<?>) Expr.getConcatenator ().toRight (_ge_linkage__5).toRight (_c_65).toRight (_ge_auxcall61.getExpr ()).toRight (_c_13).yield ()); 1811 1811 break _block2; 1812 1812 } … … 1878 1878 break _block14__branch1; 1879 1879 } 1880 refal.plus.Box.Put (Const_Exprs, new Expr ((Comparable ) Expr.concat (_vt_name, (Comparable) Expr.getConcatenator ().toRight (_c_83).toRight (_ve_n.getExpr ()).toRight (_c_82).yield ())));1880 refal.plus.Box.Put (Const_Exprs, new Expr ((Comparable<?>) Expr.concat (_vt_name, (Comparable<?>) Expr.getConcatenator ().toRight (_c_83).toRight (_ve_n.getExpr ()).toRight (_c_82).yield ()))); 1881 1881 break _block14; 1882 1882 } 1883 1883 Result _ge_auxcall62 = new Result (Expr.empty); 1884 1884 refal.plus.Convert.ToLower (_ve_2, _ge_auxcall62); 1885 refal.plus.Box.Put (Const_Exprs, new Expr ((Comparable ) Expr.concat (_vt_name, (Comparable) Expr.getConcatenator ().toRight (_c_85).toRight (_vs_1).toRight (_ge_auxcall62.getExpr ()).toRight (_c_84).toRight (_ve_n.getExpr ()).toRight (_c_82).yield ())));1885 refal.plus.Box.Put (Const_Exprs, new Expr ((Comparable<?>) Expr.concat (_vt_name, (Comparable<?>) Expr.getConcatenator ().toRight (_c_85).toRight (_vs_1).toRight (_ge_auxcall62.getExpr ()).toRight (_c_84).toRight (_ve_n.getExpr ()).toRight (_c_82).yield ()))); 1886 1886 } 1887 1887 Result _ge_auxcall63 = new Result (Expr.empty); … … 1889 1889 Result _ge_auxcall64 = new Result (Expr.empty); 1890 1890 Name_To_CPP (_c_12, _vt_name, _ge_auxcall64); 1891 _ve_cpp__item = Expr.concat (_ge_auxcall63.getExpr (), (Comparable ) Expr.getConcatenator ().toRight (_ge_linkage__5).toRight (_c_65).toRight (_ge_auxcall64.getExpr ()).toRight (_c_13).yield ());1891 _ve_cpp__item = Expr.concat (_ge_auxcall63.getExpr (), (Comparable<?>) Expr.getConcatenator ().toRight (_ge_linkage__5).toRight (_c_65).toRight (_ge_auxcall64.getExpr ()).toRight (_c_13).yield ()); 1892 1892 break _block2; 1893 1893 } … … 1915 1915 Result _ge_auxcall66 = new Result (Expr.empty); 1916 1916 Name_To_CPP (_c_12, _vt_name, _ge_auxcall66); 1917 _ve_cpp__item = Expr.concat (_ge_auxcall65.getExpr (), (Comparable ) Expr.getConcatenator ().toRight (_c_86).toRight (_ge_auxcall66.getExpr ()).toRight (_c_13).yield ());1917 _ve_cpp__item = Expr.concat (_ge_auxcall65.getExpr (), (Comparable<?>) Expr.getConcatenator ().toRight (_c_86).toRight (_ge_auxcall66.getExpr ()).toRight (_c_13).yield ()); 1918 1918 break _block2; 1919 1919 } … … 1941 1941 Result _ge_auxcall68 = new Result (Expr.empty); 1942 1942 Name_To_CPP (_c_31, _vt_name, _ge_auxcall68); 1943 _ve_cpp__item = Expr.concat (_ge_auxcall67.getExpr (), (Comparable ) Expr.getConcatenator ().toRight (_c_87).toRight (_ge_auxcall68.getExpr ()).toRight (_c_6).yield ());1943 _ve_cpp__item = Expr.concat (_ge_auxcall67.getExpr (), (Comparable<?>) Expr.getConcatenator ().toRight (_c_87).toRight (_ge_auxcall68.getExpr ()).toRight (_c_6).yield ()); 1944 1944 break _block2; 1945 1945 } … … 1968 1968 Result _ge_auxcall70 = new Result (Expr.empty); 1969 1969 Name_To_CPP (_c_31, _vt_name, _ge_auxcall70); 1970 _ve_cpp__item = Expr.concat (_ge_auxcall69.getExpr (), (Comparable ) Expr.getConcatenator ().toRight (_c_87).toRight (_ge_auxcall70.getExpr ()).toRight (_c_6).yield ());1970 _ve_cpp__item = Expr.concat (_ge_auxcall69.getExpr (), (Comparable<?>) Expr.getConcatenator ().toRight (_c_87).toRight (_ge_auxcall70.getExpr ()).toRight (_c_6).yield ()); 1971 1971 break _block2; 1972 1972 } … … 1990 1990 Expr _v_deref__deref__item29 = (Expr) _v_deref__item29.at ((0 + 1 + 1)); 1991 1991 Expr _v_deref__deref__item292 = (Expr) _v_deref__item29.at ((0 + 1 + 1 + 1)); 1992 int _v_len99 = _v_deref__deref__item29 2.length ();1992 int _v_len99 = _v_deref__deref__item29.length (); 1993 1993 int _v_len100 = 0; 1994 1994 if (_v_len99 < _v_len100) … … 1996 1996 throw new RefalException ("org.refal.plus.compiler.rfp_asail_cpp", "ASAIL_To_CPP", "Unexpected fail"); 1997 1997 } 1998 int _v_len__ ress3= (_v_len99 - _v_len100);1999 int _v_len101 = _v_deref__deref__item29 .length ();1998 int _v_len__exprs = (_v_len99 - _v_len100); 1999 int _v_len101 = _v_deref__deref__item292.length (); 2000 2000 int _v_len102 = 0; 2001 2001 if (_v_len101 < _v_len102) … … 2003 2003 throw new RefalException ("org.refal.plus.compiler.rfp_asail_cpp", "ASAIL_To_CPP", "Unexpected fail"); 2004 2004 } 2005 int _v_len__ exprs= (_v_len101 - _v_len102);2005 int _v_len__ress3 = (_v_len101 - _v_len102); 2006 2006 if (!_v_deref__item29.isSymbolAt (0)) 2007 2007 { … … 2057 2057 Result _ge_auxcall74 = new Result (Expr.empty); 2058 2058 Trace_Exit (_ve_full__name, _ve_ress, _ge_auxcall74); 2059 _ve_cpp__item = Expr.getConcatenator ().toRight ((Comparable ) Expr.getConcatenator ().toRight (_c_92).toRight (_ge_auxcall71.getExpr ()).toRight (_c_37).toRight (_ge_auxcall72.getExpr ()).toRight (_c_37).toRight (_ge_auxcall73.getExpr ()).toRight (_c_91).yield ()).toRight ((Comparable) Expr.getConcatenator ().toRight (_c_43).toRight ((Comparable) Expr.concat (_ge_auxcall74.getExpr (), _c_93)).toRight (_c_8).yield ()).toRight (_c_94).yield ();2059 _ve_cpp__item = Expr.getConcatenator ().toRight ((Comparable<?>) Expr.getConcatenator ().toRight (_c_92).toRight (_ge_auxcall71.getExpr ()).toRight (_c_37).toRight (_ge_auxcall72.getExpr ()).toRight (_c_37).toRight (_ge_auxcall73.getExpr ()).toRight (_c_91).yield ()).toRight ((Comparable<?>) Expr.getConcatenator ().toRight (_c_43).toRight ((Comparable<?>) Expr.concat (_ge_auxcall74.getExpr (), _c_93)).toRight (_c_8).yield ()).toRight (_c_94).yield (); 2060 2060 break _block15; 2061 2061 } … … 2078 2078 Result _ge_auxcall77 = new Result (Expr.empty); 2079 2079 Args_To_CPP (Expr.empty, _c_33, _ve_ress, _ge_auxcall77); 2080 _ve_cpp__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_97).toRight (_gs_call__7).toRight (_c_66).toRight (_ge_auxcall75.getExpr ()).toRight (_c_37).toRight (_ge_auxcall76.getExpr ()).toRight (_c_37).toRight (_ge_auxcall77.getExpr ()).toRight (_c_6).yield ());2080 _ve_cpp__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_97).toRight (_gs_call__7).toRight (_c_66).toRight (_ge_auxcall75.getExpr ()).toRight (_c_37).toRight (_ge_auxcall76.getExpr ()).toRight (_c_37).toRight (_ge_auxcall77.getExpr ()).toRight (_c_6).yield ()); 2081 2081 } 2082 2082 } … … 2223 2223 Expr _v_deref__deref__arg13 = (Expr) _v_deref__arg13.at ((0 + 1 + _v_len__expr3)); 2224 2224 Expr _v_deref__deref__arg132 = (Expr) _v_deref__arg13.at ((0 + 1 + _v_len__expr3 + 1)); 2225 int _v_len9 = _v_deref__deref__arg13 2.length ();2225 int _v_len9 = _v_deref__deref__arg13.length (); 2226 2226 int _v_len10 = 0; 2227 2227 if (_v_len9 < _v_len10) … … 2229 2229 break _block1__branch3; 2230 2230 } 2231 int _v_len__ len= (_v_len9 - _v_len10);2232 int _v_len11 = _v_deref__deref__arg13 .length ();2231 int _v_len__pos2 = (_v_len9 - _v_len10); 2232 int _v_len11 = _v_deref__deref__arg132.length (); 2233 2233 int _v_len12 = 0; 2234 2234 if (_v_len11 < _v_len12) … … 2236 2236 break _block1__branch3; 2237 2237 } 2238 int _v_len__ pos2= (_v_len11 - _v_len12);2238 int _v_len__len = (_v_len11 - _v_len12); 2239 2239 if (!_c_106.termEquals (_v_deref__arg13, 0)) 2240 2240 { … … 2334 2334 } 2335 2335 Result _v_Rfp2Cpp1 = new Result (Expr.empty); 2336 refal.plus.CppMangle.Rfp2Cpp (new Expr ((Comparable ) Expr.concat (_c_11, _vt_name)), _v_Rfp2Cpp1);2336 refal.plus.CppMangle.Rfp2Cpp (new Expr ((Comparable<?>) Expr.concat (_c_11, _vt_name)), _v_Rfp2Cpp1); 2337 2337 _v_res1.assign (Expr.concat (_ve_prefix, _v_Rfp2Cpp1.getExpr ())); 2338 2338 break _block1; … … 2365 2365 Expr _vt_name = Expr.empty; 2366 2366 _vt_name = _v_deref__arg16.subexpr ((0 + 1 + _v_len__ns), 1); 2367 refal.plus.CppMangle.Rfp2Cpp (new Expr ((Comparable ) Expr.getConcatenator ().toRight (_vs_var__tag).toRight (_ve_ns).toRight (_vt_name).yield ()), _v_res1);2367 refal.plus.CppMangle.Rfp2Cpp (new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_vs_var__tag).toRight (_ve_ns).toRight (_vt_name).yield ()), _v_res1); 2368 2368 break _block1; 2369 2369 } … … 2432 2432 break _block2; 2433 2433 } 2434 throw new RefalException (new Expr ((Comparable ) Expr.concat (_c_114, _vs_ObjectSymbol)));2434 throw new RefalException (new Expr ((Comparable<?>) Expr.concat (_c_114, _vs_ObjectSymbol))); 2435 2435 } 2436 2436 break _block1; … … 2599 2599 Expr _vt_name = Expr.empty; 2600 2600 _vt_name = _v_deref__arg16.subexpr ((0 + 1), 1); 2601 refal.plus.CppMangle.Rfp2Cpp (new Expr ((Comparable ) Expr.concat (_vs_var__tag, _vt_name)), _v_res1);2601 refal.plus.CppMangle.Rfp2Cpp (new Expr ((Comparable<?>) Expr.concat (_vs_var__tag, _vt_name)), _v_res1); 2602 2602 break _block1; 2603 2603 } … … 2643 2643 Expr _v_deref__deref__deref__arg1 = (Expr) _v_deref__deref__arg1.at ((0 + 1 + 1)); 2644 2644 Expr _v_deref__deref__deref__arg12 = (Expr) _v_deref__deref__arg1.at ((0 + 1 + 1 + 1)); 2645 int _v_len1 = _v_deref__deref__deref__arg1 2.length ();2645 int _v_len1 = _v_deref__deref__deref__arg1.length (); 2646 2646 int _v_len2 = 0; 2647 2647 if (_v_len1 < _v_len2) … … 2649 2649 break _block1__branch1; 2650 2650 } 2651 int _v_len__ ress = (_v_len1 - _v_len2);2652 int _v_len3 = _v_deref__deref__deref__arg1 .length ();2651 int _v_len__exprs = (_v_len1 - _v_len2); 2652 int _v_len3 = _v_deref__deref__deref__arg12.length (); 2653 2653 int _v_len4 = 0; 2654 2654 if (_v_len3 < _v_len4) … … 2656 2656 break _block1__branch1; 2657 2657 } 2658 int _v_len__ exprs = (_v_len3 - _v_len4);2658 int _v_len__ress = (_v_len3 - _v_len4); 2659 2659 if (!_c_124.termEquals (_v_deref__arg1, 0)) 2660 2660 { … … 2743 2743 Expr _v_deref__deref__arg13 = (Expr) _v_deref__arg13.at ((0 + 1 + _v_len__expr2)); 2744 2744 Expr _v_deref__deref__arg132 = (Expr) _v_deref__arg13.at ((0 + 1 + _v_len__expr2 + 1)); 2745 int _v_len11 = _v_deref__deref__arg13 2.length ();2745 int _v_len11 = _v_deref__deref__arg13.length (); 2746 2746 int _v_len12 = 0; 2747 2747 if (_v_len11 < _v_len12) … … 2749 2749 break _block1__branch3; 2750 2750 } 2751 int _v_len__ len= (_v_len11 - _v_len12);2752 int _v_len13 = _v_deref__deref__arg13 .length ();2751 int _v_len__pos2 = (_v_len11 - _v_len12); 2752 int _v_len13 = _v_deref__deref__arg132.length (); 2753 2753 int _v_len14 = 0; 2754 2754 if (_v_len13 < _v_len14) … … 2756 2756 break _block1__branch3; 2757 2757 } 2758 int _v_len__ pos2= (_v_len13 - _v_len14);2758 int _v_len__len = (_v_len13 - _v_len14); 2759 2759 if (!_c_128.termEquals (_v_deref__arg13, 0)) 2760 2760 { … … 2823 2823 Expr _v_deref__deref__arg15 = (Expr) _v_deref__arg15.at ((0 + 1 + _v_len__expr1)); 2824 2824 Expr _v_deref__deref__arg152 = (Expr) _v_deref__arg15.at ((0 + 1 + _v_len__expr1 + 1)); 2825 int _v_len19 = _v_deref__deref__arg15 2.length ();2825 int _v_len19 = _v_deref__deref__arg15.length (); 2826 2826 int _v_len20 = 0; 2827 2827 if (_v_len19 < _v_len20) … … 2829 2829 break _block1__branch5; 2830 2830 } 2831 int _v_len__ pos3= (_v_len19 - _v_len20);2832 int _v_len21 = _v_deref__deref__arg15 .length ();2831 int _v_len__expr22 = (_v_len19 - _v_len20); 2832 int _v_len21 = _v_deref__deref__arg152.length (); 2833 2833 int _v_len22 = 0; 2834 2834 if (_v_len21 < _v_len22) … … 2836 2836 break _block1__branch5; 2837 2837 } 2838 int _v_len__ expr22= (_v_len21 - _v_len22);2838 int _v_len__pos3 = (_v_len21 - _v_len22); 2839 2839 if (!_c_132.termEquals (_v_deref__arg15, 0)) 2840 2840 { … … 2879 2879 Expr _v_deref__deref__arg16 = (Expr) _v_deref__arg16.at ((0 + 1 + _v_len__expr12)); 2880 2880 Expr _v_deref__deref__arg162 = (Expr) _v_deref__arg16.at ((0 + 1 + _v_len__expr12 + 1)); 2881 int _v_len25 = _v_deref__deref__arg16 2.length ();2881 int _v_len25 = _v_deref__deref__arg16.length (); 2882 2882 int _v_len26 = 0; 2883 2883 if (_v_len25 < _v_len26) … … 2885 2885 break _block1__branch6; 2886 2886 } 2887 int _v_len__ pos4= (_v_len25 - _v_len26);2888 int _v_len27 = _v_deref__deref__arg16 .length ();2887 int _v_len__expr23 = (_v_len25 - _v_len26); 2888 int _v_len27 = _v_deref__deref__arg162.length (); 2889 2889 int _v_len28 = 0; 2890 2890 if (_v_len27 < _v_len28) … … 2892 2892 break _block1__branch6; 2893 2893 } 2894 int _v_len__ expr23= (_v_len27 - _v_len28);2894 int _v_len__pos4 = (_v_len27 - _v_len28); 2895 2895 if (!_c_134.termEquals (_v_deref__arg16, 0)) 2896 2896 { … … 2972 2972 _block2: { 2973 2973 _block2__branch1: { 2974 int _v_len5 = _ve_ rest.length ();2974 int _v_len5 = _ve_arg.length (); 2975 2975 int _v_len6 = 0; 2976 2976 if (_v_len5 < (_v_len6 + 1)) … … 2978 2978 break _block2__branch1; 2979 2979 } 2980 int _v_len___dollar_tmp_m_368_m_ 28= (_v_len5 - _v_len6);2981 int _v_len7 = _ve_ arg.length ();2980 int _v_len___dollar_tmp_m_368_m_16 = (_v_len5 - _v_len6); 2981 int _v_len7 = _ve_rest.length (); 2982 2982 int _v_len8 = 0; 2983 2983 if (_v_len7 < (_v_len8 + 1)) … … 2985 2985 break _block2__branch1; 2986 2986 } 2987 int _v_len___dollar_tmp_m_368_m_ 16= (_v_len7 - _v_len8);2987 int _v_len___dollar_tmp_m_368_m_28 = (_v_len7 - _v_len8); 2988 2988 Expr _vv__dollar_tmp_m_368_m_16 = Expr.empty; 2989 2989 _vv__dollar_tmp_m_368_m_16 = _ve_arg.subexpr (0, _v_len___dollar_tmp_m_368_m_16); … … 3201 3201 Result _ge_auxcall1 = new Result (Expr.empty); 3202 3202 Symbol_To_CPP (_vs_sym, _ge_auxcall1); 3203 Const_Expr_Aux (Expr.concat ((Comparable ) Expr.concat (_ve_accum, _ge_auxcall1.getExpr ()), _ve_rest), _v_res1);3203 Const_Expr_Aux (Expr.concat ((Comparable<?>) Expr.concat (_ve_accum, _ge_auxcall1.getExpr ()), _ve_rest), _v_res1); 3204 3204 break _block1; 3205 3205 } … … 3513 3513 break _block1__branch1; 3514 3514 } 3515 Expr _v_compose1 = Expr.getConcatenator ().toRight ((Comparable ) _ge_arg1).toRight (_gs_arg2).toRight (_ge_arg3).yield ();3515 Expr _v_compose1 = Expr.getConcatenator ().toRight ((Comparable<?>) _ge_arg1).toRight (_gs_arg2).toRight (_ge_arg3).yield (); 3516 3516 if (_v_compose1.isSymbolAt (0)) 3517 3517 { … … 3540 3540 break _block1__branch2; 3541 3541 } 3542 Expr _v_compose2 = Expr.getConcatenator ().toRight ((Comparable ) _ge_arg1).toRight (_gs_arg2).toRight (_ge_arg3).yield ();3542 Expr _v_compose2 = Expr.getConcatenator ().toRight ((Comparable<?>) _ge_arg1).toRight (_gs_arg2).toRight (_ge_arg3).yield (); 3543 3543 if (!_c_163.equals (_v_compose2, 0)) 3544 3544 { … … 3553 3553 break _block1__branch3; 3554 3554 } 3555 Expr _v_compose3 = Expr.getConcatenator ().toRight ((Comparable ) _ge_arg1).toRight (_gs_arg2).toRight (_ge_arg3).yield ();3555 Expr _v_compose3 = Expr.getConcatenator ().toRight ((Comparable<?>) _ge_arg1).toRight (_gs_arg2).toRight (_ge_arg3).yield (); 3556 3556 if (_v_compose3.isSymbolAt ((0 + 1 + 1))) 3557 3557 { … … 3572 3572 Expr _ve_arg = Expr.empty; 3573 3573 _ve_arg = _v_deref__compose3.subexpr (0, _v_len__arg); 3574 refal.plus.CppMangle.Rfp2Cpp (new Expr ((Comparable ) _ve_arg), _v_res1);3574 refal.plus.CppMangle.Rfp2Cpp (new Expr ((Comparable<?>) _ve_arg), _v_res1); 3575 3575 break _block1; 3576 3576 } … … 3580 3580 break _block1__branch4; 3581 3581 } 3582 Expr _v_compose4 = Expr.getConcatenator ().toRight ((Comparable ) _ge_arg1).toRight (_gs_arg2).toRight (_ge_arg3).yield ();3582 Expr _v_compose4 = Expr.getConcatenator ().toRight ((Comparable<?>) _ge_arg1).toRight (_gs_arg2).toRight (_ge_arg3).yield (); 3583 3583 if (_v_compose4.isSymbolAt (0)) 3584 3584 { … … 3607 3607 break _block1__branch5; 3608 3608 } 3609 Expr _v_compose5 = Expr.getConcatenator ().toRight ((Comparable ) _ge_arg1).toRight (_gs_arg2).toRight (_ge_arg3).yield ();3609 Expr _v_compose5 = Expr.getConcatenator ().toRight ((Comparable<?>) _ge_arg1).toRight (_gs_arg2).toRight (_ge_arg3).yield (); 3610 3610 if (_v_compose5.isSymbolAt (0)) 3611 3611 { … … 3618 3618 Expr _v_deref__compose5 = (Expr) _v_compose5.at (0); 3619 3619 Expr _v_deref__compose52 = (Expr) _v_compose5.at ((0 + 1 + 1)); 3620 int _v_len7 = _v_deref__compose5 2.length ();3620 int _v_len7 = _v_deref__compose5.length (); 3621 3621 int _v_len8 = 0; 3622 3622 if (_v_len7 < _v_len8) … … 3624 3624 break _block1__branch5; 3625 3625 } 3626 int _v_len__ arg2= (_v_len7 - _v_len8);3627 int _v_len9 = _v_deref__compose5 .length ();3626 int _v_len__prefix3 = (_v_len7 - _v_len8); 3627 int _v_len9 = _v_deref__compose52.length (); 3628 3628 int _v_len10 = 0; 3629 3629 if (_v_len9 < _v_len10) … … 3631 3631 break _block1__branch5; 3632 3632 } 3633 int _v_len__ prefix3= (_v_len9 - _v_len10);3633 int _v_len__arg2 = (_v_len9 - _v_len10); 3634 3634 if (!_c_90.termEquals (_v_compose5, (0 + 1))) 3635 3635 { … … 3654 3654 _block2: { 3655 3655 _block2__branch1: { 3656 Expr _v_compose6 = Expr.concat ((Comparable ) _ge_arg1, _gs_arg2);3656 Expr _v_compose6 = Expr.concat ((Comparable<?>) _ge_arg1, _gs_arg2); 3657 3657 if (!_c_90.termEquals (_v_compose6, (0 + 1))) 3658 3658 { … … 3665 3665 } 3666 3666 _block2__branch2: { 3667 Expr _v_compose7 = Expr.concat ((Comparable ) _ge_arg1, _gs_arg2);3667 Expr _v_compose7 = Expr.concat ((Comparable<?>) _ge_arg1, _gs_arg2); 3668 3668 if (!_c_163.equals (_v_compose7, 0)) 3669 3669 { … … 3674 3674 } 3675 3675 _block2__branch3: { 3676 Expr _v_compose8 = Expr.concat ((Comparable ) _ge_arg1, _gs_arg2);3676 Expr _v_compose8 = Expr.concat ((Comparable<?>) _ge_arg1, _gs_arg2); 3677 3677 if (_v_compose8.isSymbolAt (0)) 3678 3678 { … … 3703 3703 } 3704 3704 int _v_len___dollar_tmp_m_474_m_8 = (_v_len13 - _v_len14); 3705 Expr _v_compose9 = Expr.concat ((Comparable ) _ge_arg1, _gs_arg2);3705 Expr _v_compose9 = Expr.concat ((Comparable<?>) _ge_arg1, _gs_arg2); 3706 3706 Expr _ve__dollar_tmp_m_474_m_8 = Expr.empty; 3707 3707 _ve__dollar_tmp_m_474_m_8 = _v_compose9.subexpr (0, _v_len___dollar_tmp_m_474_m_8); … … 3757 3757 } 3758 3758 Result _ge_auxcall1 = new Result (Expr.empty); 3759 refal.plus.CppMangle.Rfp2Cpp (new Expr ((Comparable ) _ve_arg), _ge_auxcall1);3759 refal.plus.CppMangle.Rfp2Cpp (new Expr ((Comparable<?>) _ve_arg), _ge_auxcall1); 3760 3760 _ge_arg3__2 = _ve_rest; 3761 3761 _ve_cpp__args = Expr.getConcatenator ().toRight (_ve_cpp__args).toRight (_ge_auxcall1.getExpr ()).toRight (_ve_comma).yield (); … … 3854 3854 Expr _ve_cont = Expr.empty; 3855 3855 _ve_cont = _ve_name.subexpr ((0 + 1 + 1), _v_len__cont2); 3856 refal.plus.Table.Bind (Decls, Expr.concat (_vs_decl__type, (Comparable ) Expr.concat (_c_167, _ve_cont)), Expr.empty);3856 refal.plus.Table.Bind (Decls, Expr.concat (_vs_decl__type, (Comparable<?>) Expr.concat (_c_167, _ve_cont)), Expr.empty); 3857 3857 QName_To_Cpp (Expr.concat (_c_167, _ve_cont), _v_res1); 3858 3858 break _block1; … … 3860 3860 Result _ve_namespace = new Result (Expr.empty); 3861 3861 refal.plus.Box.Get (Current_Namespace, _ve_namespace); 3862 refal.plus.Table.Bind (Decls, Expr.concat (_vs_decl__type, (Comparable ) _ve_name), Expr.empty);3862 refal.plus.Table.Bind (Decls, Expr.concat (_vs_decl__type, (Comparable<?>) _ve_name), Expr.empty); 3863 3863 _block2: { 3864 3864 _block2__branch1: { … … 3893 3893 static void Open_Namespace (Expr _ve_name, Result _v_res1) throws RefalException 3894 3894 { 3895 _v_res1.assign (new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_169).toRight (_ve_name).toRight (_c_168).yield ()));3895 _v_res1.assign (new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_169).toRight (_ve_name).toRight (_c_168).yield ())); 3896 3896 } 3897 3897 … … 3976 3976 break _iter1; 3977 3977 } 3978 _v_res1.assign (Expr.concat ((Comparable ) Expr.getConcatenator ().toRight (_c_173).toRight (_ve_name).toRight (_c_172).yield (), _ve_pr__args));3978 _v_res1.assign (Expr.concat ((Comparable<?>) Expr.getConcatenator ().toRight (_c_173).toRight (_ve_name).toRight (_c_172).yield (), _ve_pr__args)); 3979 3979 break _exit__iter1; 3980 3980 } … … 4022 4022 _ge_args__0 = _ve_rest; 4023 4023 _vs_n = _gs_auxcall1.getExpr (); 4024 _ve_pr__args = Expr.concat (_ve_pr__args, (Comparable ) Expr.getConcatenator ().toRight (_c_177).toRight (_ve_num).toRight (_c_66).toRight (_ge_auxcall2.getExpr ()).toRight (_c_176).yield ());4024 _ve_pr__args = Expr.concat (_ve_pr__args, (Comparable<?>) Expr.getConcatenator ().toRight (_c_177).toRight (_ve_num).toRight (_c_66).toRight (_ge_auxcall2.getExpr ()).toRight (_c_176).yield ()); 4025 4025 } 4026 4026 } … … 4039 4039 break _iter1; 4040 4040 } 4041 _v_res1.assign (Expr.concat ((Comparable ) Expr.getConcatenator ().toRight (_c_178).toRight (_ve_name).toRight (_c_172).yield (), _ve_pr__args));4041 _v_res1.assign (Expr.concat ((Comparable<?>) Expr.getConcatenator ().toRight (_c_178).toRight (_ve_name).toRight (_c_172).yield (), _ve_pr__args)); 4042 4042 break _exit__iter1; 4043 4043 } … … 4085 4085 _ge_args__0 = _ve_rest; 4086 4086 _vs_n = _gs_auxcall1.getExpr (); 4087 _ve_pr__args = Expr.concat (_ve_pr__args, (Comparable ) Expr.getConcatenator ().toRight (_c_180).toRight (_ve_num).toRight (_c_66).toRight (_ge_auxcall2.getExpr ()).toRight (_c_179).yield ());4087 _ve_pr__args = Expr.concat (_ve_pr__args, (Comparable<?>) Expr.getConcatenator ().toRight (_c_180).toRight (_ve_num).toRight (_c_66).toRight (_ge_auxcall2.getExpr ()).toRight (_c_179).yield ()); 4088 4088 } 4089 4089 } … … 4092 4092 static void Trace_Fail (Expr _ve_name, Result _v_res1) throws RefalException 4093 4093 { 4094 _v_res1.assign (new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_181).toRight (_ve_name).toRight (_c_172).yield ()));4094 _v_res1.assign (new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_181).toRight (_ve_name).toRight (_c_172).yield ())); 4095 4095 } 4096 4096 -
to-imperative/trunk/java/compiler/org/refal/plus/compiler/rfp_asail_java.java
r3370 r3428 39 39 static final Expr _c_10 = Expr.fromSequence (" (new Result ());"); 40 40 static final Expr _c_11 = Expr.fromSequence ("try {"); 41 static final Expr _c_2 31= Expr.fromSequence ("java.lang.System.out.println (\"$error: \" + e);");42 static final Expr _c_12 = Expr.getConcatenator (30).toRight (Expr.fromSequence ("} catch (RefalException e) {")).toRight ((Comparable ) Expr.concat ((Comparable) _c_231, (Comparable) Expr.fromSequence ("java.lang.System.exit (100);"))).toRight (Expr.fromSequence ("}")).yield ();41 static final Expr _c_210 = Expr.fromSequence ("java.lang.System.out.println (\"$error: \" + e);"); 42 static final Expr _c_12 = Expr.getConcatenator (30).toRight (Expr.fromSequence ("} catch (RefalException e) {")).toRight ((Comparable<?>) Expr.concat ((Comparable<?>) _c_210, (Comparable<?>) Expr.fromSequence ("java.lang.System.exit (100);"))).toRight (Expr.fromSequence ("}")).yield (); 43 43 static final Expr _c_13 = Expr.fromSequence ("public void run () {"); 44 44 static final Expr _c_14 = _c_12.subexpr (0, 1); … … 47 47 static final Expr _c_17 = Expr.fromSequence ("new Thread("); 48 48 static final Expr _c_18 = Expr.fromSequence ("public static void main (final java.lang.String[] args) {"); 49 static final Expr _c_19 = new Expr ((Comparable ) Expr.empty);50 static final Expr _c_20 = _c_1 1.subexpr (3, 2);49 static final Expr _c_19 = new Expr ((Comparable<?>) Expr.empty); 50 static final Expr _c_20 = _c_16.subexpr (14, 2); 51 51 static final Expr _c_21 = Expr.fromSequence ("public class "); 52 static final Expr _c_22 = new Expr ((Comparable ) Expr.fromSequence ("import org.refal.plus.*;"));53 static final Expr _c_23 = _c_ 231.subexpr (30, 1);52 static final Expr _c_22 = new Expr ((Comparable<?>) Expr.fromSequence ("import org.refal.plus.*;")); 53 static final Expr _c_23 = _c_8.subexpr (0, 1); 54 54 static final Expr _c_24 = Expr.fromSequence ("\\\""); 55 55 static final Expr _c_26 = Expr.fromSequence ("\\'"); … … 58 58 static final Expr _c_28 = new Expr (Symbol.newWord ("NATIVE")); 59 59 static final Expr _c_29 = new Expr (Symbol.newWord ("FUNC")); 60 static final Expr _c_30 = _c_1 3.subexpr (7, 4);60 static final Expr _c_30 = _c_18.subexpr (14, 4); 61 61 static final Expr _c_31 = new Expr (Symbol.newWord ("FUNC?")); 62 62 static final Expr _c_160 = Expr.fromSequence ("public boolean eval (Expr arg, Result res) throws RefalException {"); 63 63 static final Expr _c_32 = _c_160.subexpr (7, 7); 64 static final Expr _c_232 = Expr.fromSequence ("return true;"); 65 static final Expr _c_33 = new Expr ((Comparable) _c_232); 64 static final Expr _c_33 = new Expr ((Comparable<?>) Expr.fromSequence ("return true;")); 66 65 static final Expr _c_61 = Expr.fromSequence ("\", \"This is for avoiding 'Unreachable code' errors\");"); 67 66 static final Expr _c_34 = _c_61.subexpr (50, 2); … … 70 69 static final Expr _c_37 = new Expr (Symbol.newWord ("Expr")); 71 70 static final Expr _c_38 = _c_160.subexpr (41, 23); 72 static final Expr _c_39 = _c_1 3.subexpr (15, 2);71 static final Expr _c_39 = _c_10.subexpr (0, 2); 73 72 static final Expr _c_40 = _c_39.subexpr (0, 1); 74 73 static final Expr _c_41 = _c_18.subexpr (7, 7); 75 static final Expr _c_42 = _c_ 11.subexpr (4, 1);74 static final Expr _c_42 = _c_20.subexpr (1, 1); 76 75 static final Expr _c_43 = new Expr (Symbol.newWord ("TRACE")); 77 76 static final Expr _c_44 = new Expr (Symbol.newWord ("IF-INT-CMP")); 78 static final Expr _c_45 = _c_ 34.subexpr (1, 1);77 static final Expr _c_45 = _c_10.subexpr (14, 1); 79 78 static final Expr _c_64 = Expr.fromSequence ("if (false)"); 80 79 static final Expr _c_46 = _c_64.subexpr (0, 4); … … 83 82 static final Expr _c_49 = new Expr (Symbol.newWord ("FOR")); 84 83 static final Expr _c_50 = new Expr (Symbol.newWord ("LABEL")); 85 static final Expr _c_51 = _c_2 31.subexpr (37, 2);84 static final Expr _c_51 = _c_210.subexpr (37, 2); 86 85 static final Expr _c_52 = new Expr (Symbol.newWord ("INC-ITER")); 87 86 static final Expr _c_53 = new Expr (Symbol.newWord ("DEC-ITER")); 88 87 static final Expr _c_54 = Expr.fromSequence (".getLeft();"); 89 static final Expr _c_2 33= Expr.fromSequence ("Expr err = error.getExpr ();");90 static final Expr _c_55 = _c_2 33.subexpr (8, 3);91 static final Expr _c_56 = _c_2 33.subexpr (0, 5);88 static final Expr _c_211 = Expr.fromSequence ("Expr err = error.getExpr ();"); 89 static final Expr _c_55 = _c_211.subexpr (8, 3); 90 static final Expr _c_56 = _c_211.subexpr (0, 5); 92 91 static final Expr _c_57 = Expr.fromSequence (".getRight();"); 93 92 static final Expr _c_58 = Expr.fromSequence ("for ( ; ; "); … … 96 95 static final Expr _c_62 = _c_61.subexpr (0, 4); 97 96 static final Expr _c_63 = Expr.fromSequence ("throw new RefalException (\""); 98 static final Expr _c_65 = new Expr ((Comparable ) _c_11.subexpr (0, 3));97 static final Expr _c_65 = new Expr ((Comparable<?>) _c_11.subexpr (0, 3)); 99 98 static final Expr _c_66 = new Expr (Symbol.newWord ("CATCH-ERROR")); 100 static final Expr _c_67 = new Expr ((Comparable ) _c_233);99 static final Expr _c_67 = new Expr ((Comparable<?>) _c_211); 101 100 static final Expr _c_68 = Expr.fromSequence ("catch (RefalException error) {"); 102 101 static final Expr _c_69 = new Expr (Symbol.newWord ("RETFAIL")); 103 static final Expr _c_2 34= Expr.fromSequence ("return false;");104 static final Expr _c_104 = Expr.getConcatenator (5).toRight (Expr.fromSequence (") {")).toRight ((Comparable ) _c_234).toRight (Expr.fromSequence ("}")).yield ();102 static final Expr _c_212 = Expr.fromSequence ("return false;"); 103 static final Expr _c_104 = Expr.getConcatenator (5).toRight (Expr.fromSequence (") {")).toRight ((Comparable<?>) _c_212).toRight (Expr.fromSequence ("}")).yield (); 105 104 static final Expr _c_70 = _c_104.subexpr (3, 1); 106 105 static final Expr _c_71 = new Expr (Symbol.newWord ("FATAL")); … … 108 107 static final Expr _c_73 = new Expr (Symbol.newWord ("LSPLIT")); 109 108 static final Expr _c_74 = Expr.fromSequence ("_va_"); 110 static final Expr _c_75 = _c_ 54.subexpr (9, 2);109 static final Expr _c_75 = _c_10.subexpr (15, 2); 111 110 static final Expr _c_76 = Expr.fromSequence (".leftSplit("); 112 111 static final Expr _c_77 = Expr.fromSequence ("Expr.SplitIterator "); … … 114 113 static final Expr _c_79 = Expr.fromSequence (".rightSplit("); 115 114 static final Expr _c_80 = new Expr (Symbol.newWord ("DECL")); 116 static final Expr _c_216 = Expr.fromSequence ("for (int i = 0; i < tmp_"); 117 static final Expr _c_203 = _c_216.subexpr (0, 20); 118 static final Expr _c_81 = _c_203.subexpr (5, 4); 115 static final Expr _c_81 = Expr.fromSequence ("int "); 119 116 static final Expr _c_82 = new Expr (Symbol.newWord ("ASSIGN")); 120 117 static final Expr _c_107 = Expr.fromSequence (" = new Result ();"); 121 118 static final Expr _c_83 = _c_107.subexpr (0, 15); 122 static final Expr _c_84 = _c_ 83.subexpr (7, 7);119 static final Expr _c_84 = _c_10.subexpr (6, 7); 123 120 static final Expr _c_85 = Expr.fromSequence (".assign ("); 124 121 static final Expr _c_86 = new Expr (Symbol.newWord ("DROP")); … … 135 132 static final Expr _c_97 = new Expr (Symbol.newWord ("OBJ")); 136 133 static final Expr _c_98 = Expr.fromSequence ("\"));"); 137 static final Expr _c_99 = _c_ 63.subexpr (24, 3);134 static final Expr _c_99 = _c_9.subexpr (20, 3); 138 135 static final Expr _c_100 = Expr.fromSequence (" = new Expr (Symbol.new"); 139 136 static final Expr _c_101 = new Expr (Symbol.newWord ("DECL-OBJ")); … … 141 138 static final Expr _c_103 = new Expr (Symbol.newWord ("TAILCALL?")); 142 139 static final Expr _c_105 = Expr.fromSequence ("if (!"); 143 static final Expr _c_106 = _c_2 33.subexpr (16, 12);140 static final Expr _c_106 = _c_211.subexpr (16, 12); 144 141 static final Expr _c_108 = Expr.fromSequence ("Expr.empty"); 145 142 static final Expr _c_109 = new Expr (Symbol.newWord ("PAREN")); 146 static final Expr _c_110 = Expr.fromSequence ("new Expr ((Comparable ) ");143 static final Expr _c_110 = Expr.fromSequence ("new Expr ((Comparable<?>) "); 147 144 static final Expr _c_111 = _c_62.subexpr (1, 2); 148 145 static final Expr _c_112 = Expr.fromSequence ("Expr.concat ("); … … 159 156 static final Expr _c_115 = Expr.fromSequence (".yield ()"); 160 157 static final Expr _c_116 = Expr.fromSequence ("Expr.getConcatenator ()"); 161 static final Expr _c_117 = _c_110.subexpr (10, 1 3);158 static final Expr _c_117 = _c_110.subexpr (10, 16); 162 159 static final Expr _c_118 = new Expr (Symbol.newWord ("DEREF")); 163 160 static final Expr _c_119 = Expr.fromSequence (".at ("); … … 167 164 static final Expr _c_123 = new Expr (Symbol.newWord ("REF")); 168 165 static final Expr _c_124 = new Expr (Symbol.newWord ("ERROR-EXPR")); 169 static final Expr _c_125 = _c_ 233.subexpr (5, 3);166 static final Expr _c_125 = _c_61.subexpr (44, 3); 170 167 static final Expr _c_126 = new Expr (Symbol.newWord ("Illegal int-symbol: ")); 171 168 static final Expr _c_127 = new Expr (Symbol.newWord ("LENGTH")); … … 199 196 static final Expr _c_150 = Expr.fromSequence (".next ()"); 200 197 static final Expr _c_151 = Expr.fromSequence (".prev ()"); 201 static final Expr _c_152 = _c_117.subexpr (0, 1 2);198 static final Expr _c_152 = _c_117.subexpr (0, 15); 202 199 static final Expr _c_161 = Expr.fromSequence ("new Func () {"); 203 200 static final Expr _c_153 = _c_161.subexpr (0, 8); … … 207 204 static final Expr _c_157 = Expr.fromSequence ("Expr.fromSequence (\""); 208 205 static final Expr _c_158 = Expr.fromSequence (" (arg, res);"); 209 static final Expr _c_159 = _c_2 32.subexpr (0, 7);206 static final Expr _c_159 = _c_212.subexpr (0, 7); 210 207 static final Expr _c_162 = Expr.fromSequence ("Symbol.newInt (\""); 211 208 static final Expr _c_163 = Expr.fromSequence ("Symbol.newWord (\""); … … 220 217 static final Expr _c_172 = _c_106.subexpr (0, 11); 221 218 static final Expr _c_173 = new Expr (Symbol.newWord ("EXPORT")); 222 static final Expr _c_174 = _c_1 3.subexpr (0, 6);219 static final Expr _c_174 = _c_160.subexpr (0, 6); 223 220 static final Expr _c_175 = new Expr (Symbol.newInt ("1")); 224 static final Expr _c_176 = new Expr (Symbol.newWord (" boolean"));225 static final Expr _c_177 = Expr.fromSequence ("java.lang.Boolean.parseBoolean((java.lang.String) ");221 static final Expr _c_176 = new Expr (Symbol.newWord ("SVAR")); 222 static final Expr _c_177 = new Expr (Symbol.newWord ("boolean")); 226 223 static final Expr _c_178 = new Expr (Symbol.newWord ("char")); 227 static final Expr _c_179 = Expr.fromSequence (").charValue()"); 228 static final Expr _c_180 = Expr.fromSequence ("((java.lang.Character) "); 229 static final Expr _c_181 = new Expr (Symbol.newWord ("byte")); 230 static final Expr _c_182 = Expr.fromSequence (").byteValue()"); 231 static final Expr _c_183 = Expr.fromSequence ("((java.math.BigInteger) "); 232 static final Expr _c_184 = new Expr (Symbol.newWord ("short")); 233 static final Expr _c_185 = Expr.fromSequence (").shortValue()"); 234 static final Expr _c_186 = new Expr (Symbol.newWord ("int")); 235 static final Expr _c_187 = Expr.fromSequence (").intValue()"); 236 static final Expr _c_188 = new Expr (Symbol.newWord ("long")); 237 static final Expr _c_189 = Expr.fromSequence (").longValue()"); 238 static final Expr _c_190 = Expr.fromSequence (").object : "); 239 static final Expr _c_191 = Expr.fromSequence (" instanceof org.refal.plus.Reference) ? ((org.refal.plus.Reference) "); 240 static final Expr _c_192 = Expr.fromSequence (") (("); 241 static final Expr _c_193 = new Expr (Symbol.newWord ("SVAR")); 242 static final Expr _c_194 = Expr.fromSequence (".at(0)"); 243 static final Expr _c_195 = new Expr (Symbol.newWord ("EVAR")); 244 static final Expr _c_196 = _c_18.subexpr (47, 2); 245 static final Expr _c_197 = Expr.fromSequence (".at(i)"); 246 static final Expr _c_198 = Expr.fromSequence (".length()];"); 247 static final Expr _c_199 = _c_196.subexpr (0, 1); 248 static final Expr _c_200 = _c_83.subexpr (0, 7); 249 static final Expr _c_201 = Expr.fromSequence ("[i] = "); 250 static final Expr _c_202 = Expr.fromSequence (".length; i++)"); 251 static final Expr _c_204 = Expr.fromSequence ("java.lang.String.valueOf("); 252 static final Expr _c_205 = Expr.fromSequence ("java.lang.Character.valueOf("); 253 static final Expr _c_206 = Expr.fromSequence ("java.math.BigInteger.valueOf("); 254 static final Expr _c_207 = Expr.fromSequence (">("); 255 static final Expr _c_208 = Expr.fromSequence (") : new org.refal.plus.Reference<"); 256 static final Expr _c_209 = Expr.fromSequence (" instanceof java.lang.Comparable) ? ((java.lang.Comparable) "); 257 static final Expr _c_217 = Expr.fromSequence (".assign(tmp_"); 258 static final Expr _c_210 = _c_217.subexpr (0, 8); 259 static final Expr _c_211 = _c_201.subexpr (0, 3); 260 static final Expr _c_212 = Expr.fromSequence (".length];"); 261 static final Expr _c_213 = Expr.fromSequence (" = new java.lang.Comparable["); 262 static final Expr _c_214 = Expr.fromSequence ("java.lang.Comparable[] tmp_"); 263 static final Expr _c_215 = _c_214.subexpr (23, 4); 264 static final Expr _c_218 = _c_158.subexpr (2, 3); 265 static final Expr _c_219 = _c_158.subexpr (7, 3); 266 static final Expr _c_220 = Expr.fromSequence ("convArg"); 267 static final Expr _c_221 = Expr.fromSequence ("convRes"); 268 static final Expr _c_222 = new Expr (Symbol.newWord ("")); 269 static final Expr _c_223 = _c_200.subexpr (3, 4); 270 static final Expr _c_224 = _c_220.subexpr (4, 1); 271 static final Expr _c_225 = Expr.fromSequence ("\", e.toString());"); 272 static final Expr _c_226 = Expr.fromSequence ("throw new org.refal.plus.RefalException(\""); 273 static final Expr _c_227 = Expr.fromSequence ("} catch (java.lang.Exception e) {"); 274 static final Expr _c_228 = _c_111.subexpr (0, 1); 275 static final Expr _c_229 = Expr.getConcatenator (3).toRight (Symbol.newWord ("Apply")).toRight (Symbol.newWord ("Apply")).toRight (Symbol.newWord ("Unexpected fail")).yield (); 276 static final Expr _c_230 = Expr.fromSequence (".toRight ("); 224 static final Expr _c_179 = new Expr (Symbol.newWord ("byte")); 225 static final Expr _c_180 = new Expr (Symbol.newWord ("short")); 226 static final Expr _c_181 = new Expr (Symbol.newWord ("int")); 227 static final Expr _c_182 = new Expr (Symbol.newWord ("long")); 228 static final Expr _c_186 = Expr.fromSequence (".at(0)))"); 229 static final Expr _c_183 = _c_186.subexpr (0, 7); 230 static final Expr _c_187 = Expr.fromSequence (") Native.objectValue("); 231 static final Expr _c_184 = _c_187.subexpr (15, 6); 232 static final Expr _c_185 = _c_187.subexpr (2, 7); 233 static final Expr _c_188 = _c_110.subexpr (9, 2); 234 static final Expr _c_189 = new Expr (Symbol.newWord ("EVAR")); 235 static final Expr _c_190 = _c_18.subexpr (47, 2); 236 static final Expr _c_195 = Expr.fromSequence (") Native.objectArrayValue("); 237 static final Expr _c_191 = _c_195.subexpr (15, 11); 238 static final Expr _c_192 = Expr.fromSequence (".length()]))"); 239 static final Expr _c_193 = _c_190.subexpr (0, 1); 240 static final Expr _c_194 = Expr.fromSequence (", new "); 241 static final Expr _c_196 = Expr.fromSequence ("Native.sValueOf("); 242 static final Expr _c_197 = Expr.fromSequence ("Native.eValueOf("); 243 static final Expr _c_198 = _c_158.subexpr (2, 3); 244 static final Expr _c_199 = _c_158.subexpr (7, 3); 245 static final Expr _c_200 = new Expr (Symbol.newWord ("")); 246 static final Expr _c_201 = _c_10.subexpr (2, 4); 247 static final Expr _c_202 = Expr.fromSequence (".assign("); 248 static final Expr _c_203 = Expr.fromSequence ("\", e.toString());"); 249 static final Expr _c_204 = Expr.fromSequence ("throw new org.refal.plus.RefalException(\""); 250 static final Expr _c_205 = Expr.fromSequence ("} catch (java.lang.Exception e) {"); 251 static final Expr _c_206 = _c_160.subexpr (41, 25); 252 static final Expr _c_207 = _c_18.subexpr (13, 6); 253 static final Expr _c_208 = Expr.getConcatenator (3).toRight (Symbol.newWord ("Apply")).toRight (Symbol.newWord ("Apply")).toRight (Symbol.newWord ("Unexpected fail")).yield (); 254 static final Expr _c_209 = Expr.fromSequence (".toRight ("); 277 255 278 256 @RefalFormat("$func RFP_ASAIL_To_Java t = (e) (e);") … … 336 314 break _block2; 337 315 } 338 refal.plus.Box.Store (Entry, new Expr ((Comparable ) Expr.concat (_ve_moduleName, _c_4)));316 refal.plus.Box.Store (Entry, new Expr ((Comparable<?>) Expr.concat (_ve_moduleName, _c_4))); 339 317 } 340 318 refal.plus.Box.Store (Entry_Name, Expr.empty); … … 349 327 Result _v_ASAIL__To__Java1 = new Result (Expr.empty); 350 328 ASAIL_To_Java (_ve_asail, _v_ASAIL__To__Java1); 351 int _v_len5 = _v_ len__moduleName;352 int _v_len6 = 1;353 if (_v_len5 < _v_len6)329 int _v_len5 = _v_ASAIL__To__Java1.getExpr ().length (); 330 int _v_len6 = 0; 331 if (_v_len5 < (_v_len6 + 1)) 354 332 { 355 333 break _block3__branch1; 356 334 } 357 int _v_len__ package= (_v_len5 - _v_len6);358 int _v_len7 = _v_ ASAIL__To__Java1.getExpr ().length ();359 int _v_len8 = 0;360 if (_v_len7 < (_v_len8 + 1))335 int _v_len__java__2 = (_v_len5 - _v_len6); 336 int _v_len7 = _v_len__moduleName; 337 int _v_len8 = 1; 338 if (_v_len7 < _v_len8) 361 339 { 362 340 break _block3__branch1; 363 341 } 364 int _v_len__ java__2= (_v_len7 - _v_len8);342 int _v_len__package = (_v_len7 - _v_len8); 365 343 if (!_ve_moduleName.isSymbolAt ((0 + _v_len__package))) 366 344 { … … 387 365 Result _ge_auxcall4 = new Result (Expr.empty); 388 366 refal.plus.List.Intersperse (_c_5, _ve_package, _ge_auxcall4); 389 _ge_package__3 = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_7).toRight (_ge_auxcall4.getExpr ()).toRight (_c_6).yield ());367 _ge_package__3 = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_7).toRight (_ge_auxcall4.getExpr ()).toRight (_c_6).yield ()); 390 368 break _block4; 391 369 } … … 421 399 Expr _vs_name = Expr.empty; 422 400 _vs_name = _v_deref__Get1.subexpr ((0 + _v_len___dollar_tmp_m_86_m_31), 1); 423 _ve_entry = Expr.concat (_c_19, (Comparable ) Expr.getConcatenator ().toRight (_c_18).toRight ((Comparable) new Expr ((Comparable) Expr.concat (_c_17, (Comparable) Expr.getConcatenator ().toRight (_c_16).toRight ((Comparable) Expr.concat ((Comparable) Expr.concat (_c_13, (Comparable) Expr.getConcatenator ().toRight ((Comparable) Expr.getConcatenator ().toRight (_c_9).toRight (_vs_refal__mod__name.getExpr ()).toRight (_c_8).yield ()).toRight ((Comparable) Expr.concat (_c_11, (Comparable) Expr.concat (_vs_name, _c_10))).toRight (_c_12).yield ()), _c_14)).toRight (_c_15).yield ()))).toRight (_c_14).yield ());401 _ve_entry = Expr.concat (_c_19, (Comparable<?>) Expr.getConcatenator ().toRight (_c_18).toRight ((Comparable<?>) new Expr ((Comparable<?>) Expr.concat (_c_17, (Comparable<?>) Expr.getConcatenator ().toRight (_c_16).toRight ((Comparable<?>) Expr.concat ((Comparable<?>) Expr.concat (_c_13, (Comparable<?>) Expr.getConcatenator ().toRight ((Comparable<?>) Expr.getConcatenator ().toRight (_c_9).toRight (_vs_refal__mod__name.getExpr ()).toRight (_c_8).yield ()).toRight ((Comparable<?>) Expr.concat (_c_11, (Comparable<?>) Expr.concat (_vs_name, _c_10))).toRight (_c_12).yield ()), _c_14)).toRight (_c_15).yield ()))).toRight (_c_14).yield ()); 424 402 break _block5; 425 403 } 426 404 _ve_entry = Expr.empty; 427 405 } 428 _ve_java = Expr.getConcatenator ().toRight (_ge_package__3).toRight (_c_22).toRight ((Comparable ) Expr.getConcatenator ().toRight (_c_21).toRight (_vs_class).toRight (_c_20).toRight ((Comparable) Expr.concat (_gv_java__2, _ve_entry)).toRight (_c_14).yield ()).yield ();406 _ve_java = Expr.getConcatenator ().toRight (_ge_package__3).toRight (_c_22).toRight ((Comparable<?>) Expr.getConcatenator ().toRight (_c_21).toRight (_vs_class).toRight (_c_20).toRight ((Comparable<?>) Expr.concat (_gv_java__2, _ve_entry)).toRight (_c_14).yield ()).yield (); 429 407 break _block3; 430 408 } … … 610 588 Expr _v_deref__deref__item2 = (Expr) _v_deref__item2.at ((0 + 1 + 1 + 1 + 1)); 611 589 Expr _v_deref__deref__item22 = (Expr) _v_deref__item2.at ((0 + 1 + 1 + 1 + 1 + 1)); 612 int _v_len7 = _v_deref__deref__item2 2.length ();590 int _v_len7 = _v_deref__deref__item2.length (); 613 591 int _v_len8 = 0; 614 592 if (_v_len7 < _v_len8) … … 616 594 break _block2__branch2; 617 595 } 618 int _v_len__ out= (_v_len7 - _v_len8);619 int _v_len9 = _v_deref__deref__item2 .length ();596 int _v_len__in = (_v_len7 - _v_len8); 597 int _v_len9 = _v_deref__deref__item22.length (); 620 598 int _v_len10 = 0; 621 599 if (_v_len9 < _v_len10) … … 623 601 break _block2__branch2; 624 602 } 625 int _v_len__ in= (_v_len9 - _v_len10);603 int _v_len__out = (_v_len9 - _v_len10); 626 604 if (!_c_28.termEquals (_v_deref__item2, 0)) 627 605 { … … 676 654 Expr _v_deref__deref__item3 = (Expr) _v_deref__item3.at ((0 + 1 + 1 + 1)); 677 655 Expr _v_deref__deref__item32 = (Expr) _v_deref__item3.at ((0 + 1 + 1 + 1 + 1)); 678 int _v_len13 = _v_deref__deref__item3 2.length ();656 int _v_len13 = _v_deref__deref__item3.length (); 679 657 int _v_len14 = 0; 680 658 if (_v_len13 < _v_len14) … … 682 660 break _block2__branch3; 683 661 } 684 int _v_len__ ress = (_v_len13 - _v_len14);685 int _v_len15 = _v_deref__deref__item3 .length ();662 int _v_len__args = (_v_len13 - _v_len14); 663 int _v_len15 = _v_deref__deref__item32.length (); 686 664 int _v_len16 = 0; 687 665 if (_v_len15 < _v_len16) … … 689 667 break _block2__branch3; 690 668 } 691 int _v_len__ args = (_v_len15 - _v_len16);669 int _v_len__ress = (_v_len15 - _v_len16); 692 670 if (!_v_deref__item3.isSymbolAt (0)) 693 671 { … … 780 758 Result _gs_auxcall3 = new Result (Expr.empty); 781 759 ReplaceQuotes (_gs_auxcall2.getExpr (), _gs_auxcall3); 782 _ve_refalFormat = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_35).toRight (_gs_auxcall3.getExpr ()).toRight (_c_34).yield ());760 _ve_refalFormat = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_35).toRight (_gs_auxcall3.getExpr ()).toRight (_c_34).yield ()); 783 761 break _block5; 784 762 } … … 793 771 Result _ge_auxcall7 = new Result (Expr.empty); 794 772 ASAIL_To_Java (_ve_body, _ge_auxcall7); 795 _ve_java__item = Expr.getConcatenator ().toRight (_c_19).toRight (_ve_refalFormat).toRight ((Comparable ) Expr.getConcatenator ().toRight (_c_41).toRight (_ge_auxcall4.getExpr ()).toRight (_c_40).toRight (_ve_return__type).toRight (_c_40).toRight (_ge_auxcall5.getExpr ()).toRight (_c_39).toRight (_ge_auxcall6.getExpr ()).toRight (_c_38).yield ()).toRight ((Comparable) Expr.getConcatenator ().toRight (_c_42).toRight ((Comparable) Expr.concat (_ge_auxcall7.getExpr (), _ve_return)).toRight (_c_14).yield ()).yield ();773 _ve_java__item = Expr.getConcatenator ().toRight (_c_19).toRight (_ve_refalFormat).toRight ((Comparable<?>) Expr.getConcatenator ().toRight (_c_41).toRight (_ge_auxcall4.getExpr ()).toRight (_c_40).toRight (_ve_return__type).toRight (_c_40).toRight (_ge_auxcall5.getExpr ()).toRight (_c_39).toRight (_ge_auxcall6.getExpr ()).toRight (_c_38).yield ()).toRight ((Comparable<?>) Expr.getConcatenator ().toRight (_c_42).toRight ((Comparable<?>) Expr.concat (_ge_auxcall7.getExpr (), _ve_return)).toRight (_c_14).yield ()).yield (); 796 774 break _block2; 797 775 } … … 839 817 Expr _v_deref__deref__item5 = (Expr) _v_deref__item5.at ((0 + 1 + 1)); 840 818 Expr _v_deref__deref__item52 = (Expr) _v_deref__item5.at ((0 + 1 + 1 + 1)); 841 int _v_len21 = _v_deref__deref__item5 2.length ();819 int _v_len21 = _v_deref__deref__item5.length (); 842 820 int _v_len22 = 0; 843 821 if (_v_len21 < _v_len22) … … 845 823 break _block2__branch5; 846 824 } 847 int _v_len__arg 2= (_v_len21 - _v_len22);848 int _v_len23 = _v_deref__deref__item5 .length ();825 int _v_len__arg1 = (_v_len21 - _v_len22); 826 int _v_len23 = _v_deref__deref__item52.length (); 849 827 int _v_len24 = 0; 850 828 if (_v_len23 < _v_len24) … … 852 830 break _block2__branch5; 853 831 } 854 int _v_len__arg 1= (_v_len23 - _v_len24);832 int _v_len__arg2 = (_v_len23 - _v_len24); 855 833 if (!_c_44.termEquals (_v_deref__item5, 0)) 856 834 { … … 876 854 Result _ge_auxcall9 = new Result (Expr.empty); 877 855 ASAIL_To_Java (_ve_body, _ge_auxcall9); 878 _ve_java__item = Expr.concat ((Comparable ) Expr.getConcatenator ().toRight (_c_46).toRight (_ve_cond).toRight (_c_45).yield (), (Comparable) Expr.getConcatenator ().toRight (_c_42).toRight ((Comparable) _ge_auxcall9.getExpr ()).toRight (_c_14).yield ());856 _ve_java__item = Expr.concat ((Comparable<?>) Expr.getConcatenator ().toRight (_c_46).toRight (_ve_cond).toRight (_c_45).yield (), (Comparable<?>) Expr.getConcatenator ().toRight (_c_42).toRight ((Comparable<?>) _ge_auxcall9.getExpr ()).toRight (_c_14).yield ()); 879 857 break _block2; 880 858 } … … 943 921 Result _ge_auxcall13 = new Result (Expr.empty); 944 922 ASAIL_To_Java (_ve_body, _ge_auxcall13); 945 _ve_java__item = Expr.getConcatenator ().toRight (_ge_auxcall12.getExpr ()).toRight ((Comparable ) Expr.getConcatenator ().toRight (_c_46).toRight (_ve_j__cond.getExpr ()).toRight (_c_45).yield ()).toRight ((Comparable) Expr.getConcatenator ().toRight (_c_42).toRight ((Comparable) Expr.concat (_ve_if__yes__assigns, _ge_auxcall13.getExpr ())).toRight (_c_14).yield ()).toRight (_ve_if__not__assigns).yield ();923 _ve_java__item = Expr.getConcatenator ().toRight (_ge_auxcall12.getExpr ()).toRight ((Comparable<?>) Expr.getConcatenator ().toRight (_c_46).toRight (_ve_j__cond.getExpr ()).toRight (_c_45).yield ()).toRight ((Comparable<?>) Expr.getConcatenator ().toRight (_c_42).toRight ((Comparable<?>) Expr.concat (_ve_if__yes__assigns, _ge_auxcall13.getExpr ())).toRight (_c_14).yield ()).toRight (_ve_if__not__assigns).yield (); 946 924 break _block2; 947 925 } … … 981 959 } 982 960 int _v_len__cont__label = (_v_len31 - _v_len32); 983 int _v_len33 = _v_deref__deref__item7 3.length ();961 int _v_len33 = _v_deref__deref__item72.length (); 984 962 int _v_len34 = 0; 985 963 if (_v_len33 < _v_len34) … … 987 965 break _block2__branch7; 988 966 } 989 int _v_len__ step= (_v_len33 - _v_len34);990 int _v_len35 = _v_deref__deref__item7 2.length ();967 int _v_len__break__label = (_v_len33 - _v_len34); 968 int _v_len35 = _v_deref__deref__item73.length (); 991 969 int _v_len36 = 0; 992 970 if (_v_len35 < _v_len36) … … 994 972 break _block2__branch7; 995 973 } 996 int _v_len__ break__label= (_v_len35 - _v_len36);974 int _v_len__step = (_v_len35 - _v_len36); 997 975 if (!_c_49.termEquals (_v_deref__item7, 0)) 998 976 { … … 1021 999 _vt__dollar_tmp_m_162_m_25 = _ve_cont__label.subexpr (0, 1); 1022 1000 Result _ge_auxcall14 = new Result (Expr.empty); 1023 refal.plus.JavaMangle.Rfp2Java (new Expr ((Comparable ) Expr.concat (_c_50, _ve_cont__label)), _ge_auxcall14);1001 refal.plus.JavaMangle.Rfp2Java (new Expr ((Comparable<?>) Expr.concat (_c_50, _ve_cont__label)), _ge_auxcall14); 1024 1002 _ve_cont = Expr.concat (_ge_auxcall14.getExpr (), _c_51); 1025 1003 break _block7; … … 1037 1015 _vt__dollar_tmp_m_165_m_26 = _ve_break__label.subexpr (0, 1); 1038 1016 Result _ge_auxcall15 = new Result (Expr.empty); 1039 refal.plus.JavaMangle.Rfp2Java (new Expr ((Comparable ) Expr.concat (_c_50, _ve_break__label)), _ge_auxcall15);1017 refal.plus.JavaMangle.Rfp2Java (new Expr ((Comparable<?>) Expr.concat (_c_50, _ve_break__label)), _ge_auxcall15); 1040 1018 _ve_break = Expr.concat (_ge_auxcall15.getExpr (), _c_51); 1041 1019 break _block8; … … 1105 1083 Result _ge_auxcall17 = new Result (Expr.empty); 1106 1084 refal.plus.JavaMangle.Rfp2Java (_vt_var2, _ge_auxcall17); 1107 _ve_split__vars = Expr.concat ((Comparable ) Expr.getConcatenator ().toRight (_c_56).toRight (_ge_auxcall16.getExpr ()).toRight (_c_55).toRight (_ve_new__var).toRight (_c_54).yield (), (Comparable) Expr.getConcatenator ().toRight (_c_56).toRight (_ge_auxcall17.getExpr ()).toRight (_c_55).toRight (_ve_new__var).toRight (_c_57).yield ());1085 _ve_split__vars = Expr.concat ((Comparable<?>) Expr.getConcatenator ().toRight (_c_56).toRight (_ge_auxcall16.getExpr ()).toRight (_c_55).toRight (_ve_new__var).toRight (_c_54).yield (), (Comparable<?>) Expr.getConcatenator ().toRight (_c_56).toRight (_ge_auxcall17.getExpr ()).toRight (_c_55).toRight (_ve_new__var).toRight (_c_57).yield ()); 1108 1086 break _block9; 1109 1087 } … … 1117 1095 Result _ge_auxcall20 = new Result (Expr.empty); 1118 1096 ASAIL_To_Java (_ve_body, _ge_auxcall20); 1119 _ve_java__item = Expr.concat ((Comparable ) Expr.getConcatenator ().toRight (_ve_break).toRight (_ve_cont).toRight (_c_58).toRight (_ge_auxcall18.getExpr ()).toRight (_c_45).yield (), (Comparable) Expr.getConcatenator ().toRight (_c_42).toRight ((Comparable) Expr.getConcatenator ().toRight (_ve_split__vars).toRight (_ge_auxcall19.getExpr ()).toRight (_ge_auxcall20.getExpr ()).yield ()).toRight (_c_14).yield ());1097 _ve_java__item = Expr.concat ((Comparable<?>) Expr.getConcatenator ().toRight (_ve_break).toRight (_ve_cont).toRight (_c_58).toRight (_ge_auxcall18.getExpr ()).toRight (_c_45).yield (), (Comparable<?>) Expr.getConcatenator ().toRight (_c_42).toRight ((Comparable<?>) Expr.getConcatenator ().toRight (_ve_split__vars).toRight (_ge_auxcall19.getExpr ()).toRight (_ge_auxcall20.getExpr ()).yield ()).toRight (_c_14).yield ()); 1120 1098 break _block2; 1121 1099 } … … 1154 1132 _ve_label = _v_deref__deref__item8.subexpr (0, _v_len__label); 1155 1133 Result _ge_auxcall21 = new Result (Expr.empty); 1156 refal.plus.JavaMangle.Rfp2Java (new Expr ((Comparable ) Expr.concat (_c_50, _ve_label)), _ge_auxcall21);1134 refal.plus.JavaMangle.Rfp2Java (new Expr ((Comparable<?>) Expr.concat (_c_50, _ve_label)), _ge_auxcall21); 1157 1135 Result _ge_auxcall22 = new Result (Expr.empty); 1158 1136 ASAIL_To_Java (_ve_body, _ge_auxcall22); 1159 _ve_java__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_ge_auxcall21.getExpr ()).toRight (_c_59).toRight ((Comparable) _ge_auxcall22.getExpr ()).toRight (_c_14).yield ());1137 _ve_java__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_ge_auxcall21.getExpr ()).toRight (_c_59).toRight ((Comparable<?>) _ge_auxcall22.getExpr ()).toRight (_c_14).yield ()); 1160 1138 break _block2; 1161 1139 } … … 1185 1163 Result _ge_auxcall25 = new Result (Expr.empty); 1186 1164 ASAIL_To_Java (_ve_body, _ge_auxcall25); 1187 _ve_java__item = Expr.concat (_c_65, (Comparable ) Expr.getConcatenator ().toRight (_c_42).toRight ((Comparable) Expr.concat ((Comparable) Expr.concat (_c_64, (Comparable) Expr.getConcatenator ().toRight (_c_63).toRight (_ge_auxcall23.getExpr ()).toRight (_c_62).toRight (_ge_auxcall24.getExpr ()).toRight (_c_61).yield ()), _ge_auxcall25.getExpr ())).toRight (_c_14).yield ());1165 _ve_java__item = Expr.concat (_c_65, (Comparable<?>) Expr.getConcatenator ().toRight (_c_42).toRight ((Comparable<?>) Expr.concat ((Comparable<?>) Expr.concat (_c_64, (Comparable<?>) Expr.getConcatenator ().toRight (_c_63).toRight (_ge_auxcall23.getExpr ()).toRight (_c_62).toRight (_ge_auxcall24.getExpr ()).toRight (_c_61).yield ()), _ge_auxcall25.getExpr ())).toRight (_c_14).yield ()); 1188 1166 break _block2; 1189 1167 } … … 1209 1187 Result _ge_auxcall26 = new Result (Expr.empty); 1210 1188 ASAIL_To_Java (_ve_body, _ge_auxcall26); 1211 _ve_java__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_68).toRight ((Comparable) Expr.concat (_c_67, (Comparable) _ge_auxcall26.getExpr ())).toRight (_c_14).yield ());1189 _ve_java__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_68).toRight ((Comparable<?>) Expr.concat (_c_67, (Comparable<?>) _ge_auxcall26.getExpr ())).toRight (_c_14).yield ()); 1212 1190 break _block2; 1213 1191 } … … 1229 1207 Result _ge_auxcall28 = new Result (Expr.empty); 1230 1208 refal.plus.Box.Get (Func_Name, _ge_auxcall28); 1231 _ve_java__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_63).toRight (_ge_auxcall27.getExpr ()).toRight (_c_62).toRight (_ge_auxcall28.getExpr ()).toRight (_c_72).yield ());1209 _ve_java__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_63).toRight (_ge_auxcall27.getExpr ()).toRight (_c_62).toRight (_ge_auxcall28.getExpr ()).toRight (_c_72).yield ()); 1232 1210 break _block2; 1233 1211 } … … 1275 1253 Expr_Int_To_Java (_ve_min, _va_5); 1276 1254 _ve_min = _va_5.getExpr (); 1277 _ve_java__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_77).toRight (_ve_new__var).toRight (_c_55).toRight (_ve_n.getExpr ()).toRight (_c_76).toRight (_ve_min).toRight (_c_75).yield ());1255 _ve_java__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_77).toRight (_ve_new__var).toRight (_c_55).toRight (_ve_n.getExpr ()).toRight (_c_76).toRight (_ve_min).toRight (_c_75).yield ()); 1278 1256 break _block2; 1279 1257 } … … 1321 1299 Expr_Int_To_Java (_ve_min, _va_6); 1322 1300 _ve_min = _va_6.getExpr (); 1323 _ve_java__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_77).toRight (_ve_new__var).toRight (_c_55).toRight (_ve_n.getExpr ()).toRight (_c_79).toRight (_ve_min).toRight (_c_75).yield ());1301 _ve_java__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_77).toRight (_ve_new__var).toRight (_c_55).toRight (_ve_n.getExpr ()).toRight (_c_79).toRight (_ve_min).toRight (_c_75).yield ()); 1324 1302 break _block2; 1325 1303 } … … 1362 1340 Result _ge_auxcall30 = new Result (Expr.empty); 1363 1341 Expr_Int_To_Java (_ve_expr, _ge_auxcall30); 1364 _ve_java__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_81).toRight (_ge_auxcall29.getExpr ()).toRight (_c_55).toRight (_ge_auxcall30.getExpr ()).toRight (_c_6).yield ());1342 _ve_java__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_81).toRight (_ge_auxcall29.getExpr ()).toRight (_c_55).toRight (_ge_auxcall30.getExpr ()).toRight (_c_6).yield ()); 1365 1343 break _block2; 1366 1344 } … … 1403 1381 Result _ge_auxcall32 = new Result (Expr.empty); 1404 1382 Expr_Int_To_Java (_ve_expr, _ge_auxcall32); 1405 _ve_java__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_ge_auxcall31.getExpr ()).toRight (_c_55).toRight (_ge_auxcall32.getExpr ()).toRight (_c_6).yield ());1383 _ve_java__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_ge_auxcall31.getExpr ()).toRight (_c_55).toRight (_ge_auxcall32.getExpr ()).toRight (_c_6).yield ()); 1406 1384 break _block2; 1407 1385 } … … 1444 1422 } 1445 1423 refal.plus.Table.Bind (Result, _vt_var, _ve_j__var.getExpr ()); 1446 _ve_java__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_84).toRight (_ve_j__var.getExpr ()).toRight (_c_83).toRight (_ve_j__expr.getExpr ()).toRight (_c_75).yield ());1424 _ve_java__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_84).toRight (_ve_j__var.getExpr ()).toRight (_c_83).toRight (_ve_j__expr.getExpr ()).toRight (_c_75).yield ()); 1447 1425 break _block11; 1448 1426 } 1449 1427 refal.plus.Table.Unbind (Result, _vt_var); 1450 _ve_java__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_56).toRight (_ve_j__var.getExpr ()).toRight (_c_55).toRight (_ve_j__expr.getExpr ()).toRight (_c_6).yield ());1428 _ve_java__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_56).toRight (_ve_j__var.getExpr ()).toRight (_c_55).toRight (_ve_j__expr.getExpr ()).toRight (_c_6).yield ()); 1451 1429 } 1452 1430 break _block2; … … 1507 1485 Result _ge_auxcall33 = new Result (Expr.empty); 1508 1486 refal.plus.JavaMangle.Rfp2Java (_vt_var, _ge_auxcall33); 1509 _ve_java__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_ge_auxcall33.getExpr ()).toRight (_c_85).toRight (_ve_j__expr.getExpr ()).toRight (_c_75).yield ());1487 _ve_java__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_ge_auxcall33.getExpr ()).toRight (_c_85).toRight (_ve_j__expr.getExpr ()).toRight (_c_75).yield ()); 1510 1488 break _exit2; 1511 1489 } … … 1518 1496 break _block12__branch2; 1519 1497 } 1520 _ve_java__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_ge_auxcall34.getExpr ()).toRight (_c_85).toRight (_ve_j__expr.getExpr ()).toRight (_c_75).yield ());1498 _ve_java__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_ge_auxcall34.getExpr ()).toRight (_c_85).toRight (_ve_j__expr.getExpr ()).toRight (_c_75).yield ()); 1521 1499 break _block12; 1522 1500 } 1523 1501 Result _ge_auxcall35 = new Result (Expr.empty); 1524 1502 refal.plus.JavaMangle.Rfp2Java (_vt_var, _ge_auxcall35); 1525 _ve_java__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_ge_auxcall35.getExpr ()).toRight (_c_55).toRight (_ve_j__expr.getExpr ()).toRight (_c_6).yield ());1503 _ve_java__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_ge_auxcall35.getExpr ()).toRight (_c_55).toRight (_ve_j__expr.getExpr ()).toRight (_c_6).yield ()); 1526 1504 } 1527 1505 break _block2; … … 1545 1523 Result _ge_auxcall36 = new Result (Expr.empty); 1546 1524 Var_To_Java (_vt_var, _ge_auxcall36); 1547 _ve_java__item = new Expr ((Comparable ) Expr.concat (_ge_auxcall36.getExpr (), _c_87));1525 _ve_java__item = new Expr ((Comparable<?>) Expr.concat (_ge_auxcall36.getExpr (), _c_87)); 1548 1526 break _block2; 1549 1527 } … … 1565 1543 _vt_label = _v_deref__item18.subexpr ((0 + 1), 1); 1566 1544 Result _ge_auxcall37 = new Result (Expr.empty); 1567 refal.plus.JavaMangle.Rfp2Java (new Expr ((Comparable ) Expr.concat (_c_50, _vt_label)), _ge_auxcall37);1568 _ve_java__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_89).toRight (_ge_auxcall37.getExpr ()).toRight (_c_6).yield ());1545 refal.plus.JavaMangle.Rfp2Java (new Expr ((Comparable<?>) Expr.concat (_c_50, _vt_label)), _ge_auxcall37); 1546 _ve_java__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_89).toRight (_ge_auxcall37.getExpr ()).toRight (_c_6).yield ()); 1569 1547 break _block2; 1570 1548 } … … 1586 1564 _vt_label = _v_deref__item19.subexpr ((0 + 1), 1); 1587 1565 Result _ge_auxcall38 = new Result (Expr.empty); 1588 refal.plus.JavaMangle.Rfp2Java (new Expr ((Comparable ) Expr.concat (_c_50, _vt_label)), _ge_auxcall38);1589 _ve_java__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_91).toRight (_ge_auxcall38.getExpr ()).toRight (_c_6).yield ());1566 refal.plus.JavaMangle.Rfp2Java (new Expr ((Comparable<?>) Expr.concat (_c_50, _vt_label)), _ge_auxcall38); 1567 _ve_java__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_91).toRight (_ge_auxcall38.getExpr ()).toRight (_c_6).yield ()); 1590 1568 break _block2; 1591 1569 } … … 1611 1589 Result _ge_auxcall39 = new Result (Expr.empty); 1612 1590 Expr_Ref_To_Java (_ve_expr, _ge_auxcall39); 1613 _ve_java__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_93).toRight (_ge_auxcall39.getExpr ()).toRight (_c_75).yield ());1591 _ve_java__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_93).toRight (_ge_auxcall39.getExpr ()).toRight (_c_75).yield ()); 1614 1592 break _block2; 1615 1593 } … … 1697 1675 Result _gs_auxcall41 = new Result (Expr.empty); 1698 1676 ReplaceQuotes (_gs_auxcall40.getExpr (), _gs_auxcall41); 1699 _ve_refalDecl = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_35).toRight (_gs_auxcall41.getExpr ()).toRight (_c_34).yield ());1677 _ve_refalDecl = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_35).toRight (_gs_auxcall41.getExpr ()).toRight (_c_34).yield ()); 1700 1678 break _block14; 1701 1679 } … … 1704 1682 Result _ge_auxcall42 = new Result (Expr.empty); 1705 1683 Access_Mode (_vs_linkage, _ge_auxcall42); 1706 _ve_java__item = Expr.concat (_ve_refalDecl, (Comparable ) Expr.getConcatenator ().toRight (_c_41).toRight (_ge_auxcall42.getExpr ()).toRight (_c_96).toRight (_ve_n).toRight (_c_55).toRight (_ve_j__expr.getExpr ()).toRight (_c_6).yield ());1684 _ve_java__item = Expr.concat (_ve_refalDecl, (Comparable<?>) Expr.getConcatenator ().toRight (_c_41).toRight (_ge_auxcall42.getExpr ()).toRight (_c_96).toRight (_ve_n).toRight (_c_55).toRight (_ve_j__expr.getExpr ()).toRight (_c_6).yield ()); 1707 1685 break _block2; 1708 1686 } … … 1785 1763 Result _gs_auxcall44 = new Result (Expr.empty); 1786 1764 ReplaceQuotes (_gs_auxcall43.getExpr (), _gs_auxcall44); 1787 _ve_refalDecl = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_35).toRight (_gs_auxcall44.getExpr ()).toRight (_c_34).yield ());1765 _ve_refalDecl = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_35).toRight (_gs_auxcall44.getExpr ()).toRight (_c_34).yield ()); 1788 1766 break _block15; 1789 1767 } … … 1794 1772 Result _ge_auxcall46 = new Result (Expr.empty); 1795 1773 Name_To_Java (_vt_name, _ge_auxcall46); 1796 _ve_java__item = Expr.concat (_ve_refalDecl, (Comparable ) Expr.getConcatenator ().toRight (_c_41).toRight (_ge_auxcall45.getExpr ()).toRight (_c_96).toRight (_ge_auxcall46.getExpr ()).toRight (_c_100).toRight (_ve_class__name).toRight (_c_99).toRight (_vs_n).toRight (_c_98).yield ());1774 _ve_java__item = Expr.concat (_ve_refalDecl, (Comparable<?>) Expr.getConcatenator ().toRight (_c_41).toRight (_ge_auxcall45.getExpr ()).toRight (_c_96).toRight (_ge_auxcall46.getExpr ()).toRight (_c_100).toRight (_ve_class__name).toRight (_c_99).toRight (_vs_n).toRight (_c_98).yield ()); 1797 1775 break _block2; 1798 1776 } … … 1854 1832 Expr _v_deref__deref__item25 = (Expr) _v_deref__item25.at ((0 + 1 + 1)); 1855 1833 Expr _v_deref__deref__item252 = (Expr) _v_deref__item25.at ((0 + 1 + 1 + 1)); 1856 int _v_len75 = _v_deref__deref__item25 2.length ();1834 int _v_len75 = _v_deref__deref__item25.length (); 1857 1835 int _v_len76 = 0; 1858 1836 if (_v_len75 < _v_len76) … … 1860 1838 throw new RefalException ("org.refal.plus.compiler.rfp_asail_java", "ASAIL_To_Java", "Unexpected fail"); 1861 1839 } 1862 int _v_len__ ress2 = (_v_len75 - _v_len76);1863 int _v_len77 = _v_deref__deref__item25 .length ();1840 int _v_len__args2 = (_v_len75 - _v_len76); 1841 int _v_len77 = _v_deref__deref__item252.length (); 1864 1842 int _v_len78 = 0; 1865 1843 if (_v_len77 < _v_len78) … … 1867 1845 throw new RefalException ("org.refal.plus.compiler.rfp_asail_java", "ASAIL_To_Java", "Unexpected fail"); 1868 1846 } 1869 int _v_len__ args2 = (_v_len77 - _v_len78);1847 int _v_len__ress2 = (_v_len77 - _v_len78); 1870 1848 if (!_v_deref__item25.isSymbolAt (0)) 1871 1849 { … … 1896 1874 break _block16__branch1; 1897 1875 } 1898 _ve_java__item = Expr.concat (_ve_decls.getExpr (), (Comparable ) Expr.getConcatenator ().toRight (_c_105).toRight (_ve_c).toRight (_c_104).yield ());1876 _ve_java__item = Expr.concat (_ve_decls.getExpr (), (Comparable<?>) Expr.getConcatenator ().toRight (_c_105).toRight (_ve_c).toRight (_c_104).yield ()); 1899 1877 break _block16; 1900 1878 } … … 1902 1880 refal.plus.Box.Get (Res_Assigns, _ge_auxcall48); 1903 1881 refal.plus.Box.Store (Res_Assigns, Expr.empty); 1904 _ve_java__item = Expr.getConcatenator ().toRight (_ve_decls.getExpr ()).toRight ((Comparable ) Expr.concat (_ve_c, _c_6)).toRight (_ge_auxcall48.getExpr ()).yield ();1882 _ve_java__item = Expr.getConcatenator ().toRight (_ve_decls.getExpr ()).toRight ((Comparable<?>) Expr.concat (_ve_c, _c_6)).toRight (_ge_auxcall48.getExpr ()).yield (); 1905 1883 } 1906 1884 } … … 1954 1932 } 1955 1933 int _v_len__ress = (_v_len1 - _v_len2); 1956 Expr _v_compose1 = Expr.concat ((Comparable ) _ge_arg1, _ge_arg2);1934 Expr _v_compose1 = Expr.concat ((Comparable<?>) _ge_arg1, _ge_arg2); 1957 1935 if (_v_compose1.isSymbolAt (0)) 1958 1936 { … … 1981 1959 Result _ge_auxcall1 = new Result (Expr.empty); 1982 1960 refal.plus.JavaMangle.Rfp2Java (_vt_var, _ge_auxcall1); 1983 Declare_Results (_ve_r, Expr.concat (_ve_ress, (Comparable ) _ge_auxcall1.getExpr ()), _v_res1, _v_res2);1961 Declare_Results (_ve_r, Expr.concat (_ve_ress, (Comparable<?>) _ge_auxcall1.getExpr ()), _v_res1, _v_res2); 1984 1962 break _block2; 1985 1963 } … … 2015 1993 Result _ge_auxcall2 = new Result (Expr.empty); 2016 1994 refal.plus.JavaMangle.Rfp2Java (_vt_var, _ge_auxcall2); 2017 Declare_Results (_ve_r, Expr.concat (_ve_ress, (Comparable ) _ge_auxcall2.getExpr ()), _v_res1, _v_res2);1995 Declare_Results (_ve_r, Expr.concat (_ve_ress, (Comparable<?>) _ge_auxcall2.getExpr ()), _v_res1, _v_res2); 2018 1996 break _exit1; 2019 1997 } … … 2025 2003 Result _ge_auxcall3 = new Result (Expr.empty); 2026 2004 refal.plus.JavaMangle.Rfp2Java (_vt_var, _ge_auxcall3); 2027 refal.plus.Box.Put (Res_Assigns, new Expr ((Comparable ) Expr.getConcatenator ().toRight (_ge_auxcall3.getExpr ()).toRight (_c_55).toRight (_ve_new__var).toRight (_c_106).yield ()));2005 refal.plus.Box.Put (Res_Assigns, new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_ge_auxcall3.getExpr ()).toRight (_c_55).toRight (_ve_new__var).toRight (_c_106).yield ())); 2028 2006 Result _v_Declare__Results1 = new Result (Expr.empty); 2029 Declare_Results (_ve_r, Expr.concat (_ve_ress, (Comparable ) _ve_new__var), _v_Declare__Results1, _v_res2);2030 _v_res1.assign (Expr.concat ((Comparable ) Expr.getConcatenator ().toRight (_c_84).toRight (_ve_new__var).toRight (_c_107).yield (), _v_Declare__Results1.getExpr ()));2007 Declare_Results (_ve_r, Expr.concat (_ve_ress, (Comparable<?>) _ve_new__var), _v_Declare__Results1, _v_res2); 2008 _v_res1.assign (Expr.concat ((Comparable<?>) Expr.getConcatenator ().toRight (_c_84).toRight (_ve_new__var).toRight (_c_107).yield (), _v_Declare__Results1.getExpr ())); 2031 2009 } 2032 2010 break _block1; … … 2039 2017 } 2040 2018 int _v_len__ress2 = (_v_len7 - _v_len8); 2041 Expr _v_compose2 = Expr.concat ((Comparable ) _ge_arg1, _ge_arg2);2019 Expr _v_compose2 = Expr.concat ((Comparable<?>) _ge_arg1, _ge_arg2); 2042 2020 if (!_c_19.termEquals (_v_compose2, 0)) 2043 2021 { … … 2230 2208 Expr _v_deref__deref__erm3 = (Expr) _v_deref__erm3.at ((0 + 1 + _v_len__expr3)); 2231 2209 Expr _v_deref__deref__erm32 = (Expr) _v_deref__erm3.at ((0 + 1 + _v_len__expr3 + 1)); 2232 int _v_len9 = _v_deref__deref__erm3 2.length ();2210 int _v_len9 = _v_deref__deref__erm3.length (); 2233 2211 int _v_len10 = 0; 2234 2212 if (_v_len9 < _v_len10) … … 2236 2214 break _block1__branch3; 2237 2215 } 2238 int _v_len__ len= (_v_len9 - _v_len10);2239 int _v_len11 = _v_deref__deref__erm3 .length ();2216 int _v_len__pos2 = (_v_len9 - _v_len10); 2217 int _v_len11 = _v_deref__deref__erm32.length (); 2240 2218 int _v_len12 = 0; 2241 2219 if (_v_len11 < _v_len12) … … 2243 2221 break _block1__branch3; 2244 2222 } 2245 int _v_len__ pos2= (_v_len11 - _v_len12);2223 int _v_len__len = (_v_len11 - _v_len12); 2246 2224 if (!_c_121.termEquals (_v_deref__erm3, 0)) 2247 2225 { … … 2344 2322 break _block2; 2345 2323 } 2346 throw new RefalException (new Expr ((Comparable ) Expr.concat (_c_126, _vs_ObjectSymbol)));2324 throw new RefalException (new Expr ((Comparable<?>) Expr.concat (_c_126, _vs_ObjectSymbol))); 2347 2325 } 2348 2326 break _block1; … … 2530 2508 Expr _v_deref__deref__deref__cond = (Expr) _v_deref__deref__cond.at ((0 + 1 + 1)); 2531 2509 Expr _v_deref__deref__deref__cond2 = (Expr) _v_deref__deref__cond.at ((0 + 1 + 1 + 1)); 2532 int _v_len1 = _v_deref__deref__deref__cond 2.length ();2510 int _v_len1 = _v_deref__deref__deref__cond.length (); 2533 2511 int _v_len2 = 0; 2534 2512 if (_v_len1 < _v_len2) … … 2536 2514 break _block1__branch1; 2537 2515 } 2538 int _v_len__ ress = (_v_len1 - _v_len2);2539 int _v_len3 = _v_deref__deref__deref__cond .length ();2516 int _v_len__exprs = (_v_len1 - _v_len2); 2517 int _v_len3 = _v_deref__deref__deref__cond2.length (); 2540 2518 int _v_len4 = 0; 2541 2519 if (_v_len3 < _v_len4) … … 2543 2521 break _block1__branch1; 2544 2522 } 2545 int _v_len__ exprs = (_v_len3 - _v_len4);2523 int _v_len__ress = (_v_len3 - _v_len4); 2546 2524 if (!_c_48.termEquals (_v_deref__cond, 0)) 2547 2525 { … … 2665 2643 Expr _v_deref__deref__cond4 = (Expr) _v_deref__cond4.at ((0 + 1 + _v_len__expr1)); 2666 2644 Expr _v_deref__deref__cond42 = (Expr) _v_deref__cond4.at ((0 + 1 + _v_len__expr1 + 1)); 2667 int _v_len13 = _v_deref__deref__cond4 2.length ();2645 int _v_len13 = _v_deref__deref__cond4.length (); 2668 2646 int _v_len14 = 0; 2669 2647 if (_v_len13 < _v_len14) … … 2671 2649 break _block1__branch4; 2672 2650 } 2673 int _v_len__ pos2 = (_v_len13 - _v_len14);2674 int _v_len15 = _v_deref__deref__cond4 .length ();2651 int _v_len__expr22 = (_v_len13 - _v_len14); 2652 int _v_len15 = _v_deref__deref__cond42.length (); 2675 2653 int _v_len16 = 0; 2676 2654 if (_v_len15 < _v_len16) … … 2678 2656 break _block1__branch4; 2679 2657 } 2680 int _v_len__ expr22 = (_v_len15 - _v_len16);2658 int _v_len__pos2 = (_v_len15 - _v_len16); 2681 2659 if (!_c_145.termEquals (_v_deref__cond4, 0)) 2682 2660 { … … 2721 2699 Expr _v_deref__deref__cond5 = (Expr) _v_deref__cond5.at ((0 + 1 + _v_len__expr12)); 2722 2700 Expr _v_deref__deref__cond52 = (Expr) _v_deref__cond5.at ((0 + 1 + _v_len__expr12 + 1)); 2723 int _v_len19 = _v_deref__deref__cond5 2.length ();2701 int _v_len19 = _v_deref__deref__cond5.length (); 2724 2702 int _v_len20 = 0; 2725 2703 if (_v_len19 < _v_len20) … … 2727 2705 break _block1__branch5; 2728 2706 } 2729 int _v_len__ pos3 = (_v_len19 - _v_len20);2730 int _v_len21 = _v_deref__deref__cond5 .length ();2707 int _v_len__expr23 = (_v_len19 - _v_len20); 2708 int _v_len21 = _v_deref__deref__cond52.length (); 2731 2709 int _v_len22 = 0; 2732 2710 if (_v_len21 < _v_len22) … … 2734 2712 break _block1__branch5; 2735 2713 } 2736 int _v_len__ expr23 = (_v_len21 - _v_len22);2714 int _v_len__pos3 = (_v_len21 - _v_len22); 2737 2715 if (!_c_147.termEquals (_v_deref__cond5, 0)) 2738 2716 { … … 2814 2792 _block2: { 2815 2793 _block2__branch1: { 2816 int _v_len5 = _ve_ rest.length ();2794 int _v_len5 = _ve_arg.length (); 2817 2795 int _v_len6 = 0; 2818 2796 if (_v_len5 < (_v_len6 + 1)) … … 2820 2798 break _block2__branch1; 2821 2799 } 2822 int _v_len___dollar_tmp_m_371_m_ 28= (_v_len5 - _v_len6);2823 int _v_len7 = _ve_ arg.length ();2800 int _v_len___dollar_tmp_m_371_m_16 = (_v_len5 - _v_len6); 2801 int _v_len7 = _ve_rest.length (); 2824 2802 int _v_len8 = 0; 2825 2803 if (_v_len7 < (_v_len8 + 1)) … … 2827 2805 break _block2__branch1; 2828 2806 } 2829 int _v_len___dollar_tmp_m_371_m_ 16= (_v_len7 - _v_len8);2807 int _v_len___dollar_tmp_m_371_m_28 = (_v_len7 - _v_len8); 2830 2808 Expr _vv__dollar_tmp_m_371_m_16 = Expr.empty; 2831 2809 _vv__dollar_tmp_m_371_m_16 = _ve_arg.subexpr (0, _v_len___dollar_tmp_m_371_m_16); … … 3003 2981 _block4__branch1: { 3004 2982 int _v_len3 = _v_len__1; 3005 int _v_len4 = 1 2;2983 int _v_len4 = 15; 3006 2984 if (_v_len3 < _v_len4) 3007 2985 { 3008 2986 break _block4__branch1; 3009 2987 } 3010 int _v_len___dollar_tmp_m_394_m_ 27= (_v_len3 - _v_len4);2988 int _v_len___dollar_tmp_m_394_m_30 = (_v_len3 - _v_len4); 3011 2989 if (!_c_152.equals (_ve_1, 0)) 3012 2990 { 3013 2991 break _block4__branch1; 3014 2992 } 3015 Expr _ve__dollar_tmp_m_394_m_ 27= Expr.empty;3016 _ve__dollar_tmp_m_394_m_ 27 = _ve_1.subexpr ((0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1), _v_len___dollar_tmp_m_394_m_27);2993 Expr _ve__dollar_tmp_m_394_m_30 = Expr.empty; 2994 _ve__dollar_tmp_m_394_m_30 = _ve_1.subexpr ((0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1), _v_len___dollar_tmp_m_394_m_30); 3017 2995 break _block4; 3018 2996 } … … 3069 3047 Expr _v_deref__Const__Expr__Aux12 = (Expr) _v_Const__Expr__Aux1.getExpr ().at (0); 3070 3048 Expr _v_deref__Const__Expr__Aux13 = (Expr) _v_Const__Expr__Aux1.getExpr ().at ((0 + 1)); 3071 int _v_len9 = _v_deref__Const__Expr__Aux1 3.length ();3049 int _v_len9 = _v_deref__Const__Expr__Aux12.length (); 3072 3050 int _v_len10 = 0; 3073 3051 if (_v_len9 < _v_len10) … … 3075 3053 break _block2__branch2; 3076 3054 } 3077 int _v_len__ 2 = (_v_len9 - _v_len10);3078 int _v_len11 = _v_deref__Const__Expr__Aux1 2.length ();3055 int _v_len__12 = (_v_len9 - _v_len10); 3056 int _v_len11 = _v_deref__Const__Expr__Aux13.length (); 3079 3057 int _v_len12 = 0; 3080 3058 if (_v_len11 < _v_len12) … … 3082 3060 break _block2__branch2; 3083 3061 } 3084 int _v_len__ 12 = (_v_len11 - _v_len12);3062 int _v_len__2 = (_v_len11 - _v_len12); 3085 3063 Expr _ve_1 = Expr.empty; 3086 3064 _ve_1 = _v_deref__Const__Expr__Aux12.subexpr (0, _v_len__12); … … 3152 3130 Result _ve_j__expr = new Result (Expr.empty); 3153 3131 Const_Expr_Aux (Expr.empty, _ve_expr, _ve_j__expr); 3154 _v_res1.assign (Expr.concat ((Comparable ) Expr.getConcatenator ().toRight (_c_157).toRight (_ve_accum).toRight (_c_34).yield (), _ve_j__expr.getExpr ()));3132 _v_res1.assign (Expr.concat ((Comparable<?>) Expr.getConcatenator ().toRight (_c_157).toRight (_ve_accum).toRight (_c_34).yield (), _ve_j__expr.getExpr ())); 3155 3133 break _block1; 3156 3134 } … … 3190 3168 Result _ge_auxcall2 = new Result (Expr.empty); 3191 3169 Const_Expr_To_Java (_ve_paren__expr, _ge_auxcall2); 3192 _ve_java__item = new Expr ((Comparable ) Expr.concat (_c_117, _ge_auxcall2.getExpr ()));3170 _ve_java__item = new Expr ((Comparable<?>) Expr.concat (_c_117, _ge_auxcall2.getExpr ())); 3193 3171 break _block2; 3194 3172 } … … 3211 3189 Result _ge_auxcall3 = new Result (Expr.empty); 3212 3190 Name_To_Java (_vt_name, _ge_auxcall3); 3213 _ve_java__item = new Expr ((Comparable ) _ge_auxcall3.getExpr ());3191 _ve_java__item = new Expr ((Comparable<?>) _ge_auxcall3.getExpr ()); 3214 3192 break _block2; 3215 3193 } … … 3235 3213 Result _ge_auxcall4 = new Result (Expr.empty); 3236 3214 refal.plus.JavaMangle.Rfp2Java (_vt_item, _ge_auxcall4); 3237 _ve_java__item = new Expr ((Comparable ) _ge_auxcall4.getExpr ());3215 _ve_java__item = new Expr ((Comparable<?>) _ge_auxcall4.getExpr ()); 3238 3216 break _block2; 3239 3217 } … … 3256 3234 Result _ge_auxcall5 = new Result (Expr.empty); 3257 3235 Name_To_Java (_vt_name, _ge_auxcall5); 3258 _ve_java__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_161).toRight ((Comparable) Expr.getConcatenator ().toRight (_c_160).toRight ((Comparable) Expr.getConcatenator ().toRight (_c_159).toRight (_ge_auxcall5.getExpr ()).toRight (_c_158).yield ()).toRight (_c_14).yield ()).toRight (_c_14).yield ());3236 _ve_java__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_161).toRight ((Comparable<?>) Expr.getConcatenator ().toRight (_c_160).toRight ((Comparable<?>) Expr.getConcatenator ().toRight (_c_159).toRight (_ge_auxcall5.getExpr ()).toRight (_c_158).yield ()).toRight (_c_14).yield ()).toRight (_c_14).yield ()); 3259 3237 break _block2; 3260 3238 } … … 3277 3255 Result _ge_auxcall6 = new Result (Expr.empty); 3278 3256 Name_To_Java (_vt_name, _ge_auxcall6); 3279 _ve_java__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_161).toRight ((Comparable) Expr.getConcatenator ().toRight (_c_160).toRight ((Comparable) Expr.concat ((Comparable) Expr.concat (_ge_auxcall6.getExpr (), _c_158), _c_33)).toRight (_c_14).yield ()).toRight (_c_14).yield ());3257 _ve_java__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_161).toRight ((Comparable<?>) Expr.getConcatenator ().toRight (_c_160).toRight ((Comparable<?>) Expr.concat ((Comparable<?>) Expr.concat (_ge_auxcall6.getExpr (), _c_158), _c_33)).toRight (_c_14).yield ()).toRight (_c_14).yield ()); 3280 3258 break _block2; 3281 3259 } … … 3292 3270 break _block3__branch1; 3293 3271 } 3294 _ve_java__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_162).toRight (_vs_sym).toRight (_c_34).yield ());3272 _ve_java__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_162).toRight (_vs_sym).toRight (_c_34).yield ()); 3295 3273 break _block3; 3296 3274 } … … 3301 3279 Result _ge_auxcall7 = new Result (Expr.empty); 3302 3280 Symbol_To_Java (_vs_sym, _ge_auxcall7); 3303 _ve_java__item = new Expr ((Comparable ) Expr.getConcatenator ().toRight (_c_163).toRight (_ge_auxcall7.getExpr ()).toRight (_c_34).yield ());3281 _ve_java__item = new Expr ((Comparable<?>) Expr.getConcatenator ().toRight (_c_163).toRight (_ge_auxcall7.getExpr ()).toRight (_c_34).yield ()); 3304 3282 } 3305 3283 } … … 3800 3778 } 3801 3779 3802 @RefalFormat("$func ConvertTo 2 s e= e;")3803 static void ConvertTo 2 (Expr _vs_javaType, Expr _ve_varName, Result _v_res1) throws RefalException3780 @RefalFormat("$func ConvertTo t t = e;") 3781 static void ConvertTo (Expr _gt_arg1, Expr _gt_arg2, Result _v_res1) throws RefalException 3804 3782 { 3805 _block1: { 3806 _block1__branch1: { 3807 _block2: { 3808 _block2__branch1: { 3809 if (!_vs_javaType.termEquals (_c_176, 0)) 3810 { 3811 break _block2__branch1; 3812 } 3813 _v_res1.assign (Expr.getConcatenator ().toRight (_c_177).toRight (_ve_varName).toRight (_c_45).yield ()); 3814 break _block2; 3815 } 3816 _block2__branch2: { 3817 if (!_vs_javaType.termEquals (_c_178, 0)) 3818 { 3819 break _block2__branch2; 3820 } 3821 _v_res1.assign (Expr.getConcatenator ().toRight (_c_180).toRight (_ve_varName).toRight (_c_179).yield ()); 3822 break _block2; 3823 } 3824 _block2__branch3: { 3825 if (!_vs_javaType.termEquals (_c_181, 0)) 3826 { 3827 break _block2__branch3; 3828 } 3829 _v_res1.assign (Expr.getConcatenator ().toRight (_c_183).toRight (_ve_varName).toRight (_c_182).yield ()); 3830 break _block2; 3831 } 3832 _block2__branch4: { 3833 if (!_vs_javaType.termEquals (_c_184, 0)) 3834 { 3835 break _block2__branch4; 3836 } 3837 _v_res1.assign (Expr.getConcatenator ().toRight (_c_183).toRight (_ve_varName).toRight (_c_185).yield ()); 3838 break _block2; 3839 } 3840 _block2__branch5: { 3841 if (!_vs_javaType.termEquals (_c_186, 0)) 3842 { 3843 break _block2__branch5; 3844 } 3845 _v_res1.assign (Expr.getConcatenator ().toRight (_c_183).toRight (_ve_varName).toRight (_c_187).yield ()); 3846 break _block2; 3847 } 3848 if (!_vs_javaType.termEquals (_c_188, 0)) 3849 { 3850 break _block1__branch1; 3851 } 3852 _v_res1.assign (Expr.getConcatenator ().toRight (_c_183).toRight (_ve_varName).toRight (_c_189).yield ()); 3853 } 3854 break _block1; 3855 } 3856 _v_res1.assign (Expr.getConcatenator ().toRight (_c_135).toRight (_vs_javaType).toRight (_c_192).toRight (_ve_varName).toRight (_c_191).toRight (_ve_varName).toRight (_c_190).toRight (_ve_varName).toRight (_c_45).yield ()); 3857 } 3858 } 3859 3860 @RefalFormat("$func ConvertTo t t t = e;") 3861 static void ConvertTo (Expr _gt_arg1, Expr _gt_arg2, Expr _gt_arg3, Result _v_res1) throws RefalException 3862 { 3863 Expr _v_compose1 = Expr.getConcatenator ().toRight (_gt_arg1).toRight (_gt_arg2).toRight (_gt_arg3).yield (); 3783 Expr _v_compose1 = Expr.concat (_gt_arg1, _gt_arg2); 3864 3784 if (!_v_compose1.isSymbolAt (0)) 3865 3785 { … … 3870 3790 Expr _vt_var = Expr.empty; 3871 3791 _vt_var = _v_compose1.subexpr ((0 + 1), 1); 3872 Expr _vt_convVar = Expr.empty;3873 _vt_convVar = _v_compose1.subexpr ((0 + 1 + 1), 1);3874 3792 if (_vt_var.isSymbolAt (0)) 3875 3793 { … … 3883 3801 throw new RefalException ("org.refal.plus.compiler.rfp_asail_java", "ConvertTo", "Unexpected fail"); 3884 3802 } 3885 int _v_len___dollar_tmp_m_5 45_m_23 = (_v_len1 - _v_len2);3803 int _v_len___dollar_tmp_m_531_m_23 = (_v_len1 - _v_len2); 3886 3804 if (!_v_deref__var.isSymbolAt (0)) 3887 3805 { … … 3890 3808 Expr _vs_refType = Expr.empty; 3891 3809 _vs_refType = _v_deref__var.subexpr (0, 1); 3892 Expr _ve__dollar_tmp_m_5 45_m_23 = Expr.empty;3893 _ve__dollar_tmp_m_5 45_m_23 = _v_deref__var.subexpr ((0 + 1), _v_len___dollar_tmp_m_545_m_23);3810 Expr _ve__dollar_tmp_m_531_m_23 = Expr.empty; 3811 _ve__dollar_tmp_m_531_m_23 = _v_deref__var.subexpr ((0 + 1), _v_len___dollar_tmp_m_531_m_23); 3894 3812 _block1: { 3895 3813 _block1__branch1: { 3896 if (!_vs_refType.termEquals (_c_1 93, 0))3814 if (!_vs_refType.termEquals (_c_176, 0)) 3897 3815 { 3898 3816 break _block1__branch1; 3899 3817 } 3900 Result _ge_auxcall1 = new Result (Expr.empty); 3901 refal.plus.JavaMangle.Rfp2Java (_vt_convVar, _ge_auxcall1); 3902 Result _ge_auxcall2 = new Result (Expr.empty); 3903 refal.plus.JavaMangle.Rfp2Java (_vt_var, _ge_auxcall2); 3904 Result _ge_auxcall3 = new Result (Expr.empty); 3905 ConvertTo2 (_vs_javaType, Expr.concat (_ge_auxcall2.getExpr (), _c_194), _ge_auxcall3); 3906 _v_res1.assign (new Expr ((Comparable) Expr.getConcatenator ().toRight (_vs_javaType).toRight (_c_40).toRight (_ge_auxcall1.getExpr ()).toRight (_c_55).toRight (_ge_auxcall3.getExpr ()).toRight (_c_6).yield ())); 3818 _block2: { 3819 _block2__branch1: { 3820 _block3: { 3821 _block3__branch1: { 3822 if (!_vs_javaType.termEquals (_c_177, 0)) 3823 { 3824 break _block3__branch1; 3825 } 3826 break _block3; 3827 } 3828 _block3__branch2: { 3829 if (!_vs_javaType.termEquals (_c_178, 0)) 3830 { 3831 break _block3__branch2; 3832 } 3833 break _block3; 3834 } 3835 _block3__branch3: { 3836 if (!_vs_javaType.termEquals (_c_179, 0)) 3837 { 3838 break _block3__branch3; 3839 } 3840 break _block3; 3841 } 3842 _block3__branch4: { 3843 if (!_vs_javaType.termEquals (_c_180, 0)) 3844 { 3845 break _block3__branch4; 3846 } 3847 break _block3; 3848 } 3849 _block3__branch5: { 3850 if (!_vs_javaType.termEquals (_c_181, 0)) 3851 { 3852 break _block3__branch5; 3853 } 3854 break _block3; 3855 } 3856 if (!_vs_javaType.termEquals (_c_182, 0)) 3857 { 3858 break _block2__branch1; 3859 } 3860 } 3861 Result _ge_auxcall1 = new Result (Expr.empty); 3862 refal.plus.JavaMangle.Rfp2Java (_vt_var, _ge_auxcall1); 3863 _v_res1.assign (Expr.getConcatenator ().toRight (_c_185).toRight (_vs_javaType).toRight (_c_184).toRight (_ge_auxcall1.getExpr ()).toRight (_c_183).yield ()); 3864 break _block2; 3865 } 3866 Result _ge_auxcall2 = new Result (Expr.empty); 3867 refal.plus.JavaMangle.Rfp2Java (_vt_var, _ge_auxcall2); 3868 _v_res1.assign (Expr.getConcatenator ().toRight (_c_188).toRight (_vs_javaType).toRight (_c_187).toRight (_ge_auxcall2.getExpr ()).toRight (_c_186).yield ()); 3869 } 3907 3870 break _block1; 3908 3871 } 3909 if (!_vs_refType.termEquals (_c_1 95, 0))3872 if (!_vs_refType.termEquals (_c_189, 0)) 3910 3873 { 3911 3874 throw new RefalException ("org.refal.plus.compiler.rfp_asail_java", "ConvertTo", "Unexpected fail"); … … 3920 3883 } 3921 3884 int _v_len__javaElemType = (_v_len3 - _v_len4); 3922 if (!_c_19 6.equals (_v_ToChars1.getExpr (), (0 + _v_len__javaElemType)))3885 if (!_c_190.equals (_v_ToChars1.getExpr (), (0 + _v_len__javaElemType))) 3923 3886 { 3924 3887 throw new RefalException ("org.refal.plus.compiler.rfp_asail_java", "ConvertTo", "Unexpected fail"); … … 3928 3891 Result _vs_javaElemType = new Result (Expr.empty); 3929 3892 refal.plus.Convert.ToWord (_ve_javaElemType, _vs_javaElemType); 3930 Result _ge_auxcall4 = new Result (Expr.empty); 3931 refal.plus.JavaMangle.Rfp2Java (_vt_convVar, _ge_auxcall4); 3932 Result _ge_auxcall5 = new Result (Expr.empty); 3933 refal.plus.JavaMangle.Rfp2Java (_vt_var, _ge_auxcall5); 3934 Result _ge_auxcall6 = new Result (Expr.empty); 3935 refal.plus.JavaMangle.Rfp2Java (_vt_convVar, _ge_auxcall6); 3936 Result _ge_auxcall7 = new Result (Expr.empty); 3937 refal.plus.JavaMangle.Rfp2Java (_vt_convVar, _ge_auxcall7); 3938 Result _ge_auxcall8 = new Result (Expr.empty); 3939 refal.plus.JavaMangle.Rfp2Java (_vt_var, _ge_auxcall8); 3940 Result _ge_auxcall9 = new Result (Expr.empty); 3941 ConvertTo2 (_vs_javaElemType.getExpr (), Expr.concat (_ge_auxcall8.getExpr (), _c_197), _ge_auxcall9); 3942 _v_res1.assign (Expr.concat ((Comparable) Expr.getConcatenator ().toRight (_vs_javaType).toRight (_ge_auxcall4.getExpr ()).toRight (_c_200).toRight (_vs_javaElemType.getExpr ()).toRight (_c_199).toRight (_ge_auxcall5.getExpr ()).toRight (_c_198).yield (), (Comparable) Expr.getConcatenator ().toRight (_c_203).toRight (_ge_auxcall6.getExpr ()).toRight (_c_202).toRight ((Comparable) Expr.getConcatenator ().toRight (_ge_auxcall7.getExpr ()).toRight (_c_201).toRight (_ge_auxcall9.getExpr ()).toRight (_c_6).yield ()).yield ())); 3893 _block4: { 3894 _block4__branch1: { 3895 _block5: { 3896 _block5__branch1: { 3897 if (!_vs_javaElemType.getExpr ().termEquals (_c_177, 0)) 3898 { 3899 break _block5__branch1; 3900 } 3901 break _block5; 3902 } 3903 _block5__branch2: { 3904 if (!_vs_javaElemType.getExpr ().termEquals (_c_178, 0)) 3905 { 3906 break _block5__branch2; 3907 } 3908 break _block5; 3909 } 3910 _block5__branch3: { 3911 if (!_vs_javaElemType.getExpr ().termEquals (_c_179, 0)) 3912 { 3913 break _block5__branch3; 3914 } 3915 break _block5; 3916 } 3917 _block5__branch4: { 3918 if (!_vs_javaElemType.getExpr ().termEquals (_c_180, 0)) 3919 { 3920 break _block5__branch4; 3921 } 3922 break _block5; 3923 } 3924 _block5__branch5: { 3925 if (!_vs_javaElemType.getExpr ().termEquals (_c_181, 0)) 3926 { 3927 break _block5__branch5; 3928 } 3929 break _block5; 3930 } 3931 if (!_vs_javaElemType.getExpr ().termEquals (_c_182, 0)) 3932 { 3933 break _block4__branch1; 3934 } 3935 } 3936 Result _ge_auxcall3 = new Result (Expr.empty); 3937 refal.plus.JavaMangle.Rfp2Java (_vt_var, _ge_auxcall3); 3938 _v_res1.assign (Expr.getConcatenator ().toRight (_c_185).toRight (_vs_javaElemType.getExpr ()).toRight (_c_191).toRight (_ge_auxcall3.getExpr ()).toRight (_c_45).yield ()); 3939 break _block4; 3940 } 3941 Result _ge_auxcall4 = new Result (Expr.empty); 3942 refal.plus.JavaMangle.Rfp2Java (_vt_var, _ge_auxcall4); 3943 Result _ge_auxcall5 = new Result (Expr.empty); 3944 refal.plus.JavaMangle.Rfp2Java (_vt_var, _ge_auxcall5); 3945 _v_res1.assign (Expr.getConcatenator ().toRight (_c_188).toRight (_vs_javaType).toRight (_c_195).toRight (_ge_auxcall4.getExpr ()).toRight (_c_194).toRight (_vs_javaElemType.getExpr ()).toRight (_c_193).toRight (_ge_auxcall5.getExpr ()).toRight (_c_192).yield ()); 3946 } 3943 3947 } 3944 3948 } 3945 3949 3946 @RefalFormat("$func ConvertFrom 2 se = e;")3947 static void ConvertFrom 2 (Expr _vs_javaType, Expr _ve_varName, Result _v_res1) throws RefalException3950 @RefalFormat("$func ConvertFrom t e = e;") 3951 static void ConvertFrom (Expr _vt_var, Expr _ve_arg, Result _v_res1) throws RefalException 3948 3952 { 3949 _block1: {3950 _block1__branch1: {3951 _block2: {3952 _block2__branch1: {3953 if (!_vs_javaType.termEquals (_c_176, 0))3954 {3955 break _block2__branch1;3956 }3957 _v_res1.assign (Expr.getConcatenator ().toRight (_c_204).toRight (_ve_varName).toRight (_c_45).yield ());3958 break _block2;3959 }3960 _block2__branch2: {3961 if (!_vs_javaType.termEquals (_c_178, 0))3962 {3963 break _block2__branch2;3964 }3965 _v_res1.assign (Expr.getConcatenator ().toRight (_c_205).toRight (_ve_varName).toRight (_c_45).yield ());3966 break _block2;3967 }3968 _block3: {3969 _block3__branch1: {3970 if (!_vs_javaType.termEquals (_c_181, 0))3971 {3972 break _block3__branch1;3973 }3974 break _block3;3975 }3976 _block3__branch2: {3977 if (!_vs_javaType.termEquals (_c_184, 0))3978 {3979 break _block3__branch2;3980 }3981 break _block3;3982 }3983 _block3__branch3: {3984 if (!_vs_javaType.termEquals (_c_186, 0))3985 {3986 break _block3__branch3;3987 }3988 break _block3;3989 }3990 if (!_vs_javaType.termEquals (_c_188, 0))3991 {3992 break _block1__branch1;3993 }3994 }3995 _v_res1.assign (Expr.getConcatenator ().toRight (_c_206).toRight (_ve_varName).toRight (_c_45).yield ());3996 }3997 break _block1;3998 }3999 _v_res1.assign (Expr.getConcatenator ().toRight (_c_135).toRight (_ve_varName).toRight (_c_209).toRight (_ve_varName).toRight (_c_208).toRight (_vs_javaType).toRight (_c_207).toRight (_ve_varName).toRight (_c_45).yield ());4000 }4001 }4002 4003 @RefalFormat("$func ConvertFrom s t t = e;")4004 static void ConvertFrom (Expr _vs_javaType, Expr _vt_var, Expr _vt_convVar, Result _v_res1) throws RefalException4005 {4006 refal.plus.StdIO.WriteLn (Expr.getConcatenator ().toRight (_vs_javaType).toRight (_vt_var).toRight (_vt_convVar).yield ());4007 3953 if (_vt_var.isSymbolAt (0)) 4008 3954 { … … 4016 3962 throw new RefalException ("org.refal.plus.compiler.rfp_asail_java", "ConvertFrom", "Unexpected fail"); 4017 3963 } 4018 int _v_len___dollar_tmp_m_5 71_m_23 = (_v_len1 - _v_len2);3964 int _v_len___dollar_tmp_m_549_m_23 = (_v_len1 - _v_len2); 4019 3965 if (!_v_deref__var.isSymbolAt (0)) 4020 3966 { … … 4023 3969 Expr _vs_refType = Expr.empty; 4024 3970 _vs_refType = _v_deref__var.subexpr (0, 1); 4025 Expr _ve__dollar_tmp_m_5 71_m_23 = Expr.empty;4026 _ve__dollar_tmp_m_5 71_m_23 = _v_deref__var.subexpr ((0 + 1), _v_len___dollar_tmp_m_571_m_23);3971 Expr _ve__dollar_tmp_m_549_m_23 = Expr.empty; 3972 _ve__dollar_tmp_m_549_m_23 = _v_deref__var.subexpr ((0 + 1), _v_len___dollar_tmp_m_549_m_23); 4027 3973 _block1: { 4028 3974 _block1__branch1: { 4029 if (!_vs_refType.termEquals (_c_1 93, 0))3975 if (!_vs_refType.termEquals (_c_176, 0)) 4030 3976 { 4031 3977 break _block1__branch1; 4032 3978 } 4033 Result _ge_auxcall1 = new Result (Expr.empty); 4034 refal.plus.JavaMangle.Rfp2Java (_vt_var, _ge_auxcall1); 4035 Result _ge_auxcall2 = new Result (Expr.empty); 4036 refal.plus.JavaMangle.Rfp2Java (_vt_convVar, _ge_auxcall2); 4037 Result _ge_auxcall3 = new Result (Expr.empty); 4038 ConvertFrom2 (_vs_javaType, _ge_auxcall2.getExpr (), _ge_auxcall3); 4039 _v_res1.assign (new Expr ((Comparable) Expr.getConcatenator ().toRight (_ge_auxcall1.getExpr ()).toRight (_c_210).toRight (_ge_auxcall3.getExpr ()).toRight (_c_75).yield ())); 3979 _v_res1.assign (Expr.getConcatenator ().toRight (_c_196).toRight (_ve_arg).toRight (_c_45).yield ()); 4040 3980 break _block1; 4041 3981 } 4042 if (!_vs_refType.termEquals (_c_1 95, 0))3982 if (!_vs_refType.termEquals (_c_189, 0)) 4043 3983 { 4044 3984 throw new RefalException ("org.refal.plus.compiler.rfp_asail_java", "ConvertFrom", "Unexpected fail"); 4045 3985 } 4046 Result _v_ToChars1 = new Result (Expr.empty); 4047 refal.plus.Convert.ToChars (_vs_javaType, _v_ToChars1); 4048 int _v_len3 = _v_ToChars1.getExpr ().length (); 4049 int _v_len4 = 2; 4050 if (_v_len3 < _v_len4) 4051 { 4052 throw new RefalException ("org.refal.plus.compiler.rfp_asail_java", "ConvertFrom", "Unexpected fail"); 4053 } 4054 int _v_len__javaElemType = (_v_len3 - _v_len4); 4055 if (!_c_196.equals (_v_ToChars1.getExpr (), (0 + _v_len__javaElemType))) 4056 { 4057 throw new RefalException ("org.refal.plus.compiler.rfp_asail_java", "ConvertFrom", "Unexpected fail"); 4058 } 4059 Expr _ve_javaElemType = Expr.empty; 4060 _ve_javaElemType = _v_ToChars1.getExpr ().subexpr (0, _v_len__javaElemType); 4061 Result _vs_javaElemType = new Result (Expr.empty); 4062 refal.plus.Convert.ToWord (_ve_javaElemType, _vs_javaElemType); 4063 Result _ge_auxcall4 = new Result (Expr.empty); 4064 refal.plus.JavaMangle.Rfp2Java (_vt_var, _ge_auxcall4); 4065 Result _ge_auxcall5 = new Result (Expr.empty); 4066 refal.plus.JavaMangle.Rfp2Java (_vt_convVar, _ge_auxcall5); 4067 Result _ge_auxcall6 = new Result (Expr.empty); 4068 refal.plus.JavaMangle.Rfp2Java (_vt_var, _ge_auxcall6); 4069 Result _ge_auxcall7 = new Result (Expr.empty); 4070 refal.plus.JavaMangle.Rfp2Java (_vt_var, _ge_auxcall7); 4071 Result _ge_auxcall8 = new Result (Expr.empty); 4072 refal.plus.JavaMangle.Rfp2Java (_vt_convVar, _ge_auxcall8); 4073 Result _ge_auxcall9 = new Result (Expr.empty); 4074 ConvertFrom2 (_vs_javaElemType.getExpr (), Expr.concat (_ge_auxcall8.getExpr (), _c_211), _ge_auxcall9); 4075 Result _ge_auxcall10 = new Result (Expr.empty); 4076 refal.plus.JavaMangle.Rfp2Java (_vt_var, _ge_auxcall10); 4077 Result _ge_auxcall11 = new Result (Expr.empty); 4078 refal.plus.JavaMangle.Rfp2Java (_vt_var, _ge_auxcall11); 4079 _v_res1.assign (Expr.getConcatenator ().toRight ((Comparable) Expr.getConcatenator ().toRight (_c_214).toRight (_ge_auxcall4.getExpr ()).toRight (_c_213).toRight (_ge_auxcall5.getExpr ()).toRight (_c_212).yield ()).toRight ((Comparable) Expr.getConcatenator ().toRight (_c_216).toRight (_ge_auxcall6.getExpr ()).toRight (_c_202).toRight ((Comparable) Expr.getConcatenator ().toRight (_c_215).toRight (_ge_auxcall7.getExpr ()).toRight (_c_201).toRight (_ge_auxcall9.getExpr ()).toRight (_c_6).yield ()).yield ()).toRight ((Comparable) Expr.getConcatenator ().toRight (_ge_auxcall10.getExpr ()).toRight (_c_217).toRight (_ge_auxcall11.getExpr ()).toRight (_c_75).yield ()).yield ()); 3986 _v_res1.assign (Expr.getConcatenator ().toRight (_c_197).toRight (_ve_arg).toRight (_c_45).yield ()); 4080 3987 } 4081 3988 } 4082 3989 4083 3990 @RefalFormat("$func WrapGen s s t (e) (e) e = e;") 4084 static void WrapGen (Expr _ vs_linkage, Expr _vs_tag, Expr _vt_qname, Expr _ve_in, Expr _ve_out, Expr _ve_native, Result _v_res1) throws RefalException3991 static void WrapGen (Expr _gs_arg1, Expr _gs_arg2, Expr _gt_arg3, Expr _ge_arg4, Expr _ge_arg5, Expr _ge_arg6, Result _v_res1) throws RefalException 4085 3992 { 3993 int _v_len1 = (_ge_arg6.length () + 5); 3994 int _v_len2 = 5; 3995 if (_v_len1 < _v_len2) 3996 { 3997 throw new RefalException ("org.refal.plus.compiler.rfp_asail_java", "WrapGen", "Unexpected fail"); 3998 } 3999 int _v_len__native = (_v_len1 - _v_len2); 4000 Expr _v_compose1 = Expr.getConcatenator ().toRight (_gs_arg1).toRight (_gs_arg2).toRight (_gt_arg3).toRight ((Comparable<?>) _ge_arg4).toRight ((Comparable<?>) _ge_arg5).toRight (_ge_arg6).yield (); 4001 if (_v_compose1.isSymbolAt ((0 + 1 + 1 + 1))) 4002 { 4003 throw new RefalException ("org.refal.plus.compiler.rfp_asail_java", "WrapGen", "Unexpected fail"); 4004 } 4005 if (_v_compose1.isSymbolAt ((0 + 1 + 1 + 1 + 1))) 4006 { 4007 throw new RefalException ("org.refal.plus.compiler.rfp_asail_java", "WrapGen", "Unexpected fail"); 4008 } 4009 Expr _v_deref__compose1 = (Expr) _v_compose1.at ((0 + 1 + 1 + 1)); 4010 Expr _v_deref__compose12 = (Expr) _v_compose1.at ((0 + 1 + 1 + 1 + 1)); 4011 int _v_len3 = _v_deref__compose1.length (); 4012 int _v_len4 = 0; 4013 if (_v_len3 < _v_len4) 4014 { 4015 throw new RefalException ("org.refal.plus.compiler.rfp_asail_java", "WrapGen", "Unexpected fail"); 4016 } 4017 int _v_len__in = (_v_len3 - _v_len4); 4018 int _v_len5 = _v_deref__compose12.length (); 4019 int _v_len6 = 0; 4020 if (_v_len5 < _v_len6) 4021 { 4022 throw new RefalException ("org.refal.plus.compiler.rfp_asail_java", "WrapGen", "Unexpected fail"); 4023 } 4024 int _v_len__out = (_v_len5 - _v_len6); 4025 if (!_v_compose1.isSymbolAt (0)) 4026 { 4027 throw new RefalException ("org.refal.plus.compiler.rfp_asail_java", "WrapGen", "Unexpected fail"); 4028 } 4029 if (!_c_29.termEquals (_v_compose1, (0 + 1))) 4030 { 4031 throw new RefalException ("org.refal.plus.compiler.rfp_asail_java", "WrapGen", "Unexpected fail"); 4032 } 4033 Expr _vs_linkage = Expr.empty; 4034 _vs_linkage = _v_compose1.subexpr (0, 1); 4035 Expr _vt_qname = Expr.empty; 4036 _vt_qname = _v_compose1.subexpr ((0 + 1 + 1), 1); 4037 Expr _ve_native = Expr.empty; 4038 _ve_native = _v_compose1.subexpr ((0 + 1 + 1 + 1 + 1 + 1), _v_len__native); 4039 Expr _ve_in = Expr.empty; 4040 _ve_in = _v_deref__compose1.subexpr (0, _v_len__in); 4041 Expr _ve_out = Expr.empty; 4042 _ve_out = _v_deref__compose12.subexpr (0, _v_len__out); 4043 _block1: { 4044 _block1__branch1: { 4045 Result _v_Get1 = new Result (Expr.empty); 4046 refal.plus.Box.Get (Entry, _v_Get1); 4047 if (_v_Get1.getExpr ().length () < 1) 4048 { 4049 break _block1__branch1; 4050 } 4051 Expr.SplitIterator _va_19 = _v_Get1.getExpr ().leftSplit(0); 4052 _exit1: _continue1: for ( ; ; _va_19.next ()) 4053 { 4054 Expr _ve__dollar_tmp_m_556_m_21 = _va_19.getLeft(); 4055 Expr _v_lsplit__Get1 = _va_19.getRight(); 4056 if (!_va_19.isValid ()) 4057 { 4058 break _block1__branch1; 4059 } 4060 int _v_len7 = _v_lsplit__Get1.length (); 4061 int _v_len8 = 1; 4062 if (_v_len7 < _v_len8) 4063 { 4064 break _block1__branch1; 4065 } 4066 int _v_len___dollar_tmp_m_556_m_31 = (_v_len7 - _v_len8); 4067 if (!_vt_qname.termEquals (_v_lsplit__Get1, 0)) 4068 { 4069 continue _continue1; 4070 } 4071 Expr _ve__dollar_tmp_m_556_m_31 = Expr.empty; 4072 _ve__dollar_tmp_m_556_m_31 = _v_lsplit__Get1.subexpr ((0 + 1), _v_len___dollar_tmp_m_556_m_31); 4073 refal.plus.Box.Store (Entry_Name, _vt_qname); 4074 break _exit1; 4075 } 4076 break _block1; 4077 } 4078 } 4086 4079 Result _gs_auxcall1 = new Result (Expr.empty); 4087 4080 refal.plus.Convert.ToWord (_ve_native, _gs_auxcall1); … … 4092 4085 Result _ve_javaArgTypes = new Result (Expr.empty); 4093 4086 NativeJava.DeclarationReader (_gs_auxcall1.getExpr (), _vs_static, _vs_javaResType, _vs_className, _vs_methodName, _ve_javaArgTypes); 4094 Expr _ve_return__type = Expr.empty; 4095 Expr _ve_return = Expr.empty; 4096 _block1: { 4097 _block1__branch1: { 4098