From: Daniel Moore Date: 2010-05-08T09:50:45+09:00 Subject: [QUIZ] Interactive Mode BASIC Interpreter (#232) -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The three rules of Ruby Quiz: 1.  Please do not post any solutions or spoiler discussion for this quiz until 48 hours have elapsed from the time this message was sent. 2.  Support Ruby Quiz by submitting ideas and responses as often as you can. 3.  Enjoy! Suggestion:  A [QUIZ] in the subject of emails about the problem helps everyone on Ruby Talk follow the discussion.  Please reply to the original quiz message, if you can. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - RSS Feed: http://rubyquiz.strd6.com/quizzes.rss Suggestions?: http://rubyquiz.strd6.com/suggestions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ## Interactive Mode BASIC Interpreter (#232) Ellohay Rubyists, This quiz is courtesy of Jean Lazarou. This week's quiz is to extend the BASIC interpreter from quiz #228[1][2]  so that it can start in interactive mode. In interactive mode, we should be able to type following commands: - 'load' a program, - 'list' the loaded file, - 'run' it, - 'quit' the interpreter, - 'debug' the program. Once debugging, the user should be able to set breakpoints, display the active breakpoints, display a variable value or all the variables, remove breakpoints and step the program. Optionally, breakpoints could be conditional, user could change the variable values, and more. Have fun! [1]: http://rubyquiz.strd6.com/quizzes/228-ruby-basic#summary Code: [2]: http://rubyquiz.strd6.com/quizzes/228_Ruby_Basic.zip -- -Daniel http://rubyquiz.strd6.com