#! rnews 1443
Newsgroups: comp.lang.python
Path: 
news.xs4all.nl!newsspool.news.xs4all.nl!transit.news.xs4all.nl!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.abs.net!attws2!ip.att.net!NetNews1!xyzzy!nntp
From: Harry George <[EMAIL PROTECTED]>
Subject: Re: python bytecode grammar
X-Nntp-Posting-Host: cola2.ca.boeing.com
Content-Type: text/plain; charset=us-ascii
Message-ID: <[EMAIL PROTECTED]>
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4
Lines: 29
Sender: [EMAIL PROTECTED]
Organization: The Boeing Company
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Mime-Version: 1.0
Date: Fri, 10 Jun 2005 17:32:15 GMT
Xref: news.xs4all.nl comp.lang.python:381172

"M1st0" <[EMAIL PROTECTED]> writes:

> Ops yes is BNF :P Bacus Normal Form if I am not wrong...
> 
> However......
> 
> I'am tryng to recognizing patterns in a bytecoded file in orderd to
> optimize...
> 
> But I would like to "parse"  i.e reconstruct it in something like a
> tree..
> in order to apply rules on a tree recursively.
> 
> I have seen  compile.c in the Python dist...
> 

I've never looked, but I'm assuming it is defined in the compiler and
in the interpreter, and hopefully documented elsehwere, like:
http://python.fyxm.net/peps/pep-0330.html

Related:
http://mail.python.org/pipermail/python-dev/2004-December/050542.html
http://search.cpan.org/search?query=python%3A%3Abytecode&mode=all


-- 
[EMAIL PROTECTED]
6-6M21 BCA CompArch Design Engineering
Phone: (425) 294-4718
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to