static int r_prelude(struct SN_env * z) { while(1) { /* repeat, line 38 */ int c = z->c; while(1) { /* goto, line 38 */ int c = z->c; { int c = z->c; /* or, line 44 */ if (!(in_grouping(z, g_v, 97, 251))) goto lab3; z->bra = z->c; /* [, line 40 */ { int c = z->c; /* or, line 40 */ if (!(eq_s(z, 1, s_0))) goto lab5; z->ket = z->c; /* ], line 40 */ if (!(in_grouping(z, g_v, 97, 251))) goto lab5; slice_from_s(z, 1, s_1); /* <-, line 40 */ goto lab4; lab5: z->c = c; if (!(eq_s(z, 1, s_2))) goto lab6; z->ket = z->c; /* ], line 41 */ if (!(in_grouping(z, g_v, 97, 251))) goto lab6; slice_from_s(z, 1, s_3); /* <-, line 41 */ goto lab4; lab6: z->c = c; if (!(eq_s(z, 1, s_4))) goto lab3; z->ket = z->c; /* ], line 42 */ slice_from_s(z, 1, s_5); /* <-, line 42 */ } lab4: goto lab2; lab3: z->c = c; z->bra = z->c; /* [, line 45 */ if (!(eq_s(z, 1, s_6))) goto lab7; z->ket = z->c; /* ], line 45 */ if (!(in_grouping(z, g_v, 97, 251))) goto lab7; slice_from_s(z, 1, s_7); /* <-, line 45 */ goto lab2; lab7: z->c = c; if (!(eq_s(z, 1, s_8))) goto lab1; z->bra = z->c; /* [, line 47 */ if (!(eq_s(z, 1, s_9))) goto lab1; z->ket = z->c; /* ], line 47 */ slice_from_s(z, 1, s_10); /* <-, line 47 */ } lab2: z->c = c; break; lab1: z->c = c; if (z->c >= z->l) goto lab0; z->c++; } continue; lab0: z->c = c; break; } return 1; }
static int r_prelude(struct SN_env * z) { z->B[0] = 0; /* unset Y_found, line 26 */ { int c = z->c; /* do, line 27 */ z->bra = z->c; /* [, line 27 */ if (!(eq_s(z, 1, s_0))) goto lab0; z->ket = z->c; /* ], line 27 */ { int ret; ret = slice_del(z); /* delete, line 27 */ if (ret < 0) return ret; } lab0: z->c = c; } { int c = z->c; /* do, line 28 */ z->bra = z->c; /* [, line 28 */ if (!(eq_s(z, 1, s_1))) goto lab1; z->ket = z->c; /* ], line 28 */ if (!(in_grouping(z, g_v, 97, 121))) goto lab1; { int ret; ret = slice_from_s(z, 1, s_2); /* <-, line 28 */ if (ret < 0) return ret; } z->B[0] = 1; /* set Y_found, line 28 */ lab1: z->c = c; } { int c = z->c; /* do, line 29 */ while(1) { /* repeat, line 29 */ int c = z->c; while(1) { /* goto, line 29 */ int c = z->c; if (!(in_grouping(z, g_v, 97, 121))) goto lab4; z->bra = z->c; /* [, line 29 */ if (!(eq_s(z, 1, s_3))) goto lab4; z->ket = z->c; /* ], line 29 */ z->c = c; break; lab4: z->c = c; if (z->c >= z->l) goto lab3; z->c++; /* goto, line 29 */ } { int ret; ret = slice_from_s(z, 1, s_4); /* <-, line 29 */ if (ret < 0) return ret; } z->B[0] = 1; /* set Y_found, line 29 */ continue; lab3: z->c = c; break; } z->c = c; } return 1; }
static int r_mark_regions(struct SN_env * z) { z->I[0] = z->l; while(1) { /* goto, line 30 */ int c = z->c; if (!(in_grouping(z, g_v, 97, 246))) goto lab0; z->c = c; break; lab0: z->c = c; if (z->c >= z->l) return 0; z->c++; } while(1) { /* gopast, line 30 */ if (!(out_grouping(z, g_v, 97, 246))) goto lab1; break; lab1: if (z->c >= z->l) return 0; z->c++; } z->I[0] = z->c; /* setmark p1, line 30 */ /* try, line 31 */ if (!(z->I[0] < 3)) goto lab2; z->I[0] = 3; lab2: return 1; }
static int r_mark_regions(struct SN_env * z) { z->I[0] = z->l; { int c_test = z->c; /* test, line 29 */ { int c = z->c + 3; if (0 > c || c > z->l) return 0; z->c = c; /* hop, line 29 */ } z->I[1] = z->c; /* setmark x, line 29 */ z->c = c_test; } while(1) { /* goto, line 30 */ int c = z->c; if (!(in_grouping(z, g_v, 97, 246))) goto lab0; z->c = c; break; lab0: z->c = c; if (z->c >= z->l) return 0; z->c++; /* goto, line 30 */ } while(1) { /* gopast, line 30 */ if (!(out_grouping(z, g_v, 97, 246))) goto lab1; break; lab1: if (z->c >= z->l) return 0; z->c++; /* gopast, line 30 */ } z->I[0] = z->c; /* setmark p1, line 30 */ /* try, line 31 */ if (!(z->I[0] < z->I[1])) goto lab2; z->I[0] = z->I[1]; lab2: return 1; }
static int r_mark_regions(struct SN_env * z) { z->I[0] = z->l; z->I[1] = z->l; { int c_test = z->c; /* test, line 47 */ { int c = z->c + 3; if (0 > c || c > z->l) return 0; z->c = c; /* hop, line 47 */ } z->I[2] = z->c; /* setmark x, line 47 */ z->c = c_test; } while(1) { /* gopast, line 49 */ if (!(in_grouping(z, g_v, 97, 252))) goto lab0; break; lab0: if (z->c >= z->l) return 0; z->c++; /* gopast, line 49 */ } while(1) { /* gopast, line 49 */ if (!(out_grouping(z, g_v, 97, 252))) goto lab1; break; lab1: if (z->c >= z->l) return 0; z->c++; /* gopast, line 49 */ } z->I[0] = z->c; /* setmark p1, line 49 */ /* try, line 50 */ if (!(z->I[0] < z->I[2])) goto lab2; z->I[0] = z->I[2]; lab2: while(1) { /* gopast, line 51 */ if (!(in_grouping(z, g_v, 97, 252))) goto lab3; break; lab3: if (z->c >= z->l) return 0; z->c++; /* gopast, line 51 */ } while(1) { /* gopast, line 51 */ if (!(out_grouping(z, g_v, 97, 252))) goto lab4; break; lab4: if (z->c >= z->l) return 0; z->c++; /* gopast, line 51 */ } z->I[1] = z->c; /* setmark p2, line 51 */ return 1; }
static int r_mark_regions(struct SN_env * z) { z->I[0] = z->l; z->I[1] = z->l; { int c = z->c; /* do, line 35 */ { int c = z->c; /* or, line 40 */ if (!(find_among(z, a_0, 2))) goto lab2; /* among, line 36 */ goto lab1; lab2: z->c = c; while(1) { /* gopast, line 40 */ if (!(in_grouping(z, g_v, 97, 121))) goto lab3; break; lab3: if (z->c >= z->l) goto lab0; z->c++; /* gopast, line 40 */ } while(1) { /* gopast, line 40 */ if (!(out_grouping(z, g_v, 97, 121))) goto lab4; break; lab4: if (z->c >= z->l) goto lab0; z->c++; /* gopast, line 40 */ } } lab1: z->I[0] = z->c; /* setmark p1, line 41 */ while(1) { /* gopast, line 42 */ if (!(in_grouping(z, g_v, 97, 121))) goto lab5; break; lab5: if (z->c >= z->l) goto lab0; z->c++; /* gopast, line 42 */ } while(1) { /* gopast, line 42 */ if (!(out_grouping(z, g_v, 97, 121))) goto lab6; break; lab6: if (z->c >= z->l) goto lab0; z->c++; /* gopast, line 42 */ } z->I[1] = z->c; /* setmark p2, line 42 */ lab0: z->c = c; } return 1; }
static int r_mark_regions(struct SN_env * z) { z->I[0] = z->l; z->I[1] = z->l; if (out_grouping(z, g_V1, 97, 246, 1) < 0) return 0; /* goto */ /* grouping V1, line 46 */ { /* gopast */ /* non V1, line 46 */ int ret = in_grouping(z, g_V1, 97, 246, 1); if (ret < 0) return 0; z->c += ret; } z->I[0] = z->c; /* setmark p1, line 46 */ if (out_grouping(z, g_V1, 97, 246, 1) < 0) return 0; /* goto */ /* grouping V1, line 47 */ { /* gopast */ /* non V1, line 47 */ int ret = in_grouping(z, g_V1, 97, 246, 1); if (ret < 0) return 0; z->c += ret; } z->I[1] = z->c; /* setmark p2, line 47 */ return 1; }
static int r_mark_regions(struct SN_env * z) { z->I[0] = z->l; z->I[1] = z->l; while(1) { /* goto, line 46 */ int c = z->c; if (!(in_grouping(z, g_V1, 97, 246))) goto lab0; z->c = c; break; lab0: z->c = c; if (z->c >= z->l) return 0; z->c++; /* goto, line 46 */ } while(1) { /* gopast, line 46 */ if (!(out_grouping(z, g_V1, 97, 246))) goto lab1; break; lab1: if (z->c >= z->l) return 0; z->c++; /* gopast, line 46 */ } z->I[0] = z->c; /* setmark p1, line 46 */ while(1) { /* goto, line 47 */ int c = z->c; if (!(in_grouping(z, g_V1, 97, 246))) goto lab2; z->c = c; break; lab2: z->c = c; if (z->c >= z->l) return 0; z->c++; /* goto, line 47 */ } while(1) { /* gopast, line 47 */ if (!(out_grouping(z, g_V1, 97, 246))) goto lab3; break; lab3: if (z->c >= z->l) return 0; z->c++; /* gopast, line 47 */ } z->I[1] = z->c; /* setmark p2, line 47 */ return 1; }
static int r_mark_regions(struct SN_env * z) { z->I[0] = z->l; { int c = z->c; /* or, line 51 */ if (!(in_grouping(z, g_v, 97, 252))) goto lab1; while(1) { /* goto, line 48 */ int c = z->c; if (!(out_grouping(z, g_v, 97, 252))) goto lab2; z->c = c; break; lab2: z->c = c; if (z->c >= z->l) goto lab1; z->c++; /* goto, line 48 */ } { int c = z->c; /* or, line 49 */ if (!(find_among(z, a_0, 8))) goto lab4; /* among, line 49 */ goto lab3; lab4: z->c = c; if (z->c >= z->l) goto lab1; z->c++; /* next, line 49 */ } lab3: z->I[0] = z->c; /* setmark p1, line 50 */ goto lab0; lab1: z->c = c; if (!(out_grouping(z, g_v, 97, 252))) return 0; while(1) { /* gopast, line 53 */ if (!(in_grouping(z, g_v, 97, 252))) goto lab5; break; lab5: if (z->c >= z->l) return 0; z->c++; /* gopast, line 53 */ } z->I[0] = z->c; /* setmark p1, line 53 */ } lab0: return 1; }
static int r_mark_regions(struct SN_env * z) { z->I[0] = z->l; z->I[1] = z->l; { int c = z->c; /* do, line 63 */ while(1) { /* gopast, line 64 */ if (!(in_grouping(z, g_v, 192, 220))) goto lab1; break; lab1: if (z->c >= z->l) goto lab0; z->c++; /* gopast, line 64 */ } z->I[0] = z->c; /* setmark pV, line 64 */ while(1) { /* gopast, line 64 */ if (!(out_grouping(z, g_v, 192, 220))) goto lab2; break; lab2: if (z->c >= z->l) goto lab0; z->c++; /* gopast, line 64 */ } while(1) { /* gopast, line 65 */ if (!(in_grouping(z, g_v, 192, 220))) goto lab3; break; lab3: if (z->c >= z->l) goto lab0; z->c++; /* gopast, line 65 */ } while(1) { /* gopast, line 65 */ if (!(out_grouping(z, g_v, 192, 220))) goto lab4; break; lab4: if (z->c >= z->l) goto lab0; z->c++; /* gopast, line 65 */ } z->I[1] = z->c; /* setmark p2, line 65 */ lab0: z->c = c; } return 1; }
static int r_mark_regions(struct SN_env * z) { z->I[0] = z->l; z->I[1] = z->l; z->I[2] = z->l; { int c = z->c; /* do, line 50 */ { int c = z->c; /* or, line 52 */ if (!(in_grouping(z, g_v, 97, 250))) goto lab2; { int c = z->c; /* or, line 51 */ if (!(out_grouping(z, g_v, 97, 250))) goto lab4; while(1) { /* gopast, line 51 */ if (!(in_grouping(z, g_v, 97, 250))) goto lab5; break; lab5: if (z->c >= z->l) goto lab4; z->c++; /* gopast, line 51 */ } goto lab3; lab4: z->c = c; if (!(in_grouping(z, g_v, 97, 250))) goto lab2; while(1) { /* gopast, line 51 */ if (!(out_grouping(z, g_v, 97, 250))) goto lab6; break; lab6: if (z->c >= z->l) goto lab2; z->c++; /* gopast, line 51 */ } } lab3: goto lab1; lab2: z->c = c; if (!(out_grouping(z, g_v, 97, 250))) goto lab0; { int c = z->c; /* or, line 53 */ if (!(out_grouping(z, g_v, 97, 250))) goto lab8; while(1) { /* gopast, line 53 */ if (!(in_grouping(z, g_v, 97, 250))) goto lab9; break; lab9: if (z->c >= z->l) goto lab8; z->c++; /* gopast, line 53 */ } goto lab7; lab8: z->c = c; if (!(in_grouping(z, g_v, 97, 250))) goto lab0; if (z->c >= z->l) goto lab0; z->c++; /* next, line 53 */ } lab7: ; } lab1: z->I[0] = z->c; /* setmark pV, line 54 */ lab0: z->c = c; } { int c = z->c; /* do, line 56 */ while(1) { /* gopast, line 57 */ if (!(in_grouping(z, g_v, 97, 250))) goto lab11; break; lab11: if (z->c >= z->l) goto lab10; z->c++; /* gopast, line 57 */ } while(1) { /* gopast, line 57 */ if (!(out_grouping(z, g_v, 97, 250))) goto lab12; break; lab12: if (z->c >= z->l) goto lab10; z->c++; /* gopast, line 57 */ } z->I[1] = z->c; /* setmark p1, line 57 */ while(1) { /* gopast, line 58 */ if (!(in_grouping(z, g_v, 97, 250))) goto lab13; break; lab13: if (z->c >= z->l) goto lab10; z->c++; /* gopast, line 58 */ } while(1) { /* gopast, line 58 */ if (!(out_grouping(z, g_v, 97, 250))) goto lab14; break; lab14: if (z->c >= z->l) goto lab10; z->c++; /* gopast, line 58 */ } z->I[2] = z->c; /* setmark p2, line 58 */ lab10: z->c = c; } return 1; }
static int r_remove_first_order_prefix(struct SN_env * z) { /* forwardmode */ int among_var; z->bra = z->c; /* [, line 146 */ if (z->c + 1 >= z->l || (z->p[z->c + 1] != 105 && z->p[z->c + 1] != 101)) return 0; /* substring, line 146 */ among_var = find_among(z, a_3, 12); if (!(among_var)) return 0; z->ket = z->c; /* ], line 146 */ switch (among_var) { /* among, line 146 */ case 1: { int ret = slice_del(z); /* delete, line 147 */ if (ret < 0) return ret; } z->I[1] = 1; /* $prefix = <integer expression>, line 147 */ z->I[0] -= 1; /* $measure -= <integer expression>, line 147 */ break; case 2: { int ret = slice_del(z); /* delete, line 148 */ if (ret < 0) return ret; } z->I[1] = 3; /* $prefix = <integer expression>, line 148 */ z->I[0] -= 1; /* $measure -= <integer expression>, line 148 */ break; case 3: z->I[1] = 1; /* $prefix = <integer expression>, line 149 */ { int ret = slice_from_s(z, 1, s_1); /* <-, line 149 */ if (ret < 0) return ret; } z->I[0] -= 1; /* $measure -= <integer expression>, line 149 */ break; case 4: z->I[1] = 3; /* $prefix = <integer expression>, line 150 */ { int ret = slice_from_s(z, 1, s_2); /* <-, line 150 */ if (ret < 0) return ret; } z->I[0] -= 1; /* $measure -= <integer expression>, line 150 */ break; case 5: z->I[1] = 1; /* $prefix = <integer expression>, line 151 */ z->I[0] -= 1; /* $measure -= <integer expression>, line 151 */ { int c1 = z->c; /* or, line 151 */ { int c2 = z->c; /* and, line 151 */ if (in_grouping(z, g_vowel, 97, 117, 0)) goto lab1; /* grouping vowel, line 151 */ z->c = c2; { int ret = slice_from_s(z, 1, s_3); /* <-, line 151 */ if (ret < 0) return ret; } } goto lab0; lab1: z->c = c1; { int ret = slice_del(z); /* delete, line 151 */ if (ret < 0) return ret; } } lab0: break; case 6: z->I[1] = 3; /* $prefix = <integer expression>, line 152 */ z->I[0] -= 1; /* $measure -= <integer expression>, line 152 */ { int c3 = z->c; /* or, line 152 */ { int c4 = z->c; /* and, line 152 */ if (in_grouping(z, g_vowel, 97, 117, 0)) goto lab3; /* grouping vowel, line 152 */ z->c = c4; { int ret = slice_from_s(z, 1, s_4); /* <-, line 152 */ if (ret < 0) return ret; } } goto lab2; lab3: z->c = c3; { int ret = slice_del(z); /* delete, line 152 */ if (ret < 0) return ret; } } lab2: break; } return 1; }
static int r_VOWEL(struct SN_env * z) { /* forwardmode */ if (in_grouping(z, g_vowel, 97, 117, 0)) return 0; /* grouping vowel, line 141 */ return 1; }
static int r_prelude(struct SN_env * z) { int among_var; { int c_test = z->c; /* test, line 35 */ while(1) { /* repeat, line 35 */ int c = z->c; z->bra = z->c; /* [, line 36 */ among_var = find_among(z, a_0, 7); /* substring, line 36 */ if (!(among_var)) goto lab0; z->ket = z->c; /* ], line 36 */ switch(among_var) { case 0: goto lab0; case 1: slice_from_s(z, 1, s_0); /* <-, line 37 */ break; case 2: slice_from_s(z, 1, s_1); /* <-, line 38 */ break; case 3: slice_from_s(z, 1, s_2); /* <-, line 39 */ break; case 4: slice_from_s(z, 1, s_3); /* <-, line 40 */ break; case 5: slice_from_s(z, 1, s_4); /* <-, line 41 */ break; case 6: slice_from_s(z, 2, s_5); /* <-, line 42 */ break; case 7: if (z->c >= z->l) goto lab0; z->c++; /* next, line 43 */ break; } continue; lab0: z->c = c; break; } z->c = c_test; } while(1) { /* repeat, line 46 */ int c = z->c; while(1) { /* goto, line 46 */ int c = z->c; if (!(in_grouping(z, g_v, 97, 249))) goto lab2; z->bra = z->c; /* [, line 47 */ { int c = z->c; /* or, line 47 */ if (!(eq_s(z, 1, s_6))) goto lab4; z->ket = z->c; /* ], line 47 */ if (!(in_grouping(z, g_v, 97, 249))) goto lab4; slice_from_s(z, 1, s_7); /* <-, line 47 */ goto lab3; lab4: z->c = c; if (!(eq_s(z, 1, s_8))) goto lab2; z->ket = z->c; /* ], line 48 */ if (!(in_grouping(z, g_v, 97, 249))) goto lab2; slice_from_s(z, 1, s_9); /* <-, line 48 */ } lab3: z->c = c; break; lab2: z->c = c; if (z->c >= z->l) goto lab1; z->c++; } continue; lab1: z->c = c; break; } return 1; }
static int r_mark_regions(struct SN_env * z) { z->I[0] = z->l; z->I[1] = z->l; z->I[2] = z->l; { int c = z->c; /* do, line 56 */ { int c = z->c; /* or, line 57 */ if (!(in_grouping(z, g_v, 97, 251))) goto lab2; if (!(in_grouping(z, g_v, 97, 251))) goto lab2; if (z->c >= z->l) goto lab2; z->c++; /* next, line 57 */ goto lab1; lab2: z->c = c; if (z->c >= z->l) goto lab0; z->c++; /* next, line 57 */ while(1) { /* gopast, line 57 */ if (!(in_grouping(z, g_v, 97, 251))) goto lab3; break; lab3: if (z->c >= z->l) goto lab0; z->c++; /* gopast, line 57 */ } } lab1: z->I[0] = z->c; /* setmark pV, line 58 */ lab0: z->c = c; } { int c = z->c; /* do, line 60 */ while(1) { /* gopast, line 61 */ if (!(in_grouping(z, g_v, 97, 251))) goto lab5; break; lab5: if (z->c >= z->l) goto lab4; z->c++; /* gopast, line 61 */ } while(1) { /* gopast, line 61 */ if (!(out_grouping(z, g_v, 97, 251))) goto lab6; break; lab6: if (z->c >= z->l) goto lab4; z->c++; /* gopast, line 61 */ } z->I[1] = z->c; /* setmark p1, line 61 */ while(1) { /* gopast, line 62 */ if (!(in_grouping(z, g_v, 97, 251))) goto lab7; break; lab7: if (z->c >= z->l) goto lab4; z->c++; /* gopast, line 62 */ } while(1) { /* gopast, line 62 */ if (!(out_grouping(z, g_v, 97, 251))) goto lab8; break; lab8: if (z->c >= z->l) goto lab4; z->c++; /* gopast, line 62 */ } z->I[2] = z->c; /* setmark p2, line 62 */ lab4: z->c = c; } return 1; }
static int r_prelude(struct SN_env * z) { { int c_test = z->c; /* test, line 30 */ while(1) { /* repeat, line 30 */ int c = z->c; { int c = z->c; /* or, line 33 */ z->bra = z->c; /* [, line 32 */ if (!(eq_s(z, 1, s_0))) goto lab2; z->ket = z->c; /* ], line 32 */ { int ret; ret = slice_from_s(z, 2, s_1); /* <-, line 32 */ if (ret < 0) return ret; } goto lab1; lab2: z->c = c; if (z->c >= z->l) goto lab0; z->c++; /* next, line 33 */ } lab1: continue; lab0: z->c = c; break; } z->c = c_test; } while(1) { /* repeat, line 36 */ int c = z->c; while(1) { /* goto, line 36 */ int c = z->c; if (!(in_grouping(z, g_v, 97, 252))) goto lab4; z->bra = z->c; /* [, line 37 */ { int c = z->c; /* or, line 37 */ if (!(eq_s(z, 1, s_2))) goto lab6; z->ket = z->c; /* ], line 37 */ if (!(in_grouping(z, g_v, 97, 252))) goto lab6; { int ret; ret = slice_from_s(z, 1, s_3); /* <-, line 37 */ if (ret < 0) return ret; } goto lab5; lab6: z->c = c; if (!(eq_s(z, 1, s_4))) goto lab4; z->ket = z->c; /* ], line 38 */ if (!(in_grouping(z, g_v, 97, 252))) goto lab4; { int ret; ret = slice_from_s(z, 1, s_5); /* <-, line 38 */ if (ret < 0) return ret; } } lab5: z->c = c; break; lab4: z->c = c; if (z->c >= z->l) goto lab3; z->c++; /* goto, line 36 */ } continue; lab3: z->c = c; break; } return 1; }