6 kyu
Esolang: MiniBitMove
382 of 983user2514386
Loading description...
Interpreters
Strings
Arrays
Bits
Esoteric Languages
Fundamentals
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
python new test framework is required. updated in this fork
Approved
What does move selector by 1 mean?
At beginning, the selector (index position in the string) is 0.
In the program, each time you have 0, the
index -> index + 1
Julia translation
Rust translation tests fail to compile
Currently it works fine.
This comment has been hidden.
Ruby translation. Let me know what you think.
@dpleshkov (most or all languages) The parameter names are confusing. Specifically, "tape" is the parameter for the commands/code, but according the article on MiniBitMove, which the Kata links, to it "...takes two inputs, the code and the data tape."). This is the only place "tape" is mentioned.
Please make the parameters match the Kata description or the linked article e.g. (code, data[Tape]) or (cmds, bits), etc.
C# Translation: the method signature we start with is wrong. Has all strings, but should return a bool[] and have a bool[] as the 2nd parameter.
C# translation
I changed the array var from a string to a boolean array. Let me know if there are any issues.
Shouldn't be. Approved the translation. :)
Apparently there are issues above.
Hi, I've appropriately changed the method declaration for the solution setup so the param types and return types now correctly match what is expected. Let me know if you need a fork or if you can pull it straight in.
As for the parameter names, they are the same names which every other translation uses.
I enjoyed this kata. Thank you so much. ;)
Nice and simple introduction to esolangs. Good kata, thanks!
Thanks for the compliment. =)
Took time to understand
Rust translation Please review and approve. Let me know if there are questions or issues.
This has failed tests and apparently is not published yet. Can you check and see what is wrong?
Approved. :)
.
This comment has been hidden.
PHP Translation Kumited - please accept :D
Approved. :)
JavaScript translation Kumited - please accept :D
Approved. :)
Great Kata again, absolutely loved it, especially seeing as you invented the Esolang yourself instead of just copying an existing spec from the Esolangs Wiki <3 :D
Just a little suggestion: since this Esolang only contains two commands and the one and only way to create an infinite loop is to give it a program that doesn't contain any
0
s, perhaps you could add a few random tests by generating a few random tapes and a few random programs? ;) You could even use the same generator for both the random tape and the random program as they contain the same combination of characters :) And to avoid the "infinite loop" issue you could just make the randomly generated program very long (maybe> 1000
chars?) so it is very unlikely that a program containing only1
s is generated.