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.

Re:Shakespeare Programming Language by mkramlich on Wednesday June 09, 2010 @02:44AM (#1416368)
I can't wait to compile Hamlet with it. I've been wondering for years what that script does.
Re:Shakespeare Programming Language by alain94040 on Wednesday June 09, 2010 @01:28AM (#1416261)
Definitely deserves an A+ grade for turning in such an assignment.
Re:Shakespeare Programming Language by makmanalp on Tuesday June 08, 2010 @08:24PM (#1415709)
Beautifully convoluted.
Re:Shakespeare Programming Language by aufreak2 on Wednesday June 09, 2010 @02:23AM (#1416341)
I'm still laughing hard! These guys deserve to graduate right now ... or maybe a perpetual grant to stay in school and write such assignments :D Excellente!

Edit: Just noticed 2001

Re:Shakespeare Programming Language by ricaurte on Tuesday June 08, 2010 @11:15PM (#1416031)
This is amazing! I took a Shakespeare class in college, and it would have been awesome to have given my instructor some source code for assignments. :)
Re:Shakespeare Programming Language by elblanco on Wednesday June 09, 2010 @08:10PM (#1418748)
Re:Shakespeare Programming Language by nitrogen on Wednesday June 09, 2010 @05:30AM (#1416604)
I like how easily the arithmetic can be mapped onto a stack or tree structure.
Re:Shakespeare Programming Language by pigbucket on Wednesday June 09, 2010 @02:06AM (#1416308)
Poetry is code.