From: utzoo!decvax!wivax!linus!genrad!mit-eddi!zrm Newsgroups: net.singles Title: proposed new language spec Article-I.D.: mit-eddi.142 Posted: Thu Apr 28 20:46:47 1983 Received: Fri Apr 29 21:30:32 1983 %{ /* * This is a prototype of the grammar for PL/1, that's right, * * Personals Language / 1 * * Suggestions for extensions will be given the consideration they * deserve, substantive contributions come first. * * This has been a public service of Zig's personal(!) crusade to * bring licence to holders of Unix licences and their user communities. * Once the language syntax becomes stable, an ANSI standard will be * applied for. That done, the parser will be cast in silicon along * with standard wrist-watch circuitry and circuitry for a low power * transmitter. Singles will then be able to wear if not their hearts * on their sleeves, then at least a device capable of transmitting their * heartfelt desires to compatible persons near them. */ %} %token S G B Bi D J W M F %start single %% single: sexuality divorced_flag jewish_flag race sex ; sexuality: S { /* straight */ } | G { /* gay */ } | B { /* bisexual */ } | Bi { /* bisexual */ } ; divorced_flag: /* nothing */ | D { /* divorced */ } ; jewish_flag: /* nothing */ | J { /* jewish */ } ; race: B { /* black */ } | W { /* white */ } ; sex: F { /* female */ } | M { /* male */ } ;