Skip to content

Instantly share code, notes, and snippets.

@Mause
Created April 7, 2014 17:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mause/10024721 to your computer and use it in GitHub Desktop.
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