Skip to content

Commit

Permalink
material aula 23.04.2024
Browse files Browse the repository at this point in the history
  • Loading branch information
leopoldomt committed Apr 24, 2024
1 parent d0addba commit 2416962
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
29 changes: 29 additions & 0 deletions 2024-04-23.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# IF688 - Teoria e Implementação de Linguagens Computacionais

## Implementando Analisadores Léxicos

### Objetivo

O objetivo desta aula é apresentar como implementar analisadores léxicos manualmente.

### Questões para Discussão

- Como implementar um analisador léxico manualmente?

### Material usado em sala de aula

- **Analisador Léxico manualmente implementado durante a aula**
- [`lexer.py`](https://raw.githubusercontent.com/if688/if688.github.io/master/2024-04-23/lexer.py)
- [`main.py`](https://raw.githubusercontent.com/if688/if688.github.io/master/2024-04-23/main.py)
- Exemplos de entrada para testar o lexer
- [`exemplo.basic`](https://raw.githubusercontent.com/if688/if688.github.io/master/2024-04-23/exemplo.basic)
- [`minimo.basic`](https://raw.githubusercontent.com/if688/if688.github.io/master/2024-04-23/minimo.basic)

### Links Relacionados

- [Gentle introduction into compilers. Part 1: Lexical analysis and Scanner](https://admin.indepth.dev/gentle-introduction-into-compilers-part-1-lexical-analysis-and-scanner/)
- [Compiler Basics, Part 2: Building the Scanner](https://visualstudiomagazine.com/articles/2014/06/01/compiler-basics-part-2.aspx)
- [Lexical Analysis](https://courses.cs.washington.edu/courses/cse413/06au/compiler/scanner.html)
- [PLY](https://ply.readthedocs.io/en/latest/index.html)
- [JFlex](http://jflex.de)
- [lex](http://dinosaur.compilertools.net/#lex)
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ Aqui está a tabela completa das aulas programadas até o dia 03.08.24, com os d
|------------------|----------------|-----------------------|-----------------------|
| 16.04.24 | Terça-feira | [Introdução](2024-04-16.md) | |
| 18.04.24 | Quinta-feira | [Análise Léxica](2024-04-18.md) | |
| 23.04.24 | Terça-feira | Implementando Analisadores Léxicos | |
| 25.04.24 | Quinta-feira | Análise Sintática | |
| 23.04.24 | Terça-feira | [Implementando Analisadores Léxicos](2024-04-23.md) | |
| 25.04.24 | Quinta-feira | Gerando Analisadores Léxicos e Introdução a Análise Sintática | |
| 30.04.24 | Terça-feira | Análise Sintática | |
| 02.05.24 | Quinta-feira | Análise Sintática | |
| 07.05.24 | Terça-feira | Análise Sintática | |
Expand Down

0 comments on commit 2416962

Please sign in to comment.