elonmusk 1.0.53 → 1.0.71
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Makefile +14 -9
- data/PP.rb +217 -66
- data/README +1 -1
- data/README.md +76 -117
- data/SONG +156 -0
- data/UCA_cli +0 -0
- data/ULTIMATE_CHAT_APPLICATION.exe +0 -0
- data/ULTIMATE_CHAT_APPLICATION_(LINUX) +0 -0
- data/VERSION_NUMBER +1 -1
- data/bin/DISCOURSE_GENERATOR.exe +0 -0
- data/bin/UCA_cli +0 -0
- data/bin/ULTIMATE_CHAT_APPLICATION.exe +0 -0
- data/bin/ULTIMATE_CHAT_APPLICATION_(LINUX) +0 -0
- data/bin/abs +0 -0
- data/bin/add +0 -0
- data/bin/append +0 -0
- data/bin/args +0 -0
- data/bin/black +0 -0
- data/bin/black_bold +0 -0
- data/bin/black_bold_underline +0 -0
- data/bin/black_underline +0 -0
- data/bin/blue +0 -0
- data/bin/blue_bold +0 -0
- data/bin/blue_bold_underline +0 -0
- data/bin/blue_underline +0 -0
- data/bin/bold +0 -0
- data/bin/clock +0 -0
- data/bin/copy +0 -0
- data/bin/cyan +0 -0
- data/bin/cyan_bold +0 -0
- data/bin/cyan_bold_underline +0 -0
- data/bin/cyan_underline +0 -0
- data/bin/div +0 -0
- data/bin/dump +0 -0
- data/bin/exp +0 -0
- data/bin/floor +0 -0
- data/bin/green +0 -0
- data/bin/green_bold +0 -0
- data/bin/green_bold_underline +0 -0
- data/bin/green_underline +0 -0
- data/bin/gsub +0 -0
- data/bin/gsubip +0 -0
- data/bin/lines +0 -0
- data/bin/magenta +0 -0
- data/bin/magenta_bold +0 -0
- data/bin/magenta_bold_underline +0 -0
- data/bin/magenta_underline +0 -0
- data/bin/mul +0 -0
- data/bin/news +0 -0
- data/bin/nth +0 -0
- data/bin/prepend +0 -0
- data/bin/red +0 -0
- data/bin/red_bold +0 -0
- data/bin/red_bold_underline +0 -0
- data/bin/red_underline +0 -0
- data/bin/rgsub +0 -0
- data/bin/rip +0 -0
- data/bin/rnip +0 -0
- data/bin/selectlines +0 -0
- data/bin/sub +0 -0
- data/bin/swap +0 -0
- data/bin/underline +0 -0
- data/bin/undump +0 -0
- data/bin/white +0 -0
- data/bin/white_bold +0 -0
- data/bin/white_bold_underline +0 -0
- data/bin/white_underline +0 -0
- data/bin/yellow +0 -0
- data/bin/yellow_bold +0 -0
- data/bin/yellow_bold_underline +0 -0
- data/bin/yellow_underline +0 -0
- data/documentation/doc.rb +1 -1
- data/documentation/gsubip +2 -12
- data/documentation/page +61 -54
- data/documentation/rgsub +22 -1
- data/documentation/t +4 -0
- data/gem_data/README +10 -0
- data/gem_data/VERSION_NUMBER +1 -0
- data/gem_data/democracy.gemspec +12 -0
- data/gem_data/push +14 -0
- data/gem_data/version_decrement +1 -0
- data/images/1.png +0 -0
- data/index.html +104 -110
- data/install.sh +4 -3
- data/non_compiled_programs/find_housing +15 -39
- data/other/discourse_generator_desktop_widget/a.sh +18 -0
- data/other/experimental_code/merge +7 -0
- data/other/old_compiler/my_make/my_make.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/get_length_of_mid_level_instructions.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/add_deref_register_as_qword_reg64.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/add_or_sub_reg32_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/add_or_sub_reg64_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/add_reg32_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/add_reg64_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/call_reg32.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/call_reg64.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/dac_deref_register_as_qword_reg64.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/dac_reg32_reg32.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/dac_reg64_reg64.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/fadd_qword_address.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/faddp.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/fchs.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/fcomi.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/fcomip.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/ffree.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/fld_qword_address.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/fstp_deref_register_as_qword_plus_signed_byte_offset.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/fstp_fpu_register.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/fsubp.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/fxch.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/get_length_of_add_or_sub_reg32_lit32.h +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/get_length_of_add_or_sub_reg64_lit32.h +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/int.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/int3.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/ja_short.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/jae_short.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/jb_short.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/jbe.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/je.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/jmp_reg.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/jmp_short.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/jne_short.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/mov_deref_register_as_dword_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/mov_deref_register_as_dword_plus_signed_byte_offset_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/mov_deref_register_as_dword_reg32.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/mov_deref_register_as_qword_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/mov_deref_register_as_qword_plus_signed_byte_offset_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/mov_deref_register_as_qword_reg64.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/mov_reg32_deref_register_as_dword.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/mov_reg64_lit64_ten_byte_encoding.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/pop.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/push.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/ret.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/sub_reg64_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/syscall.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/x86_instructions.h +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/instructions/x86_instructions_globals.h +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/put_instructions_into_code_section.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/translate_mid_level_instructions_into_cpu_instructions.c +1 -1
- data/other/old_compiler/shiltiumcomp/arch/x86/x86_instructions.c +1 -1
- data/other/old_compiler/shiltiumcomp/global_headers/assert_comparison.h +1 -1
- data/other/old_compiler/shiltiumcomp/global_headers/deref.h +1 -1
- data/other/old_compiler/shiltiumcomp/global_headers/globals.h +1 -1
- data/other/old_compiler/shiltiumcomp/global_headers/headers.h +1 -1
- data/other/old_compiler/shiltiumcomp/global_headers/os_detection.h +1 -1
- data/other/old_compiler/shiltiumcomp/portable/constant_folding.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/conversion.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/dac_init.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/ensure_type_is_valid_otherwise_give_type_error.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/ensure_type_is_valid_otherwise_give_type_error.h +1 -1
- data/other/old_compiler/shiltiumcomp/portable/free_list.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/get_variable.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/get_variable.h +1 -1
- data/other/old_compiler/shiltiumcomp/portable/input.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/insert_variable_into_scope.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/insert_variable_into_scope.h +1 -1
- data/other/old_compiler/shiltiumcomp/portable/is_valid_identifier.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/lex_statement_string.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/libs/hash_table.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/libs/hash_table.h +1 -1
- data/other/old_compiler/shiltiumcomp/portable/line_number.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/line_number.h +1 -1
- data/other/old_compiler/shiltiumcomp/portable/list.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/literal_conversion.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/memory.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/mid_level_instructions.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/output.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/parse_block.h +1 -1
- data/other/old_compiler/shiltiumcomp/portable/parse_block_statement.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/parse_block_statement.h +1 -1
- data/other/old_compiler/shiltiumcomp/portable/parse_expression.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/parse_statement.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/parse_statement.h +1 -1
- data/other/old_compiler/shiltiumcomp/portable/parse_statement_string_into_tokens.h +1 -1
- data/other/old_compiler/shiltiumcomp/portable/parser.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/parser_dot_c_static_functions.h +1 -1
- data/other/old_compiler/shiltiumcomp/portable/process_command_line_options.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/read_and_parse_statement.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/read_and_parse_statement.h +1 -1
- data/other/old_compiler/shiltiumcomp/portable/resize_statement_buffer_if_necessary.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/resize_statement_buffer_if_necessary.h +1 -1
- data/other/old_compiler/shiltiumcomp/portable/shiltiumcomp.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/show_tokens.h +1 -1
- data/other/old_compiler/shiltiumcomp/portable/string_comparison.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/subroutine_value_deletion_function.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/subroutine_value_deletion_function.h +1 -1
- data/other/old_compiler/shiltiumcomp/portable/tokens_del.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/tokens_del.h +1 -1
- data/other/old_compiler/shiltiumcomp/portable/translate_expression_into_mid_level_instructions.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/utf8.c +1 -1
- data/other/old_compiler/shiltiumcomp/portable/utf8.h +1 -1
- data/other/old_compiler/shiltiumcomp/program2.sl +1 -1
- data/other/old_compiler/shiltiumcomp/test/create_large_file.py +1 -1
- data/other/old_compiler/shiltiumcomp/test/test.py +1 -1
- data/other/old_compiler/shiltiumcomp/ui.cpp +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/get_length_of_mid_level_instructions.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/add_deref_register_as_qword_reg64.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/add_or_sub_reg32_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/add_or_sub_reg64_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/add_reg32_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/add_reg64_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/append_mov_reg64_lit64_ten_byte_encoding.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/call_reg32.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/call_reg64.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/dac_deref_register_as_qword_reg64.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/dac_reg32_reg32.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/dac_reg64_reg64.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/faddp.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/fchs.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/fcomi.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/fcomip.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/ffree.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/fsubp.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/fxch.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/get_length_of_add_or_sub_reg32_lit32.h +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/get_length_of_add_or_sub_reg64_lit32.h +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/int.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/int3.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/ja_short.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/jb_short.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/je_short.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/jmp_reg.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/jmp_short.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/jne_short.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/mov_deref_register_as_dword_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/mov_deref_register_as_dword_plus_signed_byte_offset_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/mov_deref_register_as_dword_reg32.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/mov_deref_register_as_qword_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/mov_deref_register_as_qword_plus_signed_byte_offset_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/mov_deref_register_as_qword_reg64.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/mov_reg32_deref_register_as_dword.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/output_short_branch_instruction.h +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/pop.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/push.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/ret.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/sub_reg64_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/syscall.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/x86_instructions.h +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/instructions/x86_instructions_globals.h +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/put_instructions_into_code_section.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/translate_mid_level_instructions_into_cpu_instructions.c +1 -1
- data/other/old_compiler/shiltiumcomp58/arch/x86/x86_instructions.c +1 -1
- data/other/old_compiler/shiltiumcomp58/global_headers/assert_comparison.h +1 -1
- data/other/old_compiler/shiltiumcomp58/global_headers/deref.h +1 -1
- data/other/old_compiler/shiltiumcomp58/global_headers/globals.h +1 -1
- data/other/old_compiler/shiltiumcomp58/global_headers/headers.h +1 -1
- data/other/old_compiler/shiltiumcomp58/global_headers/os_detection.h +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/constant_folding.c +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/conversion.c +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/dac_init.c +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/ensure_type_is_valid_otherwise_give_type_error.c +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/ensure_type_is_valid_otherwise_give_type_error.h +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/free_list.c +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/insert_variable_into_scope.c +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/insert_variable_into_scope.h +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/is_valid_identifier.c +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/lex_statement_string.c +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/libs/hash_table.c +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/line_number.c +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/line_number.h +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/linked_list.c +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/literal_conversion.c +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/memory.c +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/mid_level_instructions.c +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/output.c +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/parse_block.h +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/parse_block_statement.c +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/parse_block_statement.h +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/parse_expression.c +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/parse_statement.c +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/parse_statement.h +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/parse_statement_string_into_tokens.h +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/parser.c +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/parser_dot_c_static_functions.h +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/process_command_line_options.c +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/read_and_parse_statement.c +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/read_and_parse_statement.h +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/read_char.h +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/shiltiumcomp.c +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/show_tokens.h +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/string_comparison.c +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/subroutine_value_deletion_function.c +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/subroutine_value_deletion_function.h +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/tokens_del.c +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/tokens_del.h +1 -1
- data/other/old_compiler/shiltiumcomp58/portable/translate_expression_into_mid_level_instructions.c +1 -1
- data/other/old_compiler/shiltiumcomp58/program.sl +1 -1
- data/other/old_compiler/shiltiumcomp58/program2.sl +1 -1
- data/other/old_compiler/shiltiumcomp58/test/create_large_file.py +1 -1
- data/other/old_compiler/shiltiumcomp58/test/test.py +1 -1
- data/other/old_compiler/shiltiumcomp58/ui.cpp +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/get_length_of_mid_level_instructions.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/add_deref_register_as_qword_reg64.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/add_or_sub_reg32_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/add_or_sub_reg64_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/add_reg32_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/add_reg64_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/append_mov_reg64_lit64_ten_byte_encoding.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/call_reg32.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/call_reg64.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/dac_deref_register_as_qword_reg64.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/dac_reg32_reg32.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/dac_reg64_reg64.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/faddp.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/fchs.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/fcomi.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/fcomip.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/ffree.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/fsubp.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/fxch.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/get_length_of_add_or_sub_reg32_lit32.h +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/get_length_of_add_or_sub_reg64_lit32.h +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/int.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/int3.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/ja_short.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/jb_short.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/je_short.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/jmp_reg.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/jmp_short.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/jne_short.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/mov_deref_register_as_dword_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/mov_deref_register_as_dword_plus_signed_byte_offset_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/mov_deref_register_as_dword_reg32.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/mov_deref_register_as_qword_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/mov_deref_register_as_qword_plus_signed_byte_offset_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/mov_deref_register_as_qword_reg64.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/mov_reg32_deref_register_as_dword.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/output_short_branch_instruction.h +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/pop.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/push.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/ret.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/sub_reg64_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/syscall.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/x86_instructions.h +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/instructions/x86_instructions_globals.h +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/put_instructions_into_code_section.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/translate_mid_level_instructions_into_cpu_instructions.c +1 -1
- data/other/old_compiler/shiltiumcomp59/arch/x86/x86_instructions.c +1 -1
- data/other/old_compiler/shiltiumcomp59/global_headers/assert_comparison.h +1 -1
- data/other/old_compiler/shiltiumcomp59/global_headers/deref.h +1 -1
- data/other/old_compiler/shiltiumcomp59/global_headers/globals.h +1 -1
- data/other/old_compiler/shiltiumcomp59/global_headers/headers.h +1 -1
- data/other/old_compiler/shiltiumcomp59/global_headers/os_detection.h +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/constant_folding.c +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/conversion.c +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/dac_init.c +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/ensure_type_is_valid_otherwise_give_type_error.c +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/ensure_type_is_valid_otherwise_give_type_error.h +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/free_list.c +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/get_variable.c +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/get_variable.h +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/insert_variable_into_scope.c +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/insert_variable_into_scope.h +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/is_valid_identifier.c +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/lex_statement_string.c +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/libs/hash_table.c +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/line_number.c +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/line_number.h +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/linked_list.c +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/literal_conversion.c +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/memory.c +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/mid_level_instructions.c +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/output.c +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/parse_block.h +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/parse_block_statement.c +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/parse_block_statement.h +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/parse_expression.c +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/parse_statement.c +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/parse_statement.h +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/parse_statement_string_into_tokens.h +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/parser.c +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/parser_dot_c_static_functions.h +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/process_command_line_options.c +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/read_and_parse_statement.c +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/read_and_parse_statement.h +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/read_char.h +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/shiltiumcomp.c +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/show_tokens.h +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/string_comparison.c +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/subroutine_value_deletion_function.c +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/subroutine_value_deletion_function.h +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/tokens_del.c +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/tokens_del.h +1 -1
- data/other/old_compiler/shiltiumcomp59/portable/translate_expression_into_mid_level_instructions.c +1 -1
- data/other/old_compiler/shiltiumcomp59/program.sl +1 -1
- data/other/old_compiler/shiltiumcomp59/program2.sl +1 -1
- data/other/old_compiler/shiltiumcomp59/test/create_large_file.py +1 -1
- data/other/old_compiler/shiltiumcomp59/test/test.py +1 -1
- data/other/old_compiler/shiltiumcomp59/ui.cpp +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/get_length_of_mid_level_instructions.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/add_deref_register_as_qword_reg64.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/add_or_sub_reg32_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/add_or_sub_reg64_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/add_reg32_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/add_reg64_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/call_reg32.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/call_reg64.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/dac_deref_register_as_qword_reg64.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/dac_reg32_reg32.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/dac_reg64_reg64.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/fadd_qword_address.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/faddp.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/fchs.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/fcomi.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/fcomip.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/ffree.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/fld_qword_address.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/fstp_deref_register_as_qword_plus_signed_byte_offset.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/fstp_fpu_register.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/fsubp.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/fxch.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/get_length_of_add_or_sub_reg32_lit32.h +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/get_length_of_add_or_sub_reg64_lit32.h +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/int.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/int3.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/ja_short.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/jae_short.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/jb_short.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/jbe.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/je.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/jmp_reg.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/jmp_short.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/jne_short.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/mov_deref_register_as_dword_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/mov_deref_register_as_dword_plus_signed_byte_offset_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/mov_deref_register_as_dword_reg32.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/mov_deref_register_as_qword_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/mov_deref_register_as_qword_plus_signed_byte_offset_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/mov_deref_register_as_qword_reg64.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/mov_reg32_deref_register_as_dword.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/mov_reg64_lit64_ten_byte_encoding.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/pop.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/push.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/ret.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/sub_reg64_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/syscall.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/x86_instructions.h +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/instructions/x86_instructions_globals.h +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/put_instructions_into_code_section.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/translate_mid_level_instructions_into_cpu_instructions.c +1 -1
- data/other/old_compiler/shiltiumcomp76/arch/x86/x86_instructions.c +1 -1
- data/other/old_compiler/shiltiumcomp76/global_headers/assert_comparison.h +1 -1
- data/other/old_compiler/shiltiumcomp76/global_headers/deref.h +1 -1
- data/other/old_compiler/shiltiumcomp76/global_headers/globals.h +1 -1
- data/other/old_compiler/shiltiumcomp76/global_headers/headers.h +1 -1
- data/other/old_compiler/shiltiumcomp76/global_headers/os_detection.h +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/constant_folding.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/conversion.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/dac_init.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/ensure_type_is_valid_otherwise_give_type_error.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/ensure_type_is_valid_otherwise_give_type_error.h +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/free_list.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/get_variable.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/get_variable.h +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/input.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/insert_variable_into_scope.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/insert_variable_into_scope.h +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/is_valid_identifier.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/lex_statement_string.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/libs/hash_table.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/libs/hash_table.h +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/line_number.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/line_number.h +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/list.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/literal_conversion.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/memory.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/mid_level_instructions.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/output.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/parse_block.h +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/parse_block_statement.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/parse_block_statement.h +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/parse_expression.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/parse_statement.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/parse_statement.h +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/parse_statement_string_into_tokens.h +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/parser.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/parser_dot_c_static_functions.h +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/process_command_line_options.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/read_and_parse_statement.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/read_and_parse_statement.h +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/resize_statement_buffer_if_necessary.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/resize_statement_buffer_if_necessary.h +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/shiltiumcomp.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/show_tokens.h +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/string_comparison.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/subroutine_value_deletion_function.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/subroutine_value_deletion_function.h +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/tokens_del.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/tokens_del.h +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/translate_expression_into_mid_level_instructions.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/utf8.c +1 -1
- data/other/old_compiler/shiltiumcomp76/portable/utf8.h +1 -1
- data/other/old_compiler/shiltiumcomp76/program2.sl +1 -1
- data/other/old_compiler/shiltiumcomp76/test/create_large_file.py +1 -1
- data/other/old_compiler/shiltiumcomp76/test/test.py +1 -1
- data/other/old_compiler/shiltiumcomp76/ui.cpp +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/get_length_of_mid_level_instructions.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/add_deref_register_as_qword_reg64.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/add_or_sub_reg32_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/add_or_sub_reg64_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/add_reg32_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/add_reg64_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/call_reg32.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/call_reg64.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/dac_deref_register_as_qword_reg64.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/dac_reg32_reg32.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/dac_reg64_reg64.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/fadd_qword_address.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/faddp.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/fchs.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/fcomi.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/fcomip.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/ffree.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/fld_qword_address.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/fstp_deref_register_as_qword_plus_signed_byte_offset.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/fstp_fpu_register.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/fsubp.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/fxch.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/get_length_of_add_or_sub_reg32_lit32.h +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/get_length_of_add_or_sub_reg64_lit32.h +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/int.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/int3.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/ja_short.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/jae_short.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/jb_short.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/jbe.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/je.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/jmp_reg.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/jmp_short.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/jne_short.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/mov_deref_register_as_dword_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/mov_deref_register_as_dword_plus_signed_byte_offset_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/mov_deref_register_as_dword_reg32.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/mov_deref_register_as_qword_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/mov_deref_register_as_qword_plus_signed_byte_offset_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/mov_deref_register_as_qword_reg64.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/mov_reg32_deref_register_as_dword.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/mov_reg64_lit64_ten_byte_encoding.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/pop.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/push.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/ret.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/sub_reg64_lit32.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/syscall.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/x86_instructions.h +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/instructions/x86_instructions_globals.h +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/put_instructions_into_code_section.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/translate_mid_level_instructions_into_cpu_instructions.c +1 -1
- data/other/old_compiler/shiltiumcomp78/arch/x86/x86_instructions.c +1 -1
- data/other/old_compiler/shiltiumcomp78/global_headers/assert_comparison.h +1 -1
- data/other/old_compiler/shiltiumcomp78/global_headers/deref.h +1 -1
- data/other/old_compiler/shiltiumcomp78/global_headers/globals.h +1 -1
- data/other/old_compiler/shiltiumcomp78/global_headers/headers.h +1 -1
- data/other/old_compiler/shiltiumcomp78/global_headers/os_detection.h +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/constant_folding.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/conversion.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/dac_init.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/ensure_type_is_valid_otherwise_give_type_error.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/ensure_type_is_valid_otherwise_give_type_error.h +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/free_list.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/get_variable.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/get_variable.h +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/input.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/insert_variable_into_scope.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/insert_variable_into_scope.h +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/is_valid_identifier.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/lex_statement_string.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/libs/hash_table.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/libs/hash_table.h +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/line_number.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/line_number.h +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/list.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/literal_conversion.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/memory.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/mid_level_instructions.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/output.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/parse_block.h +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/parse_block_statement.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/parse_block_statement.h +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/parse_expression.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/parse_statement.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/parse_statement.h +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/parse_statement_string_into_tokens.h +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/parser.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/parser_dot_c_static_functions.h +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/process_command_line_options.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/read_and_parse_statement.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/read_and_parse_statement.h +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/resize_statement_buffer_if_necessary.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/resize_statement_buffer_if_necessary.h +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/shiltiumcomp.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/show_tokens.h +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/string_comparison.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/subroutine_value_deletion_function.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/subroutine_value_deletion_function.h +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/tokens_del.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/tokens_del.h +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/translate_expression_into_mid_level_instructions.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/utf8.c +1 -1
- data/other/old_compiler/shiltiumcomp78/portable/utf8.h +1 -1
- data/other/old_compiler/shiltiumcomp78/program2.sl +1 -1
- data/other/old_compiler/shiltiumcomp78/test/create_large_file.py +1 -1
- data/other/old_compiler/shiltiumcomp78/test/test.py +1 -1
- data/other/old_compiler/shiltiumcomp78/ui.cpp +1 -1
- data/other/upload.rb +27 -0
- data/output_data +2 -2
- data/physics +5 -7
- data/push +1 -1
- data/src/- +1 -0
- data/src/--file +0 -0
- data/src/clock +0 -0
- data/src/color_tools/black +0 -0
- data/src/color_tools/black.c +78 -0
- data/src/color_tools/black_bold +0 -0
- data/src/color_tools/black_bold.c +78 -0
- data/src/color_tools/black_bold_underline +0 -0
- data/src/color_tools/black_bold_underline.c +78 -0
- data/src/color_tools/black_underline +0 -0
- data/src/color_tools/black_underline.c +78 -0
- data/src/color_tools/blue +0 -0
- data/src/color_tools/blue.c +78 -0
- data/src/color_tools/blue_bold +0 -0
- data/src/color_tools/blue_bold.c +78 -0
- data/src/color_tools/blue_bold_underline +0 -0
- data/src/color_tools/blue_bold_underline.c +78 -0
- data/src/color_tools/blue_underline +0 -0
- data/src/color_tools/blue_underline.c +78 -0
- data/src/color_tools/bold +0 -0
- data/src/color_tools/bold.c +78 -0
- data/src/color_tools/colors.rb +192 -0
- data/src/color_tools/cyan +0 -0
- data/src/color_tools/cyan.c +78 -0
- data/src/color_tools/cyan_bold +0 -0
- data/src/color_tools/cyan_bold.c +78 -0
- data/src/color_tools/cyan_bold_underline +0 -0
- data/src/color_tools/cyan_bold_underline.c +78 -0
- data/src/color_tools/cyan_underline +0 -0
- data/src/color_tools/cyan_underline.c +78 -0
- data/src/color_tools/green +0 -0
- data/src/color_tools/green.c +78 -0
- data/src/color_tools/green_bold +0 -0
- data/src/color_tools/green_bold.c +78 -0
- data/src/color_tools/green_bold_underline +0 -0
- data/src/color_tools/green_bold_underline.c +78 -0
- data/src/color_tools/green_underline +0 -0
- data/src/color_tools/green_underline.c +78 -0
- data/src/color_tools/magenta +0 -0
- data/src/color_tools/magenta.c +78 -0
- data/src/color_tools/magenta_bold +0 -0
- data/src/color_tools/magenta_bold.c +78 -0
- data/src/color_tools/magenta_bold_underline +0 -0
- data/src/color_tools/magenta_bold_underline.c +78 -0
- data/src/color_tools/magenta_underline +0 -0
- data/src/color_tools/magenta_underline.c +78 -0
- data/src/color_tools/red +0 -0
- data/src/color_tools/red.c +78 -0
- data/src/color_tools/red_bold +0 -0
- data/src/color_tools/red_bold.c +78 -0
- data/src/color_tools/red_bold_underline +0 -0
- data/src/color_tools/red_bold_underline.c +78 -0
- data/src/color_tools/red_underline +0 -0
- data/src/color_tools/red_underline.c +78 -0
- data/src/color_tools/underline +0 -0
- data/src/color_tools/underline.c +78 -0
- data/src/color_tools/white +0 -0
- data/src/color_tools/white.c +78 -0
- data/src/color_tools/white_bold +0 -0
- data/src/color_tools/white_bold.c +78 -0
- data/src/color_tools/white_bold_underline +0 -0
- data/src/color_tools/white_bold_underline.c +78 -0
- data/src/color_tools/white_underline +0 -0
- data/src/color_tools/white_underline.c +78 -0
- data/src/color_tools/yellow +0 -0
- data/src/color_tools/yellow.c +78 -0
- data/src/color_tools/yellow_bold +0 -0
- data/src/color_tools/yellow_bold.c +78 -0
- data/src/color_tools/yellow_bold_underline +0 -0
- data/src/color_tools/yellow_bold_underline.c +78 -0
- data/src/color_tools/yellow_underline +0 -0
- data/src/color_tools/yellow_underline.c +78 -0
- data/src/compilation/abs +286 -0
- data/src/compilation/add +286 -0
- data/src/compilation/append +286 -0
- data/src/compilation/args +286 -0
- data/src/compilation/copy +286 -0
- data/src/compilation/div +286 -0
- data/src/compilation/dump +286 -0
- data/src/compilation/exp +286 -0
- data/src/compilation/floor +286 -0
- data/src/compilation/gsub +286 -0
- data/src/compilation/gsubip +286 -0
- data/src/compilation/last_nth +286 -0
- data/src/compilation/lines +286 -0
- data/src/compilation/mul +286 -0
- data/src/compilation/nth +286 -0
- data/src/compilation/prepend +286 -0
- data/src/compilation/rip +286 -0
- data/src/compilation/rnip +286 -0
- data/src/compilation/selectlines +286 -0
- data/src/compilation/sub +286 -0
- data/src/compilation/swap +286 -0
- data/src/compilation/undump +286 -0
- data/src/compile_all +36 -0
- data/src/gsubip +0 -0
- data/src/news +0 -0
- data/src/programs/abs +0 -0
- data/src/programs/add +0 -0
- data/src/programs/append +0 -0
- data/src/programs/args +0 -0
- data/src/programs/copy +0 -0
- data/src/programs/div +0 -0
- data/src/programs/dump +0 -0
- data/src/programs/exp +0 -0
- data/src/programs/floor +0 -0
- data/src/programs/gsub +0 -0
- data/src/programs/gsubip +0 -0
- data/src/programs/last_nth +0 -0
- data/src/programs/lines +0 -0
- data/src/programs/mul +0 -0
- data/src/programs/news +0 -0
- data/src/programs/nth +0 -0
- data/src/programs/prepend +0 -0
- data/src/programs/rip +0 -0
- data/src/programs/rnip +0 -0
- data/src/programs/selectlines +0 -0
- data/src/programs/sub +0 -0
- data/src/programs/swap +0 -0
- data/src/programs/undump +0 -0
- data/src/rgsub +0 -0
- data/src/rgsub.c +404 -0
- data/src/src/code2 +57 -0
- data/src/src/functions.cr +274 -0
- data/src/src/mk +43 -0
- data/src/test/cat +0 -0
- data/src/test/foo/dog +0 -0
- data/thoughts_on_SIMULATIONS +149 -1
- metadata +172 -114
- data/NOTE +0 -2
- data/YOUTUBE_CHANNEL +0 -1
- data/bin/YOUTUBE_CHANNEL.txt +0 -1
- data/bin/communicate +0 -88
- data/bin/executable +0 -1
- data/bin/foreach +0 -71
- data/documentation/communicate +0 -18
- data/documentation/executable +0 -1
- data/documentation/foreach +0 -24
- data/documentation/inspire +0 -12
- data/documentation/quotes +0 -2
- data/documentation/translate +0 -23
- data/non_compiled_programs/YOUTUBE_CHANNEL.txt +0 -1
- data/non_compiled_programs/communicate +0 -88
- data/non_compiled_programs/executable +0 -1
- data/non_compiled_programs/foreach +0 -71
- data/other/dg_desktop_widget/a.sh +0 -7
- data/source_code/compile_all +0 -15
- data/source_code/programs/abs +0 -0
- data/source_code/programs/add +0 -0
- data/source_code/programs/append +0 -0
- data/source_code/programs/args +0 -0
- data/source_code/programs/black +0 -0
- data/source_code/programs/black_bold +0 -0
- data/source_code/programs/black_bold_underline +0 -0
- data/source_code/programs/black_underline +0 -0
- data/source_code/programs/blue +0 -0
- data/source_code/programs/blue_bold +0 -0
- data/source_code/programs/blue_bold_underline +0 -0
- data/source_code/programs/blue_underline +0 -0
- data/source_code/programs/bold +0 -0
- data/source_code/programs/copy +0 -0
- data/source_code/programs/cyan +0 -0
- data/source_code/programs/cyan_bold +0 -0
- data/source_code/programs/cyan_bold_underline +0 -0
- data/source_code/programs/cyan_underline +0 -0
- data/source_code/programs/div +0 -0
- data/source_code/programs/dump +0 -0
- data/source_code/programs/exp +0 -0
- data/source_code/programs/floor +0 -0
- data/source_code/programs/green +0 -0
- data/source_code/programs/green_bold +0 -0
- data/source_code/programs/green_bold_underline +0 -0
- data/source_code/programs/green_underline +0 -0
- data/source_code/programs/gsub +0 -0
- data/source_code/programs/gsubip +0 -0
- data/source_code/programs/last_nth +0 -0
- data/source_code/programs/lines +0 -0
- data/source_code/programs/magenta +0 -0
- data/source_code/programs/magenta_bold +0 -0
- data/source_code/programs/magenta_bold_underline +0 -0
- data/source_code/programs/magenta_underline +0 -0
- data/source_code/programs/mul +0 -0
- data/source_code/programs/nth +0 -0
- data/source_code/programs/prepend +0 -0
- data/source_code/programs/red +0 -0
- data/source_code/programs/red_bold +0 -0
- data/source_code/programs/red_bold_underline +0 -0
- data/source_code/programs/red_underline +0 -0
- data/source_code/programs/rgsub +0 -0
- data/source_code/programs/rip +0 -0
- data/source_code/programs/rnip +0 -0
- data/source_code/programs/selectlines +0 -0
- data/source_code/programs/sub +0 -0
- data/source_code/programs/swap +0 -0
- data/source_code/programs/underline +0 -0
- data/source_code/programs/undump +0 -0
- data/source_code/programs/white +0 -0
- data/source_code/programs/white_bold +0 -0
- data/source_code/programs/white_bold_underline +0 -0
- data/source_code/programs/white_underline +0 -0
- data/source_code/programs/yellow +0 -0
- data/source_code/programs/yellow_bold +0 -0
- data/source_code/programs/yellow_bold_underline +0 -0
- data/source_code/programs/yellow_underline +0 -0
- data/source_code/source_code/code +0 -1
- data/source_code/source_code/functions.cr +0 -1074
- data/source_code/source_code/mk +0 -66
- /data/documentation/{DISCOURSE_GENERATOR → DISCOURSE_GENERATOR.exe} +0 -0
- /data/documentation/{ULTIMATE_CHAT_APPLICATION → ULTIMATE_CHAT_APPLICATION.exe} +0 -0
- /data/other/{dg_desktop_widget → discourse_generator_desktop_widget}/.qmake.stash +0 -0
- /data/other/{dg_desktop_widget → discourse_generator_desktop_widget}/a.cpp +0 -0
- /data/other/{dg_desktop_widget → discourse_generator_desktop_widget}/a.out +0 -0
- /data/other/{dg_desktop_widget → discourse_generator_desktop_widget}/dep_win +0 -0
- /data/other/{dg_desktop_widget → discourse_generator_desktop_widget}/prog +0 -0
- /data/other/{github_project → semantic_metadata}/AI +0 -0
- /data/other/{github_project → semantic_metadata}/APIS +0 -0
- /data/other/{github_project → semantic_metadata}/Dwn_dot_sh +0 -0
- /data/other/{github_project → semantic_metadata}/Existential Auto-Sort of Anything At All In Life/GOOD +0 -0
- /data/other/{github_project → semantic_metadata}/Existential Auto-Sort of Anything At All In Life/amazing_output +0 -0
- /data/other/{github_project → semantic_metadata}/Existential Auto-Sort of Anything At All In Life/amazing_output_keys +0 -0
- /data/other/{github_project → semantic_metadata}/Existential Auto-Sort of Anything At All In Life/amazing_output_length_of_keys +0 -0
- /data/other/{github_project → semantic_metadata}/Existential Auto-Sort of Anything At All In Life/amazing_output_values +0 -0
- /data/other/{github_project → semantic_metadata}/Existential Auto-Sort of Anything At All In Life/dddddddddd +0 -0
- /data/other/{github_project → semantic_metadata}/Existential Auto-Sort of Anything At All In Life/json +0 -0
- /data/other/{github_project → semantic_metadata}/Existential Auto-Sort of Anything At All In Life/keys_GOOD +0 -0
- /data/other/{github_project → semantic_metadata}/Existential Auto-Sort of Anything At All In Life/upwards.rb +0 -0
- /data/other/{github_project → semantic_metadata}/Existential Auto-Sort of Anything At All In Life/values_GOOD +0 -0
- /data/other/{github_project → semantic_metadata}/LICENSE +0 -0
- /data/other/{github_project → semantic_metadata}/description +0 -0
- /data/other/{github_project → semantic_metadata}/hash +0 -0
- /data/other/{github_project → semantic_metadata}/hash.d +0 -0
- /data/other/{github_project → semantic_metadata}/program.cr +0 -0
- /data/other/{github_project → semantic_metadata}/program.rb +0 -0
- /data/other/{github_project → semantic_metadata}/programold +0 -0
- /data/other/{github_project → semantic_metadata}/run.sh +0 -0
- /data/{source_code → src}/clock.cr +0 -0
- /data/{source_code → src}/news.cr +0 -0
- /data/{source_code/source_code → src/src}/Makefile +0 -0
- /data/{source_code/source_code → src/src}/QQ +0 -0
- /data/{source_code/source_code → src/src}/format_so_it_works +0 -0
@@ -0,0 +1,286 @@
|
|
1
|
+
#!/usr/bin/crystal
|
2
|
+
require "file_utils"
|
3
|
+
require "json"
|
4
|
+
require "colorize"
|
5
|
+
|
6
|
+
include FileUtils
|
7
|
+
|
8
|
+
def lines()
|
9
|
+
if !STDIN.tty?
|
10
|
+
puts STDIN.gets_to_end.count("\n")
|
11
|
+
else
|
12
|
+
res = `find .`.count("\n") - 1
|
13
|
+
puts res
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
def args(arg1)
|
18
|
+
sections = Process.parse_arguments(arg1)
|
19
|
+
program, args = sections[0], sections[1..]
|
20
|
+
|
21
|
+
sections = Process.parse_arguments(arg1)
|
22
|
+
|
23
|
+
program = Process.find_executable(program)
|
24
|
+
if program.nil?
|
25
|
+
puts "Can't find program #{arg1}"
|
26
|
+
raise "Error"
|
27
|
+
end
|
28
|
+
|
29
|
+
lines = STDIN.gets_to_end.strip
|
30
|
+
lines = lines.split "\n"
|
31
|
+
times = (lines.size % 2000000 == 0) ? 2 : 1
|
32
|
+
|
33
|
+
times += lines.size // 2000000
|
34
|
+
n = 0
|
35
|
+
times.times do
|
36
|
+
prog_args = args
|
37
|
+
|
38
|
+
prog_args += lines[n..(n + 2000000 - 1)]; n += 2000000
|
39
|
+
|
40
|
+
if (p = Process.fork).nil?
|
41
|
+
Process.exec(
|
42
|
+
program,
|
43
|
+
prog_args
|
44
|
+
)
|
45
|
+
else
|
46
|
+
p.wait
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
def copy()
|
52
|
+
command = "/usr/bin/xclip"
|
53
|
+
args = ["-selection", "c"]
|
54
|
+
Process.run(command, args, output: STDOUT) do |file|
|
55
|
+
file.input.print STDIN.gets_to_end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
def mul()
|
60
|
+
t = STDIN.read_line.to_f64
|
61
|
+
|
62
|
+
i = 0f64; STDIN.each_line do |line|
|
63
|
+
t *= line.to_f64
|
64
|
+
end
|
65
|
+
|
66
|
+
puts t
|
67
|
+
end
|
68
|
+
|
69
|
+
def add()
|
70
|
+
t = STDIN.read_line.to_f64
|
71
|
+
|
72
|
+
i = 0f64; STDIN.each_line do |line|
|
73
|
+
t += line.to_f64
|
74
|
+
end
|
75
|
+
|
76
|
+
puts t
|
77
|
+
end
|
78
|
+
|
79
|
+
def div()
|
80
|
+
t = STDIN.read_line.to_f64
|
81
|
+
|
82
|
+
i = 0f64; STDIN.each_line do |line|
|
83
|
+
t /= line.to_f64
|
84
|
+
end
|
85
|
+
|
86
|
+
puts t
|
87
|
+
end
|
88
|
+
|
89
|
+
def sub()
|
90
|
+
t = STDIN.read_line.to_f64
|
91
|
+
|
92
|
+
i = 0f64; STDIN.each_line do |line|
|
93
|
+
t -= line.to_f64
|
94
|
+
end
|
95
|
+
|
96
|
+
puts t
|
97
|
+
end
|
98
|
+
|
99
|
+
def floor()
|
100
|
+
puts STDIN.read_line.to_f64.to_i64
|
101
|
+
end
|
102
|
+
|
103
|
+
def abs()
|
104
|
+
STDIN.each_line do |l|
|
105
|
+
l = l.to_f64.abs
|
106
|
+
puts l
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
def dump()
|
111
|
+
puts STDIN.gets_to_end.dump
|
112
|
+
end
|
113
|
+
|
114
|
+
def undump()
|
115
|
+
puts JSON.parse(STDIN.gets_to_end)
|
116
|
+
end
|
117
|
+
|
118
|
+
def exp()
|
119
|
+
t = STDIN.read_line.to_f64
|
120
|
+
|
121
|
+
STDIN.each_line do |line|
|
122
|
+
t **= line.to_f64
|
123
|
+
end
|
124
|
+
|
125
|
+
puts t
|
126
|
+
end
|
127
|
+
|
128
|
+
def nth(arg1)
|
129
|
+
end_ = arg1.to_u64
|
130
|
+
i = 0u64; STDIN.each_line do |line|
|
131
|
+
i += 1
|
132
|
+
if i == end_
|
133
|
+
puts line
|
134
|
+
break
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
def last_nth(arg1)
|
140
|
+
end_ = arg1.to_u64
|
141
|
+
i = 0u64;
|
142
|
+
t = STDIN.gets_to_end
|
143
|
+
if t[-1] == '\n'
|
144
|
+
t = t[0..-2]
|
145
|
+
end
|
146
|
+
|
147
|
+
t.split("\n").reverse_each do |line|
|
148
|
+
i += 1
|
149
|
+
if i == end_
|
150
|
+
puts line
|
151
|
+
break
|
152
|
+
end
|
153
|
+
end
|
154
|
+
end
|
155
|
+
|
156
|
+
def gsubip(arg1, arg2, arg3)
|
157
|
+
regex = Regex.new(arg1)
|
158
|
+
text = File.read(arg3).gsub(/#{arg1}/m, arg2)
|
159
|
+
File.open(t = File.tempname("coreutils", "_tmp"), "w", File.info(arg3).permissions) do |h|
|
160
|
+
h.print text
|
161
|
+
end
|
162
|
+
begin
|
163
|
+
mv t, arg3
|
164
|
+
rescue
|
165
|
+
rm t
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
def rip(arg1, arg2, arg3)
|
170
|
+
text = File.read(arg3).gsub(arg1, arg2)
|
171
|
+
File.open(t = File.tempname("coreutils", "_tmp"), "w", File.info(arg3).permissions) do |h|
|
172
|
+
h.print text
|
173
|
+
end
|
174
|
+
begin
|
175
|
+
mv t, arg3
|
176
|
+
rescue
|
177
|
+
rm t
|
178
|
+
end
|
179
|
+
end
|
180
|
+
|
181
|
+
def gsub(arg1, arg2)
|
182
|
+
print STDIN.gets_to_end.gsub(/#{arg1}/m, arg2)
|
183
|
+
end
|
184
|
+
|
185
|
+
def rnip(arg1, arg2)
|
186
|
+
print STDIN.gets_to_end.gsub(arg1, arg2)
|
187
|
+
end
|
188
|
+
|
189
|
+
def selectlines()
|
190
|
+
STDIN.each_line do |line|
|
191
|
+
if line.strip.size > 0
|
192
|
+
puts line
|
193
|
+
end
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
197
|
+
|
198
|
+
def swap(file1, file2)
|
199
|
+
[file1, file2].each do |f|
|
200
|
+
File.exists?(f) || abort("No file named #{f.dump}".colorize(:red))
|
201
|
+
end
|
202
|
+
t = File.tempname("coreutils", "_tmp")
|
203
|
+
|
204
|
+
mv file1, t
|
205
|
+
mv file2, file1
|
206
|
+
mv t, file2
|
207
|
+
end
|
208
|
+
|
209
|
+
def prepend(file)
|
210
|
+
file_data = File.read(file)
|
211
|
+
new_data = STDIN.gets_to_end
|
212
|
+
File.open(t = File.tempname("coreutils", "_tmp"), "w", File.info(file).permissions) do |h|
|
213
|
+
h << new_data + file_data
|
214
|
+
end
|
215
|
+
|
216
|
+
begin
|
217
|
+
mv t, file
|
218
|
+
rescue
|
219
|
+
rm t
|
220
|
+
end
|
221
|
+
end
|
222
|
+
|
223
|
+
def append(file)
|
224
|
+
file_data = File.read(file)
|
225
|
+
new_data = STDIN.gets_to_end
|
226
|
+
File.open(t = File.tempname("coreutils", "_tmp"), "w", File.info(file).permissions) do |h|
|
227
|
+
h << file_data + new_data
|
228
|
+
end
|
229
|
+
begin
|
230
|
+
mv t, file
|
231
|
+
rescue
|
232
|
+
rm t
|
233
|
+
end
|
234
|
+
end
|
235
|
+
|
236
|
+
class Funcs
|
237
|
+
def self.bold(text)
|
238
|
+
text = text.to_s
|
239
|
+
# text += two.to_s
|
240
|
+
|
241
|
+
if STDOUT.tty?
|
242
|
+
return text.colorize.bold.to_s
|
243
|
+
else
|
244
|
+
return "<b>" + text + "</b>"
|
245
|
+
end
|
246
|
+
end
|
247
|
+
|
248
|
+
def self.argument_data(program, usage, long_desc)
|
249
|
+
if !(STDOUT.tty?)
|
250
|
+
text = "<div style='border-radius: 50px; border: 10px dotted cyan; padding: 30px;'>\n"
|
251
|
+
else
|
252
|
+
text = ""
|
253
|
+
end
|
254
|
+
|
255
|
+
text += bold("NAME") + "\n\t" + program
|
256
|
+
text += " - "
|
257
|
+
text += program + "\n" * 2 + bold("SYNOPSIS") + "\n"
|
258
|
+
# tebold_("SYNOPSIS_")# + bold("SYNOPSIS")
|
259
|
+
text += "\t"
|
260
|
+
text += bold(program) + " "
|
261
|
+
text += usage + "\n\n"
|
262
|
+
text += long_desc + "\n\n"
|
263
|
+
|
264
|
+
if STDOUT.tty? == false
|
265
|
+
text = text.gsub("\n", "<br/> ").gsub("\t", " " * 5)
|
266
|
+
text += "</div>\n\n"
|
267
|
+
end
|
268
|
+
|
269
|
+
puts text
|
270
|
+
|
271
|
+
# puts "</
|
272
|
+
# puts "</
|
273
|
+
end
|
274
|
+
end
|
275
|
+
|
276
|
+
def main()
|
277
|
+
if ARGV.size != 1
|
278
|
+
Funcs.argument_data("prepend", "[prepend] [arguments]", "prepend prepends input taken from the standard input to a file\n\nUsage\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nprepend [file]\n\nThis is text to be prepended")
|
279
|
+
exit 1
|
280
|
+
end
|
281
|
+
|
282
|
+
prepend(ARGV[0])
|
283
|
+
end
|
284
|
+
|
285
|
+
|
286
|
+
main
|
data/src/compilation/rip
ADDED
@@ -0,0 +1,286 @@
|
|
1
|
+
#!/usr/bin/crystal
|
2
|
+
require "file_utils"
|
3
|
+
require "json"
|
4
|
+
require "colorize"
|
5
|
+
|
6
|
+
include FileUtils
|
7
|
+
|
8
|
+
def lines()
|
9
|
+
if !STDIN.tty?
|
10
|
+
puts STDIN.gets_to_end.count("\n")
|
11
|
+
else
|
12
|
+
res = `find .`.count("\n") - 1
|
13
|
+
puts res
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
def args(arg1)
|
18
|
+
sections = Process.parse_arguments(arg1)
|
19
|
+
program, args = sections[0], sections[1..]
|
20
|
+
|
21
|
+
sections = Process.parse_arguments(arg1)
|
22
|
+
|
23
|
+
program = Process.find_executable(program)
|
24
|
+
if program.nil?
|
25
|
+
puts "Can't find program #{arg1}"
|
26
|
+
raise "Error"
|
27
|
+
end
|
28
|
+
|
29
|
+
lines = STDIN.gets_to_end.strip
|
30
|
+
lines = lines.split "\n"
|
31
|
+
times = (lines.size % 2000000 == 0) ? 2 : 1
|
32
|
+
|
33
|
+
times += lines.size // 2000000
|
34
|
+
n = 0
|
35
|
+
times.times do
|
36
|
+
prog_args = args
|
37
|
+
|
38
|
+
prog_args += lines[n..(n + 2000000 - 1)]; n += 2000000
|
39
|
+
|
40
|
+
if (p = Process.fork).nil?
|
41
|
+
Process.exec(
|
42
|
+
program,
|
43
|
+
prog_args
|
44
|
+
)
|
45
|
+
else
|
46
|
+
p.wait
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
def copy()
|
52
|
+
command = "/usr/bin/xclip"
|
53
|
+
args = ["-selection", "c"]
|
54
|
+
Process.run(command, args, output: STDOUT) do |file|
|
55
|
+
file.input.print STDIN.gets_to_end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
def mul()
|
60
|
+
t = STDIN.read_line.to_f64
|
61
|
+
|
62
|
+
i = 0f64; STDIN.each_line do |line|
|
63
|
+
t *= line.to_f64
|
64
|
+
end
|
65
|
+
|
66
|
+
puts t
|
67
|
+
end
|
68
|
+
|
69
|
+
def add()
|
70
|
+
t = STDIN.read_line.to_f64
|
71
|
+
|
72
|
+
i = 0f64; STDIN.each_line do |line|
|
73
|
+
t += line.to_f64
|
74
|
+
end
|
75
|
+
|
76
|
+
puts t
|
77
|
+
end
|
78
|
+
|
79
|
+
def div()
|
80
|
+
t = STDIN.read_line.to_f64
|
81
|
+
|
82
|
+
i = 0f64; STDIN.each_line do |line|
|
83
|
+
t /= line.to_f64
|
84
|
+
end
|
85
|
+
|
86
|
+
puts t
|
87
|
+
end
|
88
|
+
|
89
|
+
def sub()
|
90
|
+
t = STDIN.read_line.to_f64
|
91
|
+
|
92
|
+
i = 0f64; STDIN.each_line do |line|
|
93
|
+
t -= line.to_f64
|
94
|
+
end
|
95
|
+
|
96
|
+
puts t
|
97
|
+
end
|
98
|
+
|
99
|
+
def floor()
|
100
|
+
puts STDIN.read_line.to_f64.to_i64
|
101
|
+
end
|
102
|
+
|
103
|
+
def abs()
|
104
|
+
STDIN.each_line do |l|
|
105
|
+
l = l.to_f64.abs
|
106
|
+
puts l
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
def dump()
|
111
|
+
puts STDIN.gets_to_end.dump
|
112
|
+
end
|
113
|
+
|
114
|
+
def undump()
|
115
|
+
puts JSON.parse(STDIN.gets_to_end)
|
116
|
+
end
|
117
|
+
|
118
|
+
def exp()
|
119
|
+
t = STDIN.read_line.to_f64
|
120
|
+
|
121
|
+
STDIN.each_line do |line|
|
122
|
+
t **= line.to_f64
|
123
|
+
end
|
124
|
+
|
125
|
+
puts t
|
126
|
+
end
|
127
|
+
|
128
|
+
def nth(arg1)
|
129
|
+
end_ = arg1.to_u64
|
130
|
+
i = 0u64; STDIN.each_line do |line|
|
131
|
+
i += 1
|
132
|
+
if i == end_
|
133
|
+
puts line
|
134
|
+
break
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
def last_nth(arg1)
|
140
|
+
end_ = arg1.to_u64
|
141
|
+
i = 0u64;
|
142
|
+
t = STDIN.gets_to_end
|
143
|
+
if t[-1] == '\n'
|
144
|
+
t = t[0..-2]
|
145
|
+
end
|
146
|
+
|
147
|
+
t.split("\n").reverse_each do |line|
|
148
|
+
i += 1
|
149
|
+
if i == end_
|
150
|
+
puts line
|
151
|
+
break
|
152
|
+
end
|
153
|
+
end
|
154
|
+
end
|
155
|
+
|
156
|
+
def gsubip(arg1, arg2, arg3)
|
157
|
+
regex = Regex.new(arg1)
|
158
|
+
text = File.read(arg3).gsub(/#{arg1}/m, arg2)
|
159
|
+
File.open(t = File.tempname("coreutils", "_tmp"), "w", File.info(arg3).permissions) do |h|
|
160
|
+
h.print text
|
161
|
+
end
|
162
|
+
begin
|
163
|
+
mv t, arg3
|
164
|
+
rescue
|
165
|
+
rm t
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
def rip(arg1, arg2, arg3)
|
170
|
+
text = File.read(arg3).gsub(arg1, arg2)
|
171
|
+
File.open(t = File.tempname("coreutils", "_tmp"), "w", File.info(arg3).permissions) do |h|
|
172
|
+
h.print text
|
173
|
+
end
|
174
|
+
begin
|
175
|
+
mv t, arg3
|
176
|
+
rescue
|
177
|
+
rm t
|
178
|
+
end
|
179
|
+
end
|
180
|
+
|
181
|
+
def gsub(arg1, arg2)
|
182
|
+
print STDIN.gets_to_end.gsub(/#{arg1}/m, arg2)
|
183
|
+
end
|
184
|
+
|
185
|
+
def rnip(arg1, arg2)
|
186
|
+
print STDIN.gets_to_end.gsub(arg1, arg2)
|
187
|
+
end
|
188
|
+
|
189
|
+
def selectlines()
|
190
|
+
STDIN.each_line do |line|
|
191
|
+
if line.strip.size > 0
|
192
|
+
puts line
|
193
|
+
end
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
197
|
+
|
198
|
+
def swap(file1, file2)
|
199
|
+
[file1, file2].each do |f|
|
200
|
+
File.exists?(f) || abort("No file named #{f.dump}".colorize(:red))
|
201
|
+
end
|
202
|
+
t = File.tempname("coreutils", "_tmp")
|
203
|
+
|
204
|
+
mv file1, t
|
205
|
+
mv file2, file1
|
206
|
+
mv t, file2
|
207
|
+
end
|
208
|
+
|
209
|
+
def prepend(file)
|
210
|
+
file_data = File.read(file)
|
211
|
+
new_data = STDIN.gets_to_end
|
212
|
+
File.open(t = File.tempname("coreutils", "_tmp"), "w", File.info(file).permissions) do |h|
|
213
|
+
h << new_data + file_data
|
214
|
+
end
|
215
|
+
|
216
|
+
begin
|
217
|
+
mv t, file
|
218
|
+
rescue
|
219
|
+
rm t
|
220
|
+
end
|
221
|
+
end
|
222
|
+
|
223
|
+
def append(file)
|
224
|
+
file_data = File.read(file)
|
225
|
+
new_data = STDIN.gets_to_end
|
226
|
+
File.open(t = File.tempname("coreutils", "_tmp"), "w", File.info(file).permissions) do |h|
|
227
|
+
h << file_data + new_data
|
228
|
+
end
|
229
|
+
begin
|
230
|
+
mv t, file
|
231
|
+
rescue
|
232
|
+
rm t
|
233
|
+
end
|
234
|
+
end
|
235
|
+
|
236
|
+
class Funcs
|
237
|
+
def self.bold(text)
|
238
|
+
text = text.to_s
|
239
|
+
# text += two.to_s
|
240
|
+
|
241
|
+
if STDOUT.tty?
|
242
|
+
return text.colorize.bold.to_s
|
243
|
+
else
|
244
|
+
return "<b>" + text + "</b>"
|
245
|
+
end
|
246
|
+
end
|
247
|
+
|
248
|
+
def self.argument_data(program, usage, long_desc)
|
249
|
+
if !(STDOUT.tty?)
|
250
|
+
text = "<div style='border-radius: 50px; border: 10px dotted cyan; padding: 30px;'>\n"
|
251
|
+
else
|
252
|
+
text = ""
|
253
|
+
end
|
254
|
+
|
255
|
+
text += bold("NAME") + "\n\t" + program
|
256
|
+
text += " - "
|
257
|
+
text += program + "\n" * 2 + bold("SYNOPSIS") + "\n"
|
258
|
+
# tebold_("SYNOPSIS_")# + bold("SYNOPSIS")
|
259
|
+
text += "\t"
|
260
|
+
text += bold(program) + " "
|
261
|
+
text += usage + "\n\n"
|
262
|
+
text += long_desc + "\n\n"
|
263
|
+
|
264
|
+
if STDOUT.tty? == false
|
265
|
+
text = text.gsub("\n", "<br/> ").gsub("\t", " " * 5)
|
266
|
+
text += "</div>\n\n"
|
267
|
+
end
|
268
|
+
|
269
|
+
puts text
|
270
|
+
|
271
|
+
# puts "</
|
272
|
+
# puts "</
|
273
|
+
end
|
274
|
+
end
|
275
|
+
|
276
|
+
def main()
|
277
|
+
if ARGV.size != 3
|
278
|
+
Funcs.argument_data("rip", "[rip] [arguments]", "Replace In Place\n\nrip tool replaces a string, not a regular expression, with another string\n\n\nExample\n\nrip cat dog file")
|
279
|
+
exit 1
|
280
|
+
end
|
281
|
+
|
282
|
+
rip(ARGV[0], ARGV[1], ARGV[2])
|
283
|
+
end
|
284
|
+
|
285
|
+
|
286
|
+
main
|