Lexical Analysis

graph LR; A[MiniJava source file] -->|characters| B(fa:fa-tools
Lexical
analysis) B -->|tokens| C(fa:fa-tools
Syntactic
analysis) C -->|abstract syntax tree| D(fa:fa-tools
Typechecker) D -->|abstract syntax tree| E(fa:fa-tools
C code
generator) E -->|characters| F[C source file] classDef green fill:#74B559,stroke:#222723,stroke-width:5px; class B green

Regular Expressions

Automata

Regular Expressions Matching

Scanner with ocamlex

Questions

Ressources