[net.sources.games] valspeak

gancarz@decvax.UUCP (Mike Gancarz) (02/14/86)

[ Like, eat it. ]

Oh, wow, man, this hack on the 'jive' program filters your text file and
produces totally awesome output.  Can you dig it?  Run some of your
favorite documentation through it for a bitchin' new experience.
(Just don't read it out loud, man.  Someone might think you're cruisin'
to be an airhead! :-)

Like, Mike Gancarz, DEC Ultrix Engineering Group, Merrimack, NH
****************************************************************************
* I mean, this software is totally not to be construed as, you know, a     *
* commitment of any sort from my employer, so don't get any grody ideas... *
****************************************************************************


# Like, ya know, this is a shell archive.  Remove anythin' before this line,
# man, then unpack it by savin' it in a file and typin' "sh file".  (Files
# unpacked will be ya know, like, owned by you and have default permissions.)
#
# This archive contains:
# Makefile valspeak.l

echo x - Makefile
cat > "Makefile" << '//E*O*F Makefile//'

CFLAGS= -O

valspeak:	valspeak.l
	lex valspeak.l
	cc $(CFLAGS) lex.yy.c -ll -o valspeak
//E*O*F Makefile//

echo x - valspeak.l
cat > "valspeak.l" << '//E*O*F valspeak.l//'

T	[" .!?,"]*

%%

" bad"			printf(" mean");
" big"			printf(" bitchin'est");
" body"			printf(" bod");
" bore"			printf(" drag");
" car "			printf(" rod ");
" dirty"		printf(" grodie");
" filthy"		printf(" grodie to thuh max");
" food"			printf(" munchies");
" girl"			printf(" chick");
" good"			printf(" bitchin'");
" great"		printf(" awesum");
" gross"		printf(" grodie");
" guy"			printf(" dude");
" her "			printf(" that chick ");
" her."			printf(" that chick.");
" him "			printf(" that dude ");
" him."			printf(" that dude.");
" can be "		|
" can't be "		|
" should have been "	|
" shouldn't have been "	|
" should be "		|
" shouldn't be "	|
" was "			|
" wasn't "		|
" will be "		|
" won't be "		|
" is "		{
			ECHO;
			switch(rand() % 6)
			{
			case 0:
				printf("like, ya know, "); break;
			case 1:
				printf(""); break;
			case 2:
				printf("like wow! "); break;
			case 3:
				printf("ya know, like, "); break;
			case 4:
				printf(""); break;
			case 5:
				printf(""); break;
			}
		}
" house"		printf(" pad");
" interesting"		printf(" cool");
" large"		printf(" awesum");
" leave"		printf(" blow");
" man "			printf(" nerd ");
" maybe "	{
			switch(rand() % 6)
			{
			case 0:
				printf(" if you're a Pisces "); break;
			case 1:
				printf(" if the moon is full "); break;
			case 2:
				printf(" if the vibes are right "); break;
			case 3:
				printf(" when you get the feeling "); break;
			case 4:
				printf(" maybe "); break;
			case 5:
				printf(" maybe "); break;
			}
		}
" meeting"		printf(" party");
" movie"		printf(" flick");
" music "		printf(" tunes ");
" neat"			printf(" keen");
" nice"			printf(" class");
" no way"		printf(" just no way");
" people"		printf(" guys");
" really"		printf(" totally");
" strange"		printf(" freaky");
" the " 		printf(" thuh ");
" very"			printf(" super");
" want"			printf(" want");
" weird"		printf(" far out");
" yes"			printf(" fer shure");
"But "			printf("Man, ");
"He "			printf("That dude ");
"I like"		printf("I can dig");
"No,"			printf("Like, no way,");
Sir			printf("Man");
"She "			printf("That fox ");
This			printf("Like, ya know, this");
There			printf("Like, there");
"We "			printf("Us guys ");
"Yes,"			printf("Like,");
", "		{
			switch(rand() % 6)
			{
			case 0:
				printf(", like, "); break;
			case 1:
				printf(", fer shure, "); break;
			case 2:
				printf(", like, wow, "); break;
			case 3:
				printf(", oh, baby, "); break;
			case 4:
				printf(", man, "); break;
			case 5:
				printf(", mostly, "); break;
			}
		}
!		{
			switch(rand() % 3)
			{
			case 0:
				printf("!  Gag me with a SPOOOOON!"); break;
			case 1:
				printf("!  Gag me with a pitchfork!"); break;
			case 2:
				printf("!  Oh, wow!");
			}
		}

ing			printf("in'");
.			ECHO;
%%

main()
{
	srand(getpid());
	yylex();
}
//E*O*F valspeak.l//

exit 0

gancarz@decvax.UUCP (07/17/86)

-------------- Like, eat it!  Eat it raw! -----------------------------

