Skip to main content
added 73 characters in body
Source Link
Robin Ryder
  • 15.6k
  • 2
  • 24
  • 70

Shakespeare Programming Language, 204204 156 bytes

-48 bytes thanks to Jo King (mostly by changing the output method)

A.Ajax,.Puck,.Act I:.Scene I:.[Exeunt][Enter Ajax and Puck]Ajax:Open mind.Puck:Open
mind.Is I nicer thanworse zero?If not,Let usScenesoSpeak Vthy.Is you as big as I?If so,LetsoLet usAct I.You
is zero.Scene V:.Puck:Speak thy.

Try it online!Try it online!

Outputs the null characterExits with error if the input is not double speak, and outputs nothing (exits with error)warning if it is not double speak (which is allowed by default).

Shakespeare Programming Language, 204 bytes

A.Ajax,.Puck,.Act I:.Scene I:.[Exeunt][Enter Ajax and Puck]Ajax:Open mind.Puck:Open
mind.Is I nicer than zero?If not,Let usScene V.Is you as big as I?If so,Let usAct I.You
is zero.Scene V:.Puck:Speak thy.

Try it online!

Outputs the null character if input is not double speak, and outputs nothing (exits with error) if it is double speak.

Shakespeare Programming Language, 204 156 bytes

-48 bytes thanks to Jo King (mostly by changing the output method)

A.Ajax,.Puck,.Act I:.Scene I:.[Exeunt][Enter Ajax and Puck]Ajax:Open mind.Puck:Open
mind.Is I worse zero?If soSpeak thy.Is you as big as I?If soLet usAct I.

Try it online!

Exits with error if the input is double speak, and with warning if it is not double speak (which is allowed by default).

Source Link
Robin Ryder
  • 15.6k
  • 2
  • 24
  • 70

Shakespeare Programming Language, 204 bytes

A.Ajax,.Puck,.Act I:.Scene I:.[Exeunt][Enter Ajax and Puck]Ajax:Open mind.Puck:Open
mind.Is I nicer than zero?If not,Let usScene V.Is you as big as I?If so,Let usAct I.You
is zero.Scene V:.Puck:Speak thy.

Try it online!

Outputs the null character if input is not double speak, and outputs nothing (exits with error) if it is double speak.