void string_not_equal1(CL_FORM *base) { COPY(ARG(0), ARG(6)); Fstring(ARG(6)); COPY(ARG(6), ARG(0)); COPY(ARG(1), ARG(6)); Fstring(ARG(6)); COPY(ARG(6), ARG(1)); if(CL_TRUEP(ARG(3))) { } else { COPY(ARG(0), ARG(6)); Flength(ARG(6)); COPY(ARG(6), ARG(3)); } if(CL_TRUEP(ARG(5))) { } else { COPY(ARG(1), ARG(5)); Flength(ARG(5)); } COPY(ARG(2), ARG(6)); COPY(ARG(4), ARG(7)); LOAD_NIL(ARG(8)); LOAD_NIL(ARG(9)); M1_1:; COPY(ARG(6), ARG(10)); COPY(ARG(3), ARG(11)); Fnumeql(ARG(10), 2); if(CL_TRUEP(ARG(10))) { COPY(ARG(7), ARG(10)); COPY(ARG(5), ARG(11)); Fnumeql(ARG(10), 2); if(CL_TRUEP(ARG(10))) { LOAD_NIL(ARG(0)); } else { COPY(ARG(6), ARG(0)); } goto RETURN2; } COPY(ARG(7), ARG(10)); COPY(ARG(5), ARG(11)); Fnumeql(ARG(10), 2); if(CL_TRUEP(ARG(10))) { COPY(ARG(6), ARG(0)); goto RETURN2; } COPY(ARG(0), ARG(10)); COPY(ARG(6), ARG(11)); COPY(ARG(10), ARG(12)); COPY(ARG(11), ARG(13)); Frow_major_aref(ARG(12)); COPY(ARG(12), ARG(8)); COPY(ARG(1), ARG(10)); COPY(ARG(7), ARG(11)); COPY(ARG(10), ARG(9)); COPY(ARG(11), ARG(10)); Frow_major_aref(ARG(9)); if(CL_CHARP(ARG(8))) { COPY(ARG(8), ARG(10)); } else { COPY(SYMVAL(Slisp, 58), ARG(10)); /* WRONG_TYPE */ COPY(ARG(8), ARG(11)); LOAD_SYMBOL(SYMBOL(Slisp, 18), ARG(12)); /* CHARACTER */ Ferror(ARG(10), 3); } rt_char_upcase(ARG(10)); rt_char_code(ARG(10)); if(CL_CHARP(ARG(9))) { COPY(ARG(9), ARG(11)); } else { COPY(SYMVAL(Slisp, 58), ARG(11)); /* WRONG_TYPE */ COPY(ARG(9), ARG(12)); LOAD_SYMBOL(SYMBOL(Slisp, 18), ARG(13)); /* CHARACTER */ Ferror(ARG(11), 3); } rt_char_upcase(ARG(11)); rt_char_code(ARG(11)); Fnumeql(ARG(10), 2); if(CL_TRUEP(ARG(10))) { } else { COPY(ARG(6), ARG(0)); goto RETURN1; } COPY(ARG(6), ARG(10)); F1plus(ARG(10)); COPY(ARG(7), ARG(11)); F1plus(ARG(11)); COPY(ARG(11), ARG(7)); COPY(ARG(10), ARG(6)); goto M1_1; RETURN2:; RETURN1:; }
void string_capitalize1(CL_FORM *base) { COPY(ARG(0), ARG(3)); Fstring(ARG(3)); COPY(ARG(3), ARG(0)); COPY(ARG(1), ARG(3)); COPY(ARG(2), ARG(4)); COPY(ARG(0), ARG(5)); Flength(ARG(5)); check_seq_start_end(ARG(3)); COPY(ARG(3), ARG(2)); COPY(ARG(0), ARG(3)); COPY(ARG(3), ARG(4)); COPY(ARG(4), ARG(5)); LOAD_FIXNUM(ARG(6), 0, ARG(6)); LOAD_NIL(ARG(7)); subseq1(ARG(5)); COPY(ARG(5), ARG(0)); COPY(ARG(1), ARG(3)); LOAD_NIL(ARG(4)); LOAD_NIL(ARG(5)); M1_1:; COPY(ARG(3), ARG(6)); COPY(ARG(2), ARG(7)); Fnumeql(ARG(6), 2); if(CL_TRUEP(ARG(6))) { goto RETURN1; } COPY(ARG(0), ARG(6)); COPY(ARG(3), ARG(7)); if(CL_SMSTRP(ARG(6))) { } else { COPY(SYMVAL(Slisp, 58), ARG(8)); /* WRONG_TYPE */ COPY(ARG(6), ARG(9)); LOAD_SYMBOL(SYMBOL(Slisp, 40), ARG(10)); /* SIMPLE-STRING */ Ferror(ARG(8), 3); } COPY(ARG(6), ARG(8)); COPY(ARG(7), ARG(9)); COPY(ARG(9), ARG(10)); LOAD_FIXNUM(ARG(12), AR_SIZE(GET_FORM(ARG(8))), ARG(11)); F1minus(ARG(11)); if(CL_FIXNUMP(ARG(10))) { LOAD_FIXNUM(ARG(12), 0, ARG(12)); COPY(ARG(10), ARG(13)); COPY(ARG(11), ARG(14)); Fle(ARG(12), 3); } else { goto ELSE1; } if(CL_TRUEP(ARG(12))) { } else { ELSE1:; COPY(SYMVAL(Slisp, 153), ARG(10)); /* OUT_OF_RANGE */ COPY(ARG(9), ARG(11)); LOAD_FIXNUM(ARG(13), AR_SIZE(GET_FORM(ARG(8))), ARG(12)); Ferror(ARG(10), 3); } COPY(ARG(8), ARG(5)); COPY(ARG(9), ARG(6)); rt_pvref(ARG(5)); if(CL_CHARP(ARG(5))) { COPY(ARG(5), ARG(6)); } else { COPY(SYMVAL(Slisp, 58), ARG(6)); /* WRONG_TYPE */ COPY(ARG(5), ARG(7)); LOAD_SYMBOL(SYMBOL(Slisp, 18), ARG(8)); /* CHARACTER */ Ferror(ARG(6), 3); } rt_alpha_char_p(ARG(6)); if(CL_TRUEP(ARG(6))) { goto THEN2; } else { COPY(ARG(5), ARG(7)); LOAD_FIXNUM(ARG(8), 10, ARG(8)); digit_char_p1(ARG(7)); } if(CL_TRUEP(ARG(7))) { THEN2:; if(CL_TRUEP(ARG(4))) { if(CL_CHARP(ARG(5))) { COPY(ARG(5), ARG(6)); } else { COPY(SYMVAL(Slisp, 58), ARG(6)); /* WRONG_TYPE */ COPY(ARG(5), ARG(7)); LOAD_SYMBOL(SYMBOL(Slisp, 18), ARG(8)); /* CHARACTER */ Ferror(ARG(6), 3); } rt_char_downcase(ARG(6)); } else { LOAD_SYMBOL(SYMBOL(Slisp, 48), ARG(4)); /* T */ if(CL_CHARP(ARG(5))) { COPY(ARG(5), ARG(6)); } else { COPY(SYMVAL(Slisp, 58), ARG(6)); /* WRONG_TYPE */ COPY(ARG(5), ARG(7)); LOAD_SYMBOL(SYMBOL(Slisp, 18), ARG(8)); /* CHARACTER */ Ferror(ARG(6), 3); } rt_char_upcase(ARG(6)); } } else { LOAD_NIL(ARG(4)); COPY(ARG(5), ARG(6)); } COPY(ARG(6), ARG(7)); COPY(ARG(0), ARG(8)); COPY(ARG(3), ARG(9)); Fset_schar(ARG(7)); F1plus(ARG(3)); goto M1_1; RETURN1:; }
void Fchar_equal(CL_FORM *base, int nargs) { CL_FORM *rest_0; CL_FORM *local; rest_0 = ARG(1); local = ARG(nargs); { CL_FORM *rest_1; LOAD_NIL(LOCAL(0)); rest_1 = rest_0; M1_1:; if(NOT(REST_NOT_EMPTY(rest_1))) { LOAD_NIL(LOCAL(0)); LOAD_SYMBOL(SYMBOL(Slisp, 48), ARG(0)); /* T */ goto RETURN1; } { CL_FORM *rest_2; rest_2 = rest_1; REST_CAR(rest_2, LOCAL(0)); } { if(CL_CHARP(LOCAL(0))) { COPY(LOCAL(0), LOCAL(1)); } else { COPY(SYMVAL(Slisp, 58), LOCAL(1)); /* WRONG_TYPE */ COPY(LOCAL(0), LOCAL(2)); LOAD_SYMBOL(SYMBOL(Slisp, 18), LOCAL(3)); /* CHARACTER */ Ferror(LOCAL(1), 3); } rt_char_upcase(LOCAL(1)); rt_char_code(LOCAL(1)); } { if(CL_CHARP(ARG(0))) { COPY(ARG(0), LOCAL(2)); } else { COPY(SYMVAL(Slisp, 58), LOCAL(2)); /* WRONG_TYPE */ COPY(ARG(0), LOCAL(3)); LOAD_SYMBOL(SYMBOL(Slisp, 18), LOCAL(4)); /* CHARACTER */ Ferror(LOCAL(2), 3); } rt_char_upcase(LOCAL(2)); rt_char_code(LOCAL(2)); } Fnumeql(LOCAL(1), 2); if(CL_TRUEP(LOCAL(1))) { LOAD_NIL(ARG(0)); goto RETURN1; } { CL_FORM *rest_3; rest_3 = rest_1; rest_1 = REST_CDR(rest_3); } goto M1_1; } RETURN1:; }
static void Z49_lambda(CL_FORM *base) { LOAD_NIL(ARG(3)); COPY(ARG(1), ARG(4)); LOAD_SYMBOL(SYMBOL(Slisp, 48), ARG(5)); /* T */ LOAD_NIL(ARG(6)); LOAD_SYMBOL(SYMBOL(Slisp, 48), ARG(7)); /* T */ read_char1(ARG(4)); COPY(ARG(4), ARG(5)); LOAD_FIXNUM(ARG(6), 10, ARG(6)); digit_char_p1(ARG(5)); LOAD_NIL(ARG(6)); if(CL_TRUEP(ARG(5))) { COPY(ARG(5), ARG(3)); M1_1: ; COPY(ARG(1), ARG(7)); COPY(ARG(7), ARG(8)); LOAD_SYMBOL(SYMBOL(Slisp, 48), ARG(9)); /* T */ LOAD_NIL(ARG(10)); LOAD_SYMBOL(SYMBOL(Slisp, 48), ARG(11)); /* T */ read_char1(ARG(8)); COPY(ARG(8), ARG(4)); COPY(ARG(4), ARG(7)); COPY(ARG(7), ARG(8)); LOAD_FIXNUM(ARG(9), 10, ARG(9)); digit_char_p1(ARG(8)); COPY(ARG(8), ARG(5)); if(CL_TRUEP(ARG(5))) { } else { if(CL_TRUEP(SYMVAL(Slisp, 418))) /* *READ-SUPPRESS* */ { LOAD_NIL(ARG(3)); } goto RETURN1; } COPY(ARG(5), ARG(7)); LOAD_FIXNUM(ARG(8), 10, ARG(8)); COPY(ARG(3), ARG(9)); Fmult(ARG(8), 2); Fplus(ARG(7), 2); COPY(ARG(7), ARG(3)); goto M1_1; RETURN1: ; } COPY(INDIRECT(GET_FORM(ARG(0)) + 3), ARG(7)); COPY(ARG(4), ARG(8)); if(CL_CHARP(ARG(8))) { COPY(ARG(8), ARG(9)); } else { COPY(SYMVAL(Slisp, 58), ARG(9)); /* WRONG_TYPE */ COPY(ARG(8), ARG(10)); LOAD_SYMBOL(SYMBOL(Slisp, 18), ARG(11)); /* CHARACTER */ Ferror(ARG(9), 3); } rt_char_upcase(ARG(9)); COPY(ARG(9), ARG(8)); rt_char_code(ARG(8)); COPY(ARG(7), ARG(9)); LOAD_BOOL(CL_SMVECP(ARG(9)), ARG(10)); if(CL_TRUEP(ARG(10))) { goto THEN1; } else { COPY(ARG(9), ARG(11)); COPY(ARG(11), ARG(12)); LOAD_SYMBOL(SYMBOL(Slisp, 150), ARG(13)); /* COMPLEX-VECTOR */ rt_struct_typep(ARG(12)); } if(CL_TRUEP(ARG(12))) { THEN1: ; } else { COPY(SYMVAL(Slisp, 58), ARG(9)); /* WRONG_TYPE */ COPY(ARG(7), ARG(10)); LOAD_SYMBOL(SYMBOL(Slisp, 47), ARG(11)); /* VECTOR */ Ferror(ARG(9), 3); } COPY(ARG(7), ARG(6)); COPY(ARG(8), ARG(7)); Frow_major_aref(ARG(6)); if(CL_TRUEP(ARG(6))) { } else { LOAD_SMSTR((CL_FORM *)&Kmake_dispatch_macro_character1[0], ARG(7)); /* no ~S dispatch function defined for subchar ~S ~ (with arg ~S) */ COPY(ARG(2), ARG(8)); COPY(ARG(4), ARG(9)); COPY(ARG(3), ARG(10)); Ferror(ARG(7), 4); } COPY(ARG(6), ARG(7)); COPY(ARG(1), ARG(8)); COPY(ARG(4), ARG(9)); COPY(ARG(3), ARG(10)); Ffuncall(ARG(7), 4); COPY(ARG(7), ARG(0)); }