News

This project showcases two approaches to parsing: a bottom-up parser using Flex & Bison, and a top-down parser using Flex & Recursive Descent. Developed as part of a Compiler course exercise, the ...
A grammar describes the syntax of a programming language, and might be defined in Backus-Naur form (BNF). A lexer performs lexical analysis, turning text into tokens. A parser takes tokens and builds ...
This study offers a thorough analysis of bottom-up parsing techniques, necessary for the creation and execution of compilers. Parsers such as SLR (Simple LR), LR (Canonical LR), LR(k) and LALR ...
It means verification of a compiler is much more important than verification of a source program. In this paper, we present a new approach by linking context-free grammar and Z notation to construct ...
A parser generator, called YooccLa (Yes! An Object-Oriented Compiler Compiler with left-attributes), has been developed to achieve these goals. It reads a non-left-recursive LL grammar specified in an ...