Skip to content

enterOutAlt not invoked in left-recursive rules and/or not properly (gen'd code) #884

Open
@parrt

Description

@parrt

i'll need to make a scatter function that converts predicted alt i to alt prior to LR elimination

e : e '*' e
  | INT
  | e '+' e
  | ID
  ;

alt 1 in primary decision should emit alt 2, alt 2 in decision should emit alt 4. alt 2 of rec op should map to alt 3. it's a function of which decision in lr rule and predicted alt; no biggie to set up in interp but maybe better as code gen in gen'd parsers.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions