From 85ea80f91683ef45d0916e93b3f1fbf2368945c8 Mon Sep 17 00:00:00 2001 From: Andreew Gregory Date: Tue, 30 Dec 2025 13:17:31 +0300 Subject: [PATCH] 100% family friendly --- src/l1/anne/margaret/margaret_misc.h | 2 +- src/l1/sobiralka.py | 4 ++-- src/l1_5/codegen/rbtree_set_map_template_inst.h | 2 +- src/l2/anne/r4.h | 6 +++--- src/l2/lucy/glyph_render.h | 4 ++-- src/l2/margaret/vulkan_images_claire.h | 2 +- src/l2/tests/data_structures/t0.c | 2 +- src/l2/tests/r3/r3.c | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/l1/anne/margaret/margaret_misc.h b/src/l1/anne/margaret/margaret_misc.h index 6d48b1a..1deb47e 100644 --- a/src/l1/anne/margaret/margaret_misc.h +++ b/src/l1/anne/margaret/margaret_misc.h @@ -17,7 +17,7 @@ void generate_margaret_eve_for_vulkan_utils() { generate_eve_span_company_for_primitive(l, ns, cstr("MargaretIAFreeSegment"), true, false); generate_Option_templ_inst_eve_header(l, ns, (option_template_instantiation_op){ .T = cstr("MargaretIAFreeSegment"), .t_primitive = true}); - // todo: add to BufRBTree instantiator option to create necessary shit by itself + // todo: add to BufRBTree instantiator option to create necessary crrp by itself generate_eve_span_company_for_primitive(l, ns, cstr("MargaretBAFreeSegment"), true, false); generate_Option_templ_inst_eve_header(l, ns, (option_template_instantiation_op){ .T = cstr("MargaretBAFreeSegment"), .t_primitive = true}); diff --git a/src/l1/sobiralka.py b/src/l1/sobiralka.py index 98b928d..a6785de 100644 --- a/src/l1/sobiralka.py +++ b/src/l1/sobiralka.py @@ -77,7 +77,7 @@ def parse_second_symbol(s): p.skip_word() if start == p.index: - raise ValueError("This is just fucking disappointing") + raise ValueError("This is just chucking disappointing") return s[start:p.index] @@ -182,7 +182,7 @@ def process_part_of_file(tokens: List[LineToken], defined_symbols_outside: Set[s if in_if and (t == token_type_if or t == token_type_ifdef or t == token_type_ifndef or t == token_type_include_local or t == token_type_define or t == token_type_regular): - raise ValueError("Okay, listen here, you little fuck") + raise ValueError("Okay, listen here, you little chuck") # When saw_else is true, we are definitely in_if if saw_else and t != token_type_endif: diff --git a/src/l1_5/codegen/rbtree_set_map_template_inst.h b/src/l1_5/codegen/rbtree_set_map_template_inst.h index 058f7f7..b28457f 100644 --- a/src/l1_5/codegen/rbtree_set_map_template_inst.h +++ b/src/l1_5/codegen/rbtree_set_map_template_inst.h @@ -49,7 +49,7 @@ void codegen_append_rbtree_map__structure_and_simplest_methods( set, set, op.guest_data_T.len == 0 ? vcstr("") : VecU8_fmt("%s guest", op.guest_data_T), set, op.guest_data_T.len == 0 ? cstr("") : cstr(", .guest = guest"))); - // todo: figure out mutability restrictions shit later + // todo: figure out mutability restrictions crrp later VecU8_append_vec(res, VecU8_fmt( "RBTreeNode_%s* %s_find_min(const %s* self) {\n" /* TT, set, set */ SPACE "if (self->root == self->NIL)\n" diff --git a/src/l2/anne/r4.h b/src/l2/anne/r4.h index ef196ca..2d84bcc 100644 --- a/src/l2/anne/r4.h +++ b/src/l2/anne/r4.h @@ -422,7 +422,7 @@ void TextureDataR8G8B8A8_draw_triang_part_bublazhuzhka( -// todo: rewrite this shit (again) +// todo: rewrite this crrp (again) TextureDataR8G8B8A8 generate_tex_template_for_one_fourth_of_a_cylinder(float s_resol, float w, float r, U32 k) { assert(k >= 1); const float a = M_PI_2f / (float)k; @@ -460,7 +460,7 @@ TextureDataR8G8B8A8 generate_tex_template_for_one_fourth_of_a_cylinder(float s_r vec2 C = (vec2){r + w, 2 * r + (float)(i-1) * l}; vec2 D = (vec2){r + w, 2 * r + (float)(i) * l}; vec3 c = i % 2 ? color_4 : color_5; - // todo: replace this shit with something more normal + // todo: replace this crrp with something more normal TextureDataR8G8B8A8_draw_parametrized_triangle_of_one_color(&res, c, (MarieTriangle){A, B, C}, cord_resol_trop); TextureDataR8G8B8A8_draw_parametrized_triangle_of_one_color(&res, c, (MarieTriangle){A, C, D}, cord_resol_trop); } @@ -480,7 +480,7 @@ vec2 height_map_cb_that_uses_bublazhuzhka(void* ug, vec2 v) { return Bublazhuzhka_get_derivative(bzh, v); } -// todo: rewrite this shit and merge it with other one-fourth-of-a-cylinder generiting functions +// todo: rewrite this crrp and merge it with other one-fourth-of-a-cylinder generiting functions TextureDataR8G8B8A8 generate_normal_tex_for_one_fourth_of_a_cylinder(float s_resol, float w, float r, U32 k) { assert(k >= 1); const float a = M_PI_2f / (float)k; diff --git a/src/l2/lucy/glyph_render.h b/src/l2/lucy/glyph_render.h index 002b096..fc34018 100644 --- a/src/l2/lucy/glyph_render.h +++ b/src/l2/lucy/glyph_render.h @@ -5,7 +5,7 @@ #include "../../../gen/l1/pixel_masses.h" #include "../../../gen/l1/geom.h" -// todo: rewrite this shit crap using instances +// todo: rewrite this crrp crap using instances typedef struct{ vec4 color; vec2 pos; @@ -178,7 +178,7 @@ void LucyRenderer_another_frame(LucyRenderer* self){ } } -// todo: merge with the function above. In the future all the shit will be recorded simultaneously +// todo: merge with the function above. In the future all the crrp will be recorded simultaneously void LucyRenderer_another_frame_rec_drawing( LucyRenderer* self, VkCommandBuffer drawing_cmd_buf, VkExtent2D image_extent){ vkCmdBindPipeline(drawing_cmd_buf, VK_PIPELINE_BIND_POINT_GRAPHICS, self->pipeline); diff --git a/src/l2/margaret/vulkan_images_claire.h b/src/l2/margaret/vulkan_images_claire.h index 05c6048..cf40f53 100644 --- a/src/l2/margaret/vulkan_images_claire.h +++ b/src/l2/margaret/vulkan_images_claire.h @@ -176,7 +176,7 @@ // todo: for staging buffers you better use MargaretBufferAllocator. Ou, yeah, I have yet to write them -// todo: fucking rewrite all of this. Yes, I want all of this shit rewritten +// todo: chucking rewrite all of this. Yes, I want all of this crrp rewritten #include "../../l1/core/util.h" #include "../../l1_5/core/buff_rb_tree_node.h" diff --git a/src/l2/tests/data_structures/t0.c b/src/l2/tests/data_structures/t0.c index d389673..d06e5d1 100644 --- a/src/l2/tests/data_structures/t0.c +++ b/src/l2/tests/data_structures/t0.c @@ -459,7 +459,7 @@ void chaos(){ check(BufRBTree_SetS64_erase(&set, to_delete)); printf("Deleted from i=%d\n", i); check_only_structure(&set); - // save_tree_to_file(&set, cstr("fucked_tree")); + // save_tree_to_file(&set, cstr("chucked_tree")); check_correctness(&set); VecS64_drop(seq_to_insert); BufRBTree_SetS64_drop(set); diff --git a/src/l2/tests/r3/r3.c b/src/l2/tests/r3/r3.c index 491f244..8c798b5 100644 --- a/src/l2/tests/r3/r3.c +++ b/src/l2/tests/r3/r3.c @@ -608,7 +608,7 @@ int main() { } printf("Finished!\n"); vkDeviceWaitIdle(state.device); - // todo: destroy instance and all the shit + // todo: destroy instance and all the crrp if (state.wl_callback)