Tag

bison

1 views collected around this technical thread.

OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jun 2, 2022 · Fundamentals

Design and Implementation of TinyLanguage Using Flex and Bison

The article walks readers through designing and implementing TinyLanguage—a minimal interpreted language with 4‑byte integers, constants, if/else, for loops, and print—by using Flex for lexical analysis, Bison for parsing into an AST, and an execution engine, even showing a Fibonacci example and future LLVM compilation possibilities.

ASTbisoncompiler
0 likes · 30 min read
Design and Implementation of TinyLanguage Using Flex and Bison