Ignore:
Timestamp:
Apr 3, 2014, 7:36:49 PM (5 years ago)
Author:
ksherdy
Message:

Added graph to b2k. Updated grammars. Added S2K to B2K support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/s2k/trunk/framework/input/test/s2k/proto/grep/grep.s2k

    r3767 r3782  
    11
    2 
     2/*
    33struct Basis_bits{
    44    stream bit_0;
     
    1111    stream bit_7;
    1212};
     13*/
    1314
    1415struct Lex{
     
    8384}
    8485
    85 /*
    86 filter Main(struct Basis_bits basis_bits, struct Lex lex, struct Output output) {
    87     Transpose(byte_data, basis_bits);
    88     ClassifyBytes(basis_bits, lex);
    89     Match(lex, output);
    90     MatchLines(lex, output);
     86
     87graph Main() {
     88
     89    struct Byte_data byte_data;
     90    struct Basis_bits basis_bits;
     91    struct Lex lex;
     92    struct Output output;
     93    struct MatchLines matchLines;
     94   
     95    filter Transpose transpose;
     96    filter ClassifyBytes classifyBytes;
     97    filter Match match;
     98    filter MatchLines matchLines;
     99
     100    transpose(byte_data, basis_bits);
     101    classifyBytes(basis_bits, lex);
     102    match(lex, output);
     103    matchLines(lex, output);
     104   
    91105}
    92 */
Note: See TracChangeset for help on using the changeset viewer.