Hi, is there anyone can tell me what does the ::= mean?And what does the code below mean? expr ::= expr addop term | term Thank you in advance!
google://BNF 2009/9/29 xu zhang <douyaxu@gmail.com>:
Hi, is there anyone can tell me what does the ::= mean? And what does the code below mean?
expr ::= expr addop term | term
Thank you in advance! _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- Eugene Kirpichov Web IR developer, market.yandex.ru
That expression below Is a part of a Grammar in BNF. It means that an expression is form by an expression, an add operation and a Term or simply just a Term... -----Original Message----- From: xu zhang <douyaxu@gmail.com> Date: Tue, 29 Sep 2009 14:15:48 To: <haskell-cafe@haskell.org> Subject: [Haskell-cafe] double colon equal _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (3)
-
Eugene Kirpichov -
Hector Guilarte -
xu zhang