Skip to content

Instantly share code, notes, and snippets.

@Mause
Created April 7, 2014 17:35
Show Gist options
  • Select an option

  • Save Mause/10024721 to your computer and use it in GitHub Desktop.

Select an option

Save Mause/10024721 to your computer and use it in GitHub Desktop.
list(A) ::= LIST_ITEM(B). { A=B; }
list(A) ::= LIST_ITEM(B) list_clause(C). {
A=B;
append_contents of C to B
}
list_clause(A) ::= COMMA list(B). { A=B; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment