O GoConqr está de visual novo! Conte para nós o que você achou.

Flashcards

Grammars - Grammars in Compilers

lucy copp Languages and Compilers University Inglês 10 flashcards

Flashcards do conjunto (10)

  1. 1What is used to process context free grammars?Parsers
  2. 2What do parsers do?Describe how the lexemes fit together into sentences which defines the syntax of the language.
  3. 3What is used to process regular grammars?Scanners
  4. 4What does the scanner do?Performs lexical analysis to decide what the tokens are, and then passes them to the parser.
  5. 5How are lexemes in a language described?Using regular expressions
  6. 6Describe aspects of the regular expression syntax-Ranges [0-9]
    - 0 or more *
    - 1 or more +
    - 0 or 1 ?
    -Repetition {number}
  7. 7What was BNF developed to describe?ALGOL 60
  8. 8What is BNF?Series of recursive rules.
  9. 9What does a BNF rule consist of?- Non terminal on left in <>
    - := meaning replace with
    - or terminals on the rigt
    -Choices using |
  10. 10What new syntax does EBNF add to BNF?- Commas for concatenation
    - Square brackets for optional
    -Curly brackets for 0 or more
    - * for particular number of repitions
    - ; to terminate rule

Informações

Descrição
University Languages and Compilers FlashCards sobre Grammars - Grammars in Compilers, criado por lucy copp em 04-01-2018.
Criado por
lucy copp
Visualizações
1
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?