[#5] Add 'repl' command to morley
Description
Adds a simple REPL for running Morley instructions. Right now a command 'repl' is added to morley executable morley executable.
The REPL starts with an empty stack. Instructions can be entered, possibly multiple ones separated by semicolons.
After execution, the modified stack is printed. Use ":help" to see the available commands after starting the REPL.morley-client
Related issue(s)
Resolves #5 (closed)
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests (see short guidelines)
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.
Edited by Sandeep.C.R