Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Flex - Lexical Analysis

Write your own Operating System via YouTube

Overview

Limited-Time Offer: Up to 75% Off Coursera Plus!
7000+ certificate courses from Google, Microsoft, IBM, and many more.
This course teaches the fundamentals of using flex for lexical analysis in compiler construction, specifically focusing on tokenization of source code. By the end of the course, learners will understand how flex works, identify variable names, create token streams, and apply the concepts through practical examples. The teaching method involves a detailed explanation of flex functionalities with examples. This course is intended for individuals interested in compiler construction and programming language design.

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

Reviews

Start your review of Flex - Lexical Analysis

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.