ruby/test/racc/assets/conf.y

17 строки
122 B
Plaintext

class A
rule
a: A c C expr;
b: A B; # useless
c: A;
c: A;
expr: expr '+' expr
expr: expr '-' expr
expr: NUMBER
end