News for hackers. Stuff that matters.
Re:Shakespeare Programming Language by tjarratt on Wednesday June 09, 2010 @01:51AM (#1416292)
I laughed when it occurred to me that, since their parser only accepts variables named after a character from a play, Shakespeare programs are limited by having a finite number of variables and storage, but laughed even harder when reading their solution to this problem, stacks.

Each variable is a stack that can push and pop, with no error handling:

"Trying to pop when the stack is empty is a sure sign that the author has not yet perfected her storytelling skills, and will severly disappoint the runtime system."

Fantastic. All the user-friendliness of assembly indeed.

There are no comments on this comment yet.