Building a C-Subset Compiler for the FRISC Architecture

Building a C-Subset Compiler for the FRISC Architecture

From Formal Languages to Executable Code

by Karlo Knežević

Browse books you can read free on Readfeed

No club is reading this yet — be the first to start one

Start a club free
About
***Building a C-Subset Compiler for the FRISC Architecture: From Formal Languages to Executable Code*** is a narrative monograph on building a complete working compiler for a deterministic ***subset of C*** targeting the ***FRISC*** educational instruction-set architecture. Rather than presenting compiler construction as a set of disconnected algorithms, the book follows one real compiler end to end: ***lexical analysis***, NFA and DFA construction, maximal-munch tokenization, ***LR(1) parsing***, ***semantic analysis***, type checking, lowering to a typed three-address ***intermediate representation***, semantics-preserving optimization, FRISC ***code generation***, runtime support, and ***simulation***. The book also explores two additional back ends for the same intermediate representation: a tree-walking interpreter and a stack-based bytecode virtual machine. It is intended for advanced students, self-taught engineers, compiler enthusiasts, and readers who want to understand how a compiler is actually built, optimized, and executed.

Discuss Building a C-Subset Compiler for the FRISC Architecture with other readers

Join or start a book club for Building a C-Subset Compiler for the FRISC Architecture on Readfeed. Live chat, shared reading progress, and AI discussion questions — free to get started.

Frequently asked questions

How do I join a book club for Building a C-Subset Compiler for the FRISC Architecture?

Sign up free on Readfeed, then browse public clubs or start your own club with Building a C-Subset Compiler for the FRISC Architecture as the current read. Invite friends with a share link and discuss together with live chat and AI discussion questions.

Can I discuss Building a C-Subset Compiler for the FRISC Architecture with other readers online?

Yes. Readfeed book clubs let you chat live, share progress, and join discussions about Building a C-Subset Compiler for the FRISC Architecture with readers worldwide — whether your club is virtual, in-person, or hybrid.

Is Readfeed free?

Yes. Creating an account and joining book clubs is free. Sign up to find readers who love the same books and start discussing today.