Skip to main content

Timeline for Write a "Hello" interpreter

Current License: CC BY-SA 4.0

16 events
when toggle format what by license comment
Dec 12, 2020 at 9:28 comment added Dingus @vrintle The -0 flag sets the input record separator (newline by default). If no extra digits are given (as in this case) the separator becomes the null byte. This makes the code behave differently for an input of h\nh for example. Without -0 you get the wrong output because Ruby sees the input as two lines. But with -0, \n isn't the line separator any more so the input is seen as a single line.
Dec 12, 2020 at 4:24 comment added vrintle Hey, what does the 0 flag do in Ruby?! Though, it ran without it too, but I have never seen 0 in flags!!
Sep 4, 2020 at 0:37 history edited Dingus CC BY-SA 4.0
added 118 characters in body
Sep 3, 2020 at 6:54 history edited Dingus CC BY-SA 4.0
added 23 characters in body
Sep 3, 2020 at 6:42 history edited Dingus CC BY-SA 4.0
added 147 characters in body
Sep 3, 2020 at 5:30 history edited Dingus CC BY-SA 4.0
added 10 characters in body
Sep 3, 2020 at 5:11 history edited Dingus CC BY-SA 4.0
added 43 characters in body
Sep 3, 2020 at 5:03 history edited Dingus CC BY-SA 4.0
deleted 25 characters in body
Sep 3, 2020 at 4:32 history undeleted Dingus
Sep 3, 2020 at 4:15 history deleted Dingus via Vote
Sep 3, 2020 at 4:06 comment added the-cobalt Whoops, you're right! Let me reclarify the specs.
Sep 3, 2020 at 4:05 comment added Jo King @the-cobalt The empty program does not contain a non-h instruction, therefore it only contains hs, whether it actually has a h in it or not
Sep 3, 2020 at 4:04 comment added Dingus @the-cobalt You're right. But your example Python code behaves the same way.
Sep 3, 2020 at 4:03 comment added the-cobalt Sorry, was I unclear? By "empty", I mean a program that contains zero bytes.
Sep 3, 2020 at 3:46 comment added the-cobalt Wow, that was fast! Good job! However, I noticed that an empty program does not print err
Sep 3, 2020 at 3:45 history answered Dingus CC BY-SA 4.0