# Hierarquia de Chomsky

![](/files/RguQg4oXCmpkop7imCDl)

![](/files/DBncDSnhQVH9GBXWGeJv)

Para cada um desses tipos podem ser definidos diferentes tipos de máquinas (algoritmos, autómatos) que as podem reconhecer.

Quanto mais simples for a gramática, mas simples e eficiente é a máquina que reconhece essas linguagens.

Cada classe de linguagens do tipo-i contém a classe de linguagens *tipo*-(i+1) (i = 0;1; 2)

Esta hierarquia não traduz apenas as características formais das linguagens, mas também expressam os requisitos de computação necessários:

1. As *máquinas de Turing* processam gramáticas sem restrições (tipo-0);
2. Os *autómatos linearmente limitados* processam gramáticas dependentes do contexto (tipo-1);
3. Os *autómatos de pilha* processam gramáticas independentes do contexto (tipo-2);
4. Os *autómatos finitos* processam gramáticas regulares (tipo-3).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://davidjosearaujo.gitbook.io/notes-miect/compiladores/compiladores-linguagens-e-gramaticas/introducao-as-gramaticas/hierarquia-de-chomsky.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
