Flex - Lexical Analysis
Offered By: Write your own Operating System via YouTube
Course Description
Overview
Learn about flex, a powerful tool for lexical analysis and tokenization in compiler construction. Explore the setup process, understand how flex works with identifiers and variable names, and discover concepts like first longest match and shortest match. Dive into token streams, token enums, string pointers, and prefixes. Examine multiple lexus buffers and see a practical PHP example in this comprehensive 57-minute video on lexical analysis for operating system development.
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
Related Courses
Building Your Own Programming LanguageFrontend Masters BeauĀtiful Racket
Independent Rust: A Language for the Next 40 Years
ChariotSolutions via YouTube Move Deliberately and Don't Break Anything: Lessons from Java Evolution
ChariotSolutions via YouTube The Role of Computer Science in Computer Science Education
Association for Computing Machinery (ACM) via YouTube