DSD

Posted in Code, Projects
2 Comments

The Real Theorem Generator: a Context Free Grammar

I should prob­a­bly doc­u­ment the real ori­gin of the The­o­rem of the Day and Phi­los­o­phy of the Day. Cof­fee and Henry David Thoreau are per­haps less involved than orig­i­nally indicated.

nothoreauThe the­o­rem gen­er­a­tor was writ­ten by a good friend of mine, Matt Gline, as a project for CS51: Abstrac­tion and Design in Com­puter Pro­gram­ming, which we took together as freshmen.

The assign­ment was to use LISP to imple­ment a con­text free gram­mar — basi­cally a set of rules for computer-generated mad libs. The sub­ject was what­ever we wanted. Good ones from past years include computer-generated mys­tery novel­las, course-guide reports, and per­for­mance art direc­tions. Every year there’s a con­test, and Matt’s the­o­rem gen­er­a­tor was hys­ter­i­cal enough to win him lunch at the fac­ulty club. Con­tinue reading…

Posted in Humor, Projects
1 Comment

Philosophy of the Day

New Phi­los­o­phy

Con­tinue reading…