My nasty Ruby REPL
#!/usr/bin/env ruby def repl input = gets.chomp result = eval input puts result repl end repl