Information om | Engelska ordet LEFT-RECURSIVE


LEFT-RECURSIVE

Antal bokstäver

14

Är palindrom

Nej

26
CU
CUR
EC
ECU
EF

CE
CEE
CEF


Sök efter LEFT-RECURSIVE på:



Exempel på hur man kan använda LEFT-RECURSIVE i en mening

  • Simple implementations of top-down parsing do not terminate for left-recursive grammars, and top-down parsing with backtracking may have exponential time complexity with respect to the length of the input for ambiguous CFGs.
  • In terms of context-free grammar, a nonterminal is left-recursive if the leftmost symbol in one of its productions is itself (in the case of direct left recursion) or can be made itself by some sequence of substitutions (in the case of indirect left recursion).
  • This grammar is LR(0) in that it is left-recursive (in the expr non-terminal) but does not require any lookahead.


Förberedelsen av sidan tog: 139,92 ms.