Sha256: 48aef1fc60c369ab22d66041c88db3af3922a2f4ed4336d3c55950771385dc37

Contents?: true

Size: 264 Bytes

Versions: 8

Compression:

Stored size: 264 Bytes

Contents

%require "~> 0.1"
%type "ruby"

%terminal NUMBER
%terminal SEMICOLON ";"
%terminal ADD "+"
%terminal LPAREN "("
%terminal RPAREN ")"

%%

s: e
e: t SEMICOLON
 | t ADD e

t: NUMBER
 | LPAREN e RPAREN

%%

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
antelope-0.1.8 examples/deterministic.ace
antelope-0.1.7 examples/deterministic.ace
antelope-0.1.6 examples/deterministic.ace
antelope-0.1.5 examples/deterministic.ace
antelope-0.1.4 examples/deterministic.ace
antelope-0.1.3 examples/deterministic.ace
antelope-0.1.2 examples/deterministic.ace
antelope-0.1.1 examples/deterministic.ace