Sha256: 02ea235a8a987c9c0fad2c71eff2d3b76c474140f8838ecdd3df47617c55cfa8

Contents?: true

Size: 223 Bytes

Versions: 5

Compression:

Stored size: 223 Bytes

Contents

%require "~> 0.1"
%generator "ruby"

%terminal IDENT
%terminal STAR "*"
%terminal EQUALS "="

%%

e: l EQUALS r
 | r

l: IDENT
 | STAR r

r: l

%%

class SimpleParser < Antelope::Parser
  %{write}
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
antelope-0.3.2 examples/simple.ace
antelope-0.3.0 examples/simple.ace
antelope-0.2.4 examples/simple.ace
antelope-0.2.3 examples/simple.ace
antelope-0.2.2 examples/simple.ace