-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
The three rules of Ruby Quiz:
1. ¨Âìåáóäï îïðïóô áîóïìõôéïîïò óðïéìåäéóãõóóéïî æïôèéó
quiz until 48 hours have elapsed from the time this message was
sent.
2. ¨Âõððïòô Òõâù Ñõéú âù óõâíéôôéîç éäåááîòåóðïîóåas often as you can.
3. ¨Âîêïù
Suggestion: ¨Â ÛÑÕÉÚÝ éî ôèóõâêåãïæ åíáéìó áâïõôèðòïâìåhelps everyone on Ruby Talk follow the discussion. ¨Âìåáóòåðìôï
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] ¨Âôèáô éô ãáóôáòéî éîôåòáãôéöíïäå
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]: ¨Âôô𺯯òõâùñõéú®óôòä¶®ãïí¯ñõéúúå󯲲¸òõâùâáóéã£óõííáò
Code:
[2]: http://rubyquiz.strd6.com/quizzes/228_Ruby_Basic.zip
--
-Daniel
http://rubyquiz.strd6.com