[#720] Allow code entry take single command
Description
Problem:
- We assumed, that code entry must contain a sequence, but there also can be single instruction.
- We assumed, that DIP (and other commands, taking code as argument) can take single instruction, but it must take a sequence.
Solution:
- Make operations parser accept only sequence.
- Make code entry parser accept sequence or single instruction.
Related issue(s)
Resolves #720 (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 Dmitry