Skip to content

Instantly share code, notes, and snippets.

@xrl
Created May 19, 2011 17:05
Show Gist options
  • Save xrl/981236 to your computer and use it in GitHub Desktop.
Save xrl/981236 to your computer and use it in GitHub Desktop.
exp = functioncall | prefixexp | function | tableconstructor | exp binop exp | unop exp | "nil" | "false" | "true" | number | string | "..."
exp = functioncall | prefixexp | function | tableconstructor | binop_exp | unop exp | "nil" | "false" | "true" | number | string | "..."
binop_exp = exp:e1 binop exp
binop = "+" | "-" | "*" | "/" | "^" | "%" | ".." | "<" | "<=" | ">" | ">=" | "==" | "~=" | "and" | "or"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment