Talk:Dogless

From Esolang
Jump to navigation Jump to search
  • Just to be sure: is the source code outputted when the marker reaches the end of string?
  • If there is no marker, then the program terminates, with its source code as the output of the program.
  • When the marker is encountered at the end of the string, then the marker is removed from the source code and the program terminates.
Are those two conditions equivalent, or does the second cause the program to terminate without output?
  • Another question, about the metainstructions.
Since the postsource temporarily becomes the new source code, this also has the effect of altering what the presource and postsource are.
OK, but there is no guarantee that other | characters are present in the postsource, and it is a fact that there is no | in the presource, so what are the "temporarily presource and postsource" when executing the < metainstruction? For instance, what happens if the source code is: abc|<^def

--Koen (talk) 01:25, 7 October 2012 (UTC)

I would expect that the first two conditions are equivalent and that the issue about metainstructions is undefined behavior, but of course I am not the language author. You could try it in the reference interpreter and see what it does, and examine it to make an educated guess as to whether what it does is intentional. Chris Pressey (talk) 18:37, 7 October 2012 (UTC)