Beta

Whitespace is fun!

Description
Loading description...
Algorithms
Esoteric Languages
  • Please sign in or sign up to leave a comment.
  • LosBlobbos Avatar

    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.

  • lsnbr Avatar

    This comment has been hidden.

    • koba1996 Avatar

      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.

    • lsnbr Avatar

      Hmm, I cant read your comment because its spoiler :D

    • koba1996 Avatar

      It was, indeed. Now I unmarked it.

    • lsnbr Avatar

      Ah yes didnt read that completely

      Question marked resolved by lsnbr 3 years ago
  • Voile Avatar

    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 actually read 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 a cat 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.

    • koba1996 Avatar

      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.

    • koba1996 Avatar

      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!

      Issue marked resolved by koba1996 3 years ago
  • scarecrw Avatar

    Fun kata! Esoteric languages are always interesting. A couple issues:

    • No random tests
    • Initial setup is missing a return type for reverseString

    And minor stuff:

    • "hole" instead of "whole" in the Multiply section
    • "az" instead of "is" in the Even/Odd section
    • koba1996 Avatar

      Thank you! And thank you for raising the issues. I added a thousand random tests, also fixed the initial setup and the typos.

      Issue marked resolved by koba1996 3 years ago