TXR Solutions to Rosetta Code Problems
Click on the small arrow in each title to navigate to the Rosetta Code page
which describes the programming problem, and also presents solutions in other
languages.
The out-of-alphabetical order appearing before 100 doors are recently
added.
Y combinator
JSON
Maze generation
100 doors
99 Bottles of Beer
Align columns
Amb
Apply a callback to an array
Arbitrary-precision integers (included)
Arithmetic evaluation
Arrays
Associative arrays/Iteration
Balanced brackets
Caesar cipher
Character matching
Command-line arguments
Comments
Conditional structures
Count occurrences of a substring
CSV to HTML translation
Empty string
Environment variables
Exceptions 1
Exceptions/Catch an exception thrown in a nested call
Find URI in text
Flatten a list
Function definition
Globally replace text in several files
Greatest common divisor
Hailstone sequence
Hash from two arrays
Hello world/Newline omission
Here document
Higher-order functions
Increment a numerical string
Inheritance/Single
Letter frequency
Loop over multiple arrays simultaneously
Luhn test of credit card numbers
Modular exponentiation
Multisplit
Mutual recursion
Narcissist
Old lady swallowed a fly
Pangram checker
Pick random element
Power set
Prime decomposition
Quine
Read a configuration file
Read a specific line from a file
Read entire file
Regular expressions
Return multiple values
Rot-13
Scope modifiers
Send email
Shell one-liner
Short-circuit evaluation
Soundex 1
Soundex 2
Strip a set of characters from a string
Strip whitespace from a string/Top and tail
Tokenize a string
Unicode strings
Update a configuration file
Variables
Vigenère cipher
Web scraping 1
Web scraping 2
XML/Input
Yahoo! search interface