Sha256: 7c674585dcdfae787a9ca11ff11625ab7853a8974a5cb1a1e046094b32a521dc

Contents?: true

Size: 674 Bytes

Versions: 18

Compression:

Stored size: 674 Bytes

Contents

# $Id$
#
# Racc syntax checker.  This grammer file generates
# invalid ruby program, you cannot run this parser.

class P
  token A B C

  convert
    A '5'
  end

  prechigh
    left B
  preclow

  options omit_action_call

  start target
rule
  target: A B C
            {
              print 'abc'
            }
        | B C A
        | C B A
            {
              print 'cba'
            }
        | cont
  
  cont  : A c2 B c2 C

  c2    : C C C C C
end

---- inner

    junk code  !!!!

kjaljlajrlaolanbla  /// %%%  (*((( token rule
akiurtlajluealjflaj    @@@@   end end end end __END__
  laieu2o879urkq96ga(Q#*&%Q#
 #&lkji  END

         q395q?///  liutjqlkr7

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
racc-1.4.16-java sample/syntax.y
racc-1.4.16 sample/syntax.y
racc-1.4.15-java sample/syntax.y
racc-1.4.15 sample/syntax.y
racc-1.4.14-java sample/syntax.y
racc-1.4.14 sample/syntax.y
racc-1.4.13-java sample/syntax.y
racc-1.4.13 sample/syntax.y
racc-1.4.12-java sample/syntax.y
racc-1.4.12 sample/syntax.y
racc-1.4.11 sample/syntax.y
gd-racc-1.4.11 sample/syntax.y
racc-1.4.10 sample/syntax.y
racc-1.4.9-java sample/syntax.y
racc-1.4.9 sample/syntax.y
racc-1.4.8 sample/syntax.y
racc-1.4.7 sample/syntax.y
racc-1.4.6 sample/syntax.y