Changeset 1149


Ignore:
Timestamp:
Apr 22, 2011, 2:09:41 AM (8 years ago)
Author:
ksherdy
Message:

Add prototype

Location:
proto/RE2PBS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • proto/RE2PBS/prototype.py

    r1147 r1149  
    88#----------------------------------------------------------------------------
    99#
    10 #       s35 = (0)
    11         s48__57 = (0)
    12         s120 = (0)
    13         s38 = (0)
    14         s59 = (0)
    15         - Lexical Item Streams.
    16 #       temp1 = (basis_bits.bit_0 | basis_bits.bit_1)
    17         temp2 = (basis_bits.bit_2 &~ basis_bits.bit_3)
    18         temp3 = (temp2 &~ temp1)
    19         temp4 = (basis_bits.bit_4 | basis_bits.bit_5)
    20         temp5 = (basis_bits.bit_6 & basis_bits.bit_7)
    21         temp6 = (temp5 &~ temp4)
    22         lex.s35 = (temp3 & temp6)
    23         temp7 = (basis_bits.bit_2 & basis_bits.bit_3)
    24         temp8 = (temp7 &~ temp1)
    25         temp9 = (basis_bits.bit_5 | basis_bits.bit_6)
    26         temp10 = (basis_bits.bit_4 & temp9)
    27         lex.s48__57 = (temp8 &~ temp10)
    28         temp11 = (basis_bits.bit_1 &~ basis_bits.bit_0)
    29         temp12 = (temp11 & temp7)
    30         temp13 = (basis_bits.bit_4 &~ basis_bits.bit_5)
    31         temp14 = (basis_bits.bit_6 | basis_bits.bit_7)
    32         temp15 = (temp13 &~ temp14)
    33         lex.s120 = (temp12 & temp15)
    34         temp16 = (basis_bits.bit_5 &~ basis_bits.bit_4)
    35         temp17 = (basis_bits.bit_6 &~ basis_bits.bit_7)
    36         temp18 = (temp16 & temp17)
    37         lex.s38 = (temp3 & temp18)
    38         temp19 = (temp13 & temp5)
    39         lex.s59 = (temp8 & temp19)
    40         - Character Class compiler equations.
    41 #       - Parallel bit stream equations.
     10# (at)lex_strms - Lexical Item Streams.
     11# (at)cc_code   - Character Class compiler equations.
     12# (at)pbs_code  - Parallel bit stream equations.
    4213#
    4314#----------------------------------------------------------------------------
  • proto/RE2PBS/prototype_template.py

    r1147 r1149  
    88#----------------------------------------------------------------------------
    99#
    10 # @lex_strms    - Lexical Item Streams.
    11 # @cc_code      - Character Class compiler equations.
    12 # @pbs_code     - Parallel bit stream equations.
     10# (at)lex_strms - Lexical Item Streams.
     11# (at)cc_code   - Character Class compiler equations.
     12# (at)pbs_code  - Parallel bit stream equations.
    1313#
    1414#----------------------------------------------------------------------------
  • proto/RE2PBS/re2pbs.g

    r1148 r1149  
    6767                return defs
    6868
     69# TODO - Implement
    6970        def generate_pbs_eqns(atoms):
     71                pass
     72               
    7073}
    7174
Note: See TracChangeset for help on using the changeset viewer.