Skip to content

Instantly share code, notes, and snippets.

@hmarcelodn
Created May 24, 2022 21:20
Show Gist options
  • Save hmarcelodn/3880108852dcbda5f969833cd9ab2bd5 to your computer and use it in GitHub Desktop.
Save hmarcelodn/3880108852dcbda5f969833cd9ab2bd5 to your computer and use it in GitHub Desktop.
thl-grammar.pegjs-11
ConditionStatement =
lhs:(Value / FunctionStatement)
operator:Operator
rhs:(Value / FunctionStatement) {
return {op: operator.join(''), lhs, rhs}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment