Skip to content
Solutions to problems on Rosetta Code
D Java C# C++ Visual Basic Modula-2 Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
4-rings_or_4-squares_puzzle
Abbreviations_automatic
Abundant_deficient_and_perfect_number_classifications
Abundant_odd_numbers
Active_object
Addition_chains
Almost_prime
Angle_difference_between_two_bearings
Anti-primes
Append_a_record_to_the_end_of_a_text_file
Apply_a_digital_filter_(direct_form_II_transposed)
Arithmetic-geometric_mean
Arithmetic_coding/As_a_generalized_change_of_radix
Attractive_numbers
Averages
Babbage_problem
Bacon_cipher
Base58Check_encoding
Base64_decode_data
Bell_numbers
Bilinear_interpolation
Binary_digits
Box_the_compass
Brazilian_numbers
Burrows–Wheeler_transform
CUSIP
Caesar_cipher
Calculating_the_value_of_e
Cantor_set
Card_shuffles
Cartesian_product_of_two_or_more_lists
Catalan_numbers
Chaocipher
Chat_server
Check_output_device_is_a_terminal
Chemical_Calculator
Cheryls_Birthday
Chinese_remainder_theorem
Chinese_zodiac
Chowla_numbers
Cipollas_algorithm
Circles_of_given_radius_through_two_points
Continued_fraction
Convex_hull
Copy_stdin_to_stdout
Cramers_rule
Create_a_file_on_magnetic_tape
Cuban_primes
Cycle_detection
Damm_algorithm
Data_Encryption_Standard
Days_between_dates
De_Bruijn_sequences
Department_Numbers
Determine_if_two_triangles_overlap
Digital_root
Display_a_linear_combination
Dot_product
Eban_numbers
Eertree
Egyptian_division
Egyptian_fractions
Emirp_primes
Eulers_sum_of_powers_conjecture
Even_or_odd
Factorial
Faulhabers_formula
Faulhabers_triangle
Feigenbaum_constant_calculation
Fibonacci_sequence
Find_the_intersection_of_a_line_with_a_plane
Find_the_intersection_of_two_lines
Fivenum
FizzBuzz
Floyd-Warshall_algorithm
Floyds_triangle
Fork
Fraction_reduction
General_FizzBuzz
Geometric_algebra
Get_system_command_output
Handle_a_signal
Hello_world
Hilbert_curve
Horners_rule_for_polynomial_evaluation
Humble_numbers
I_before_E_except_after_C
Imaginary_base_numbers
Integer_roots
Integer_sequence
Intersecting_Number_Wheels
Jewels_and_Stones
Josephus_problem
Just_in_time_processing_on_a_character_stream
Kahan_summation
Kaprekar_numbers
Kernighans_large_earthquake_problem
Knuths_power_tree
Kolakoski_sequence
Kosaraju
Lah_numbers
Largest_number_divisible_by_its_digits
Latin_Squares_in_reduced_form
Leap_year
Leonardo_numbers
Logical_operations
Longest_Common_Substring
Longest_common_prefix
Lucky_and_even_lucky_numbers
Magic_squares_of_doubly_even_order
Make_directory_path
Markov_chain_text_generator
Mersenne_primes
Modular_arithmetic
Montgomery_reduction
Morse_code
Multi-dimensional_array
Multiplicative_order
Munchausen_numbers
N-body_problem
N-smooth_numbers
Narcissist
Negative_base_numbers
Old_lady_swallowed_a_fly
Orbital_elements
P-value_correction
Palindrome_detection
Parallel_Brute_Force
Parsing
Particle_Swarm_Optimization
Partition_an_integer_X_into_N_primes
Pascals_triangle
Peaceful_chess_queen_armies
Pells_equation
Perfect_shuffle
Permutation_test
Pernicious_numbers
Pierpont_primes
Polynomial_long_division
Polynomial_regression
Prime_conspiracy
Proper_divisors
Pythagorean_quadruples
Quine
Ramer-Douglas-Peucker_line_simplification
Ranking_methods
Readline_interface
Recamans_sequence
Reflection
Repeat
Resistor_mesh
Reverse_a_string
Safe_addition
Sailors_coconuts_and_a_monkey_problem
Sattolo_cycle
Set_of_real_numbers
Shoelace_formula_for_polygonal_area
Short_circuit_evaluation
Sierpinski_pentagon
Smith_numbers
Snake_And_Ladder
Sort_three_variables
Split_a_character_string_based_on_change_of_character
Square_but_not_cube
Stream_Merge
Subleq
Subset_sum_problem
Substitution_Cipher
Suffix_tree
Sum_to_100
Test_integerness
Text_between
The_Name_Game
Thue-Morse
Tokenize_a_string_with_escaping
Tonelli-Shanks_algorithm
Towers_of_hanoi
Trigonometric_functions
Two_Sum
Type_detection
UTF-8_encode_and_decode
Unicode_strings
Validate_International_Securities_Identification_Number
Van_der_Corput_sequence
Vector
Vector_products
Water_collected_between_towers
Weird_numbers
Word_count
Word_search
Write_entire_file
Write_language_name_in_3D_ASCII
Write_to_Windows_event_log
Zeckendorf_arithmetic
_tools_
.gitattributes
.gitignore
LICENSE
README.md
_config.yml
submit.template

README.md

rosetta

Solutions to problems on Rosetta Code

Languages

Organized by IDE or text editor used.

Notes

  • Everything tends to be console based without additional dependencies.
  • LLVM can be done with
    • clang -S -emit-llvm foo.c to output *.ll files
    • clang -cc1 foo.c -emit-llvm equivalent to the first method
    • llc foo.ll to produce an assembly file *.s. Note that this seems to require a further installation then just clang.
    • clang foo.s or clang foo.ll to produce a runnable program
  • LLVM Language Reference
You can’t perform that action at this time.