On Fri, 10 Jun 2005 16:46:32 +0200, "Diez B. Roggisch" <[EMAIL PROTECTED]>
wrote:
>M1st0 wrote:
>> 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 "pa
M1st0 wrote:
> Ops yes is BNF :P Bacus Normal Form if I am not wrong...
Backus Naur Form.
John Backus and Peter Naur first used it to describe ALGOL around 1960.
See e.g.
http://cui.unige.ch/db-research/Enseignement/analyseinfo/AboutBNF.html
--
http://mail.python.org/mailman/listinfo/python-lis
"Terry Reedy" <[EMAIL PROTECTED]> writes:
> "Peter Dembinski" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> "Terry Reedy" <[EMAIL PROTECTED]> writes:
>>> I believe the top-level production is something like
>>> BYTECODE := (OPCODE ARGS)*
>>
>> ROTFL :)
>
> Glad to make your day
"Peter Dembinski" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Terry Reedy" <[EMAIL PROTECTED]> writes:
>> I believe the top-level production is something like
>> BYTECODE := (OPCODE ARGS)*
>
> ROTFL :)
Glad to make your day ;-)
I am aware that since ARGS depends on OPCODE, th
"Terry Reedy" <[EMAIL PROTECTED]> writes:
> "M1st0" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> where I can find the grammar of python bytecode ? ( better if is in
>> BCF
>
> I believe the top-level production is something like
> BYTECODE := (OPCODE ARGS)*
ROTFL :)
--
http:
"M1st0" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> where I can find the grammar of python bytecode ? ( better if is in BCF
I believe the top-level production is something like
BYTECODE := (OPCODE ARGS)*
See the documentation for the dis module for symbolic opcodes and
corresp
Ok I tried :).
--
http://mail.python.org/mailman/listinfo/python-list
M1st0 wrote:
> 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 rec
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
M1st0 wrote:
> where I can find the grammar of python bytecode ? ( better if is in BCF
> ).
There is no grammar for bytecodes - the are like assembly instructions.
And what's BCF supposed to mean - BNF is a form for grammars, BCF I
never heard of.
And besides that: tell us what you're after, we
where I can find the grammar of python bytecode ? ( better if is in BCF
).
--
http://mail.python.org/mailman/listinfo/python-list
11 matches
Mail list logo