Skip to content

Instantly share code, notes, and snippets.

@AlecKazakova
Last active December 29, 2018 21:02
Show Gist options
  • Save AlecKazakova/77a46d14fa65eec5ecaa03fbd7396e6f to your computer and use it in GitHub Desktop.
Save AlecKazakova/77a46d14fa65eec5ecaa03fbd7396e6f to your computer and use it in GitHub Desktop.
fake column_def ::= column_name type_name ( column_constraint ) *
column_def_real ::= <<columnNameExt column_name_real>> <<typeNameExt type_name_real>> ( <<columnConstraintExt column_constraint_real>> ) * {
elementType = column_def
}
fake type_name ::= identifier [ '(' signed_number ')' | '(' signed_number ',' signed_number ')' ]
type_name_real ::= <<identifierExt identifier_real>> [ '(' <<signedNumberExt signed_number_real>> ')' | '(' <<signedNumberExt signed_number_real>> ',' <<signedNumberExt signed_number_real>> ')' ] {
elementType = type_name
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment