YOU ALL SUCK!

Robin Becker robin at SPAMREMOVEjessikat.fsnet.co.uk
Sat Sep 4 19:24:03 EDT 2004


Bengt Richter wrote:
.......
> 
> Did you originate that? I found it somewhere in lisp, but there was no author identified.
> It starts:
> ________
> 
> ;;; -*- Mode: LISP; Syntax: Common-lisp; Base: 10. -*-
>  
> (defvar *line-length* 72.)
>  
> (defvar *chomsky-help*
>         "CHOMSKY is an aid to writing linguistic papers in the style
>     of the great master.  It is based on selected phrases taken 
>     from actual books and articles written by Noam Chomsky. 
>     Upon request, it assembles the phrases in the elegant
>     stylistic patterns that Chomsky is noted for. 
>     To generate n sentences of linguistic wisdom, type 
>         (CHOMSKY n)  -- for example 
>         (CHOMSKY 5) generates half a screen of linguistic truth.")
> ________
>  
> I was doing a little perl at the time, so I took the source verbatim and prefixed perl
> code ending in __END__ on that, so I could use DATA to get at the strings in the lisp
> mainly, and then sort of duplicate the processing logic in perl. The above was an output
> I just ran. My perl of this dates to Aug 99, so it's not as easy to read as if I had
> written it in Python ;-) Unfortunately,
> 
> Are you the original author? There must be a nostalgia story around this ;-)
> 
> Regards,
> Bengt Richter

Not my work, I remembered the Chomsky generator from years ago.
-- 
Robin Becker



More information about the Python-list mailing list