/*sestina.c the sestina is an old italian form. it uses six stanzas of six lines apiece. rather than rhyming, the end-words of the lines are repeated in a strict pattern. (for nearby examples, see my "getting to heaven" or "in-a-gadda-da-vida, baby" linked in around here someplace. for famous examples, elizabeth bishop's "sestina" or judy ruiz's amazing "argument for more sleep".) the sestina and i have had a long, intimate, and productive relationship. but i can never get the form right without recitations or other crutches. this code, though algorithmically poor, does help -- you pass it your six end-words, in the order from the first stanza, and it passes them back to you in all six patterns of weave. there is an optional three-line envoi in which all the endwords are used but their order is free. */ #include main(argc, argv) int argc; char **argv; { int i; char * moon; char * sky; char * close; char * way; char * pulls; char * stray; moon = argv[1]; sky = argv[2]; close = argv[3]; way = argv[4]; pulls = argv[5]; stray = argv[6]; printf("%s %s %s %s %s %s\n", moon,sky,close,way,pulls,stray); printf("%s %s %s %s %s %s\n", stray,moon,pulls,sky,way,close); printf("%s %s %s %s %s %s\n", close,stray,way,moon,sky,pulls); printf("%s %s %s %s %s %s\n", pulls,close,sky,stray,moon,way); printf("%s %s %s %s %s %s\n", way,pulls,moon,close,stray,sky); printf("%s %s %s %s %s %s\n", sky,way,stray,pulls,close,moon); }

copyright Vicka Rael Corey
vicka's homepage