Ignore:
Timestamp:
Mar 25, 2012, 12:11:27 AM (7 years ago)
Author:
ksherdy
Message:

Restructuring.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/symbol_table/marker_strms.py

    r1960 r1969  
    55
    66# Calculate Symbol spans
     7# markers.spans = [-_:.a-zA-Z0-9] character set compiler def'n, matches 'st_test_file_generator.py' def'n
    78def Classify_markers(basis_bits, markers):
    89    temp1 = (basis_bits.bit_0 | basis_bits.bit_1)
     
    2021    temp13 = (temp10 & temp12)
    2122    temp14 = (temp7 | temp13)
    22     temp15 = (basis_bits.bit_6 &~ basis_bits.bit_7)
    23     temp16 = (temp4 & temp15)
    24     temp17 = (temp3 & temp16)
    25     temp18 = (temp14 | temp17)
    26     temp19 = (basis_bits.bit_2 & basis_bits.bit_3)
    27     temp20 = (temp19 &~ temp1)
    28     temp21 = (basis_bits.bit_5 | temp11)
    29     temp22 = (basis_bits.bit_4 & temp21)
    30     temp23 = (temp20 &~ temp22)
    31     temp24 = (temp18 | temp23)
    32     temp25 = (temp8 &~ basis_bits.bit_2)
    33     temp26 = (~temp22)
    34     temp27 = (basis_bits.bit_4 | basis_bits.bit_5)
    35     temp28 = (basis_bits.bit_6 | basis_bits.bit_7)
    36     temp29 = (temp27 | temp28)
    37     temp30 = ((basis_bits.bit_3 & temp26)|(~(basis_bits.bit_3) & temp29))
    38     temp31 = (temp25 & temp30)
    39     temp32 = (temp24 | temp31)
    40     temp33 = (temp8 & basis_bits.bit_2)
    41     temp34 = (temp33 & temp30)
    42     markers.spans = (temp32 | temp34)
     23    temp15 = (basis_bits.bit_2 & basis_bits.bit_3)
     24    temp16 = (temp15 &~ temp1)
     25    temp17 = (basis_bits.bit_4 &~ basis_bits.bit_5)
     26    temp18 = (basis_bits.bit_6 &~ basis_bits.bit_7)
     27    temp19 = (temp17 & temp18)
     28    temp20 = (temp16 & temp19)
     29    temp21 = (temp14 | temp20)
     30    temp22 = (temp4 & temp18)
     31    temp23 = (temp3 & temp22)
     32    temp24 = (temp21 | temp23)
     33    temp25 = (temp8 & basis_bits.bit_2)
     34    temp26 = (basis_bits.bit_5 | temp11)
     35    temp27 = (basis_bits.bit_4 & temp26)
     36    temp28 = (~temp27)
     37    temp29 = (basis_bits.bit_4 | basis_bits.bit_5)
     38    temp30 = (basis_bits.bit_6 | basis_bits.bit_7)
     39    temp31 = (temp29 | temp30)
     40    temp32 = ((basis_bits.bit_3 & temp28)|(~(basis_bits.bit_3) & temp31))
     41    temp33 = (temp25 & temp32)
     42    temp34 = (temp24 | temp33)
     43    temp35 = (temp8 &~ basis_bits.bit_2)
     44    temp36 = (temp35 & temp32)
     45    temp37 = (temp34 | temp36)
     46    temp38 = (basis_bits.bit_5 | basis_bits.bit_6)
     47    temp39 = (basis_bits.bit_4 & temp38)
     48    temp40 = (temp16 &~ temp39)
     49    markers.spans = (temp37 | temp40)
     50
    4351
    4452
Note: See TracChangeset for help on using the changeset viewer.