This is topic A/S/L/Grammar in forum Books, Films, Food and Culture at Hatrack River Forum.


To visit this topic, use this URL:
http://www.hatrack.com/ubb/main/ultimatebb.php?ubb=get_topic;f=2;t=030536

Posted by fugu13 (Member # 2859) on :
 
21 (soon 22)/Male/Bloomington, IN/
quote:

Sandwich = Bread Condiments Meat Bread
Bread = "rye" | "wheat" | "white"
Condiments = (["relish"] ["mustard"] ["ketchup"]) | "mayonnaise"
Meat = ["ham"] (["prosciutto"] | ["turkey"])


 
Posted by Boris (Member # 6935) on :
 
DOH! I coulda dobied! That's the first thing I thought when I saw the other thread... [Grumble]
 
Posted by raventh1 (Member # 3750) on :
 
I'll take a wheat relish mayo prosciutto wheat.
 
Posted by advice for robots (Member # 2544) on :
 
31/M/UT

My grammar's name is Marianne.
 
Posted by gnixing (Member # 768) on :
 
ham and prosciutto are the same thing.
 
Posted by fugu13 (Member # 2859) on :
 
rav:

Not possible [Razz]

Can't have relish on the same sandwich as relish, check the grammar [Smile]

[ January 06, 2005, 01:46 AM: Message edited by: fugu13 ]
 
Posted by Ginol_Enam (Member # 7070) on :
 
quote:
DOH! I coulda dobied! That's the first thing I thought when I saw the other thread... [Grumble]
That's what that means? I was wondering...

Anyway...

17/M/OK/I hate it when people say "good" when they should say "well."
 
Posted by fugu13 (Member # 2859) on :
 
And prosciutto is a very specific sort of ham rather different from what most people mean when they say "ham" in reference to sandwich meat.
 
Posted by gnixing (Member # 768) on :
 
if you want to get specific, are you referring to prosciutto cotto or prosciutto crudo?

edit: spelling mishap and to add... both of which are very good.

[ January 06, 2005, 01:51 AM: Message edited by: gnixing ]
 
Posted by rivka (Member # 4859) on :
 
quote:
Can't have relish on the same sandwich as relish, check the grammar
I will never understand Geeklish.

[ January 06, 2005, 01:51 AM: Message edited by: rivka ]
 
Posted by fugu13 (Member # 2859) on :
 
That's Context-Free Grammar-ish [Razz]

The line:
quote:

Condiments = (["relish"] ["mustard"] ["ketchup"]) | "mayonnaise"

means that the symbol Condiments can be/must be substituted for by possibly relish, possibly mustard, and possibly ketchup OR by mayonnaisse (that is, it can't be present with the others).

Basically, the [ ] mean an item is optional, ( ) are used to group things like in math (so we see what goes together, but it doesn't mean any operation is being performed), and | is a way of saying or.
 
Posted by raventh1 (Member # 3750) on :
 
One can go outside of your 'laws' and still eat.
 
Posted by fugu13 (Member # 2859) on :
 
Certainly, but its not a legal sandwich in my grammar. The syntax is wrong, which means it has flawed semantics [Razz]
 
Posted by rivka (Member # 4859) on :
 
But how does that translate to not having relish on the same sandwich as relish? That doesn't even make SENSE?
 
Posted by fugu13 (Member # 2859) on :
 
Heh, oops. Meant to say you can't have mayonnaise on the same sandwich as relish.
 
Posted by rivka (Member # 4859) on :
 
OOOOHHHHHHHHHHHHH!
 
Posted by esl (Member # 3143) on :
 
I got an A in syntax and I didn't even recognize the forms. Thanks for the review, fugu.
 
Posted by Choobak (Member # 7083) on :
 
25/M/Paris (Fr)/Sylvain

I don't understand what is this thread, but it's fun. What terrible sandwitch !
 
Posted by Shigosei (Member # 3831) on :
 
I admit I don't fully understand your syntactical system, but here goes:

Shigosei = age sex location
age = "19"
sex = "female"
location = "Oregon" | "Arizona"

Fugu, I'd like a turkey sandwich on wheat bread with mustard. And I'm afraid despite your parameters I'm going to have some illicit lettuce on it as well.
 
Posted by WheatPuppet (Member # 5142) on :
 
(5) Synax Error: Invalid token!

*shakes fist* Damn you BNF grammar!
 


Copyright © 2008 Hatrack River Enterprises Inc. All rights reserved.
Reproduction in whole or in part without permission is prohibited.


Powered by Infopop Corporation
UBB.classic™ 6.7.2