Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > python grammar

Thread Tools

python grammar

Posts: n/a

In 'augop' non-terminal :

the delimiter '//=' was skipped. Why?

In 'Boolean operations':

In 'expression' rule - what does 'if', 'else' mean? I guess 'if' and
'else' must be keywords, not non-terminals.

Reply With Quote
Tim Roberts
Posts: n/a
"tpochep" <(E-Mail Removed)> wrote:
>In 'augop' non-terminal :
>the delimiter '//=' was skipped. Why?

Probably an oversight. //= is relatively new.

>In 'Boolean operations':
>In 'expression' rule - what does 'if', 'else' mean? I guess 'if' and
>'else' must be keywords, not non-terminals.

Yes, those refer to literal keywords.

I'd judge both of those as errors in the web page. There is a link on the
page for reporting problems.
Tim Roberts, Removed)
Providenza & Boekelheide, Inc.
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Graphical grammar in python alefajnie Python 0 04-13-2008 08:56 AM
Can recursive descent parser handle Python grammar? Python 4 10-02-2006 08:58 AM
Python keywords vs. English grammar Roy Smith Python 7 05-25-2006 12:05 AM
python bytecode grammar M1st0 Python 11 06-26-2005 07:52 PM
Convert Python grammar specs to ANTLR Edward C. Jones Python 0 02-27-2004 02:12 PM