Sha256: 934e642aade74c017d9d37910015a72505d85b49b7e071e6990af9bd7fc86d66

Contents?: true

Size: 669 Bytes

Versions: 17

Compression:

Stored size: 669 Bytes

Contents

#
#
# 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

17 entries across 12 versions & 4 rubygems

Version Path
tdiary-5.2.0 vendor/bundle/ruby/2.7.0/gems/racc-1.5.2/sample/syntax.y
tdiary-5.1.7 vendor/bundle/ruby/2.7.0/gems/racc-1.5.2/sample/syntax.y
tdiary-5.1.7 vendor/bundle/ruby/3.0.0/gems/racc-1.5.2/sample/syntax.y
rails_mini_profiler-0.2.0 vendor/bundle/ruby/3.0.0/gems/racc-1.5.2/sample/syntax.y
mumukit-content-type-1.11.1 vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/sample/syntax.y
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/racc-1.5.2/sample/syntax.y
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/2.7.0/gems/racc-1.5.2/sample/syntax.y
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/racc-1.5.2/sample/syntax.y
tdiary-5.1.6 vendor/bundle/ruby/3.0.0/gems/racc-1.5.2/sample/syntax.y
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/racc-1.5.2/sample/syntax.y
tdiary-5.1.5 vendor/bundle/ruby/2.7.0/gems/racc-1.5.2/sample/syntax.y
racc-1.5.2-java sample/syntax.y
racc-1.5.2 sample/syntax.y
racc-1.5.1-java sample/syntax.y
racc-1.5.1 sample/syntax.y
racc-1.5.0-java sample/syntax.y
racc-1.5.0 sample/syntax.y