-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d0addba
commit 2416962
Showing
2 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters