Beta
Whitespace is fun!
Loading description...
Algorithms
Esoteric Languages
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.
Fun stuff! Someone should approve this. A bit iffy on the difficulty, as far as Java goes its an 8 kyu but whitespace I'd say 6 kyu.
This comment has been hidden.
Without any spoilers I would like to say, that your code is not a full solution for this problem, although it is a great start. I checked it on TIO, your code provides the same outputs for my inputs, as my interpreter. Please read the task again, maybe the title is misleading.
Hmm, I cant read your comment because its spoiler :D
It was, indeed. Now I unmarked it.
Ah yes didnt read that completely
Please don't use the official spec for Whitespace, it's borderline hot garbage: it omits the required inputs for heap and I/O semantics and makes it extremely unclear (e.g
read a number
is actuallyread a number from input, a, pop a value off the stack, b, then store a at heap address b
, so you actually need a value on the stack before you can read anything). There is no way one can even implement acat
program with that kind of specification.This kata tried to improve it by providing their own description, but even that's still poorly written. You need to do better than this kata to not make everyone trying on Whitespace to hate on you and the language.
This is abolustely understandable, even I sometimes encounter interesting things during writing the codes, that was not specified clearly enough in the description. I will try to create a more detailed description for the language, until then I leave this issue open.
I updated the description, gave some explanations, and brought various of examples to help people understand this beautiful language. I really hope this will do! And thanks for the feedback!
Fun kata! Esoteric languages are always interesting. A couple issues:
reverseString
And minor stuff:
Thank you! And thank you for raising the issues. I added a thousand random tests, also fixed the initial setup and the typos.