Like, a number of dudes have asked me to re-post this.  Can you dig it?
This blew my mind totally, ya know, 'cause I knew this was a cool
program, but once you got it, you got it, ya know?  But I guess if
someone wants to groove again, ya know, like wow! fer shure.  No
way am I gonna crash the party, man.

By the way, some dude up in Oregon, man, says that he's making up
a 'surfspeak' program, too.  That sounds like an awesum idea, too,
but it might come out mostly freaky 'cause some of the airheads I've
met on boards have a hard time talkin' when they're under the suds...

In the flesh, mostly,
Mike Gancarz
DEC Ultrix Engineering Group
decvax!gancarz

P.S.  Since 'valspeak' was written by someone in Cow Hampshire,
maybe one of you "Westerners" ought to convert it to speak
'yankspeak' or something.  Ayuh!

============================ CUT HERE ============================
# This is a shell archive.  Remove anything before this line, then
# unpack it by saving it in a file and typing "sh file".  (Files
# unpacked will be owned by you and have default permissions.)
#
# This archive contains:
# Makefile valspeak.l

echo x - Makefile
cat > "Makefile" << '//E*O*F Makefile//'

CFLAGS= -O

valspeak:	valspeak.l
	lex valspeak.l
	cc $(CFLAGS) lex.yy.c -ll -o valspeak
//E*O*F Makefile//

echo x - valspeak.l
cat > "valspeak.l" << '//E*O*F valspeak.l//'

T	[" .!?,"]*

%%

" bad"			printf(" mean");
" big"			printf(" bitchin'est");
" body"			printf(" bod");
" bore"			printf(" drag");
" car "			printf(" rod ");
" dirty"		printf(" grodie");
" filthy"		printf(" grodie to thuh max");
" food"			printf(" munchies");
" girl"			printf(" chick");
" good"			printf(" bitchin'");
" great"		printf(" awesum");
" gross"		printf(" grodie");
" guy"			printf(" dude");
" her "			printf(" that chick ");
" her."			printf(" that chick.");
" him "			printf(" that dude ");
" him."			printf(" that dude.");
" can be "		|
" can't be "		|
" should have been "	|
" shouldn't have been "	|
" should be "		|
" shouldn't be "	|
" was "			|
" wasn't "		|
" will be "		|
" won't be "		|
" is "		{
			ECHO;
			switch(rand() % 6)
			{
			case 0:
				printf("like, ya know, "); break;
			case 1:
				printf(""); break;
			case 2:
				printf("like wow! "); break;
			case 3:
				printf("ya know, like, "); break;
			case 4:
				printf(""); break;
			case 5:
				printf(""); break;
			}
		}
" house"		printf(" pad");
" interesting"		printf(" cool");
" large"		printf(" awesum");
" leave"		printf(" blow");
" man "			printf(" nerd ");
" maybe "	{
			switch(rand() % 6)
			{
			case 0:
				printf(" if you're a Pisces "); break;
			case 1:
				printf(" if the moon is full "); break;
			case 2:
				printf(" if the vibes are right "); break;
			case 3:
				printf(" when you get the feeling "); break;
			case 4:
				printf(" maybe "); break;
			case 5:
				printf(" maybe "); break;
			}
		}
" meeting"		printf(" party");
" movie"		printf(" flick");
" music "		printf(" tunes ");
" neat"			printf(" keen");
" nice"			printf(" class");
" no way"		printf(" just no way");
" people"		printf(" guys");
" really"		printf(" totally");
" strange"		printf(" freaky");
" the " 		printf(" thuh ");
" very"			printf(" super");
" want"			printf(" want");
" weird"		printf(" far out");
" yes"			printf(" fer shure");
"But "			printf("Man, ");
"He "			printf("That dude ");
"I like"		printf("I can dig");
"No,"			printf("Like, no way,");
Sir			printf("Man");
"She "			printf("That fox ");
This			printf("Like, ya know, this");
There			printf("Like, there");
"We "			printf("Us guys ");
"Yes,"			printf("Like,");
", "		{
			switch(rand() % 6)
			{
			case 0:
				printf(", like, "); break;
			case 1:
				printf(", fer shure, "); break;
			case 2:
				printf(", like, wow, "); break;
			case 3:
				printf(", oh, baby, "); break;
			case 4:
				printf(", man, "); break;
			case 5:
				printf(", mostly, "); break;
			}
		}
!		{
			switch(rand() % 3)
			{
			case 0:
				printf("!  Gag me with a SPOOOOON!"); break;
			case 1:
				printf("!  Gag me with a pitchfork!"); break;
			case 2:
				printf("!  Oh, wow!");
			}
		}

ing			printf("in'");
.			ECHO;
%%

main()
{
	srand(getpid());
	yylex();
}
//E*O*F valspeak.l//

exit 0