Sha256: a98e1845b96cc43a51a3830318dd1967c1d1b286f9df29acfabaa44f45a8c6a6

Contents?: true

Size: 1.78 KB

Versions: 1

Compression:

Stored size: 1.78 KB

Contents

Productions:
  0 $start: e $ 
  1 e: l "=" r  
  2 e: r        
  3 l: IDENT    
  4 l: "*" r    
  5 r: l        

Precedence:
  --- highest
  nonassoc 1:
    {_}
  nonassoc 0:
    {$}
  --- lowest

  State 0:
    0/n0: $start →  • e $
      {}
    1/n1: e →  • l "=" r
      {}
    2/n1: e →  • r
      {}
    3/n1: l →  • IDENT
      {}
    4/n1: l →  • "*" r
      {}
    5/n1: r →  • l
      {}
    transitions:
      e: State 1
      l: State 2
      r: State 3
      IDENT: State 4
      "*": State 5

  State 1:
    6/n0: $start → e • $
      {}
    transitions:
      $: State 6

  State 2:
    7/n1: e → l • "=" r
      {}
    8/n1: r → l • 
      {$}
    transitions:
      "=": State 7
    reductions:
      $: Rule 5

  State 3:
    9/n1: e → r • 
      {$}
    reductions:
      $: Rule 2

  State 4:
    10/n1: l → IDENT • 
      {"=", $}
    reductions:
      "=": Rule 3
      $: Rule 3

  State 5:
    11/n1: l → "*" • r
      {}
    12/n1: r →  • l
      {}
    13/n1: l →  • IDENT
      {}
    14/n1: l →  • "*" r
      {}
    transitions:
      r: State 8
      l: State 9
      IDENT: State 4
      "*": State 5

  State 6:
    15/n0: $start → e $ • 
      {}
    accepting:
      $: Rule 0

  State 7:
    16/n1: e → l "=" • r
      {}
    17/n1: r →  • l
      {}
    18/n1: l →  • IDENT
      {}
    19/n1: l →  • "*" r
      {}
    transitions:
      r: State 10
      l: State 9
      IDENT: State 4
      "*": State 5

  State 8:
    20/n1: l → "*" r • 
      {"=", $}
    reductions:
      "=": Rule 4
      $: Rule 4

  State 9:
    21/n1: r → l • 
      {"=", $}
    reductions:
      "=": Rule 5
      $: Rule 5

  State 10:
    22/n1: e → l "=" r • 
      {$}
    reductions:
      $: Rule 1

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
antelope-0.1.8 examples/simple.output