Talk:LaserFuck

From Esolang
Jump to navigation Jump to search

Interpreter

Hey, if anyone went to this page, can you create a interpreter? I would greatly appreciate if someone did it. CappyIsCrappy (talk) 12:53, 28 May 2022 (UTC)

Questions

  • Does an error occur if a laser goes out of bounds? Does the board wrap, or do the lasers just disappear?
  • Using the Cat program as an example, do the {}^v commands set the direction of an adjacent o* command, or just o?
  • Since the given range includes negative numbers, did you mean to say that the cells are signed?
  • What counts as a used cell? Considering the following brainfuck code >>+, were one, two, or three cells used? If only one was used, how is the zero printed in the binary RNG program?

- Bangyen (talk) 22:07, 28 May 2022 (UTC)

[RE] Questions

  1. The lasers get deleted.
  2. The }, {, ^ and v commands set the direction of lasers that touch them, from all directions.
  3. Fixed it.
  4. Any cell that got changed in execution, and negative numbers aren't printed for obvious reasons.

CappyIsCrappy (talk) 13:26, 29 May 2022 (UTC)

Note

The }, {, ^ and v commands are just for convenience, for example, you can replace } by this:

_
\
#

_

You can flip and rotate this to get {, ^ and v.

Example: Cat program without }:

ÿ _
/o\,#/)x
  #
\>   /
  _

And even this program is overexaggerated.

50% chance to not work.

Cat program

In that case, unless I'm misinterpreting the program, there's a 75% chance of the original cat program halting on start, and there's a 50% chance of the modified cat program halting on start.

- Bangyen (talk) 14:17, 29 May 2022 (UTC)

[RE] Cat program

Fixed the original, but i'll leave the other one unmodified for a 50-50 modifier. CappyIsCrappy (talk) 13:32, 30 May 2022 (UTC)

The original seems to still fail 50% of the time? I think the following works:

ÿ/\
|o},#/)x
 \^> /

- Bangyen (talk) 14:26, 30 May 2022 (UTC)