Artifact Content

Artifact 6503497de4f3cc5f6132affe094cbede375fe696:

Wiki page [ASTGrammar] by renjipanicker 2015-06-22 03:41:55.
D 2015-06-22T03:41:55.742
L ASTGrammar
U renjipanicker
W 558
<h1>AST Nodes</h1>
Grammar for regular expression supported by lemonex.
<verbatim>
  expr ::= and_expr
  and_expr ::= or_expr (expr)*
  or_expr ::= unary_expr ('|' expr)*
  unary_expr ::= inner_expr '*'
  unary_expr ::= inner_expr '+'
  unary_expr ::= inner_expr '?'
  unary_expr ::= inner_expr
  inner_expr ::= '(' expr ')'
  inner_expr ::= '[' range_expr+ ']'
  inner_expr ::= primary_expr
  range_expr ::= CHAR - CHAR
  range_expr ::= primary_expr
  primary_expr ::= DOT
  primary_expr ::= BSLASH CHAR
  primary_expr ::= CHAR
</verbatim>
Z cbee05b452da7b1b89e236c97bbd2928