Learn AI, Data Science & Business — Earn Certificates That Get You Hired
PowerBI Data Analyst - Create visualizations and dashboards from scratch
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This course explains how to use flex for lexical analysis and tokenization in compiler construction. It demonstrates building C/C++ scanners with regular-expression rules, token streams, longest-match behavior, and start conditions.
Syllabus
Introduction
Setup
cpp
flexlexa
flexsample
if while
how flex works
identifiers
variable names
while
first longest match
shortest match
token stream
token enum
string pointer
prefix
multiple lexus
buffer
PHP example
Taught by
Write your own Operating System