From: Pit Capitain Date: 2005-08-15T23:27:53+09:00 Subject: Re: Building a REPL for Ruby Shalev NessAiver schrieb: > Yes, I know ruby already has irb, but I have a friend who keeps > engaging me in these python vs. ruby wars and he recently submitted the > challenge to me to > > "Write a fully featured REPL for ruby in 70 lines or less. > Furthermore, it can't be written in ruby." > > I was thinking of using Ruby/C but I've never wrote anything like this > before. Is their any tips anyone can give me so I can uphold ruby's > honor? Maybe not fully featured, but it's a start: loop do print "=> " puts( eval( gets ) ) end What features are you and your friend looking for? Regards, Pit