Lexical Analysis
Lexical analysis is the first phase of compiling or interpreting source code, in which a scanner (or lexer) reads raw characters and groups them into meaningful tokens such as keywords, identifiers, literals, and operators.
5 resources across 1 library
Glossary Terms(5)
Compiler Design
Compiler design is the study and practice of building compilers — software that translates source code written in a high-level programming language into a lowe…
Abstract Syntax Tree
An Abstract Syntax Tree (AST) is a tree-shaped data structure that represents the grammatical structure of source code, with each node corresponding to a const…
Lexical Analysis
Lexical analysis is the first phase of compiling or interpreting source code, in which a scanner (or lexer) reads raw characters and groups them into meaningfu…
Finite State Machine
A finite state machine (FSM) is an abstract model of computation consisting of a finite number of states, transitions between those states triggered by inputs,…
Regular Expression Theory
Regular expression theory is the branch of formal language theory that studies regular expressions — symbolic patterns used to describe regular languages — and…