Compiler Design and Construction
  • A Compact Guide to Lex & Yacc
    This document explains how to construct a compiler using lex and yacc, the tools used to generate lexical analyzers and parsers. It is assumed that you can program in C, and understand data structures such as linked-lists and trees.
    Added by ruthless on 2007-02-08 06:01:46

  • Compiler Construction
    This book has emerged from the author's lecture notes for an introductory course in compiler design at ETH Zürich. The author has been asked to justify this course for several times, since compiler design is considered a somewhat esoteric subject, practised only in a few highly specialized software houses. Because nowadays everything which does not yield immediate profits has to be justified, this book will try to explain why this subject is considered as important and relevant to computer science students in general.
    Added by clownfish on 2007-02-08 06:05:59

  • Compiler Construction using Flex and Bison
    This is a guide to compiler construction using compiler's compiler tools like Flex and Bison. Using both tools, you can focus on the concept of compiler without the hassle of building a compiler from scratch.
    Added by mathwhiz on 2007-02-08 06:14:18

  • Bison Online Manual
    This is the online manual of Bison, a general-purpose parser generator that converts a grammar description for an LALR context-free grammar into a C program to parse that grammar. Once you are proficient with Bison, you can use it to develop a wide range of language parsers, from those used in simple desk calculators to complex programming languages
    Added by blueshark on 2007-02-08 06:18:44

  • Compilers: Backend to Frontend and Back to Front Again
    Compilers are percieved to be magical artifacts, carefully crafted by the wizards, and unfathomable by the mere mortals. This document attempts to dispel this myth. We build a simple compiler for a simple language in a step-by-step fashion.
    Added by pmsprasa on 2007-02-08 06:25:26

  • Let's Build a Compiler
    This fifteen-part series, written from 1988 to 1995, is a tutorial on the theory and practice of developing language parsers and compilers from scratch. Before you are finished, you will have covered every aspect of compiler construction, designed a new programming language, and built a working compiler.
    Added by clownfish on 2007-02-08 06:27:15

  • Flex Online Manual
    This is the online manual for Flex, a fast lexical analyser generator. It is a tool for generating programs that perform pattern-matching on text. There are many applications for Flex, including writing compilers in conjunction with GNU Bison. Flex is a free implementation of the well known Lex program.
    Added by clownfish on 2007-02-08 06:28:35

  • The Gentle Compiler Construction System
    The Gentle Compiler Construction System presents Gentle, an integrated system for compiler writers. Gentle supports the description of compilers at a very high level and relieves users from the need to deal with implementation details. It has been used in large industrial projects and for constructing various commercial products. Users had reported that Gentle significantly increases productivity.
    Added by blueshark on 2007-02-08 06:33:09

  • Parsing Techniques - A Practical Guide
    This 320-page book treats parsing in its own right, in greater depth than is found in most computer science and linguistics books. It offers a clear, accessible, and thorough discussion of many different parsing techniques with their interrelations and applicabilities, including error recovery techniques.
    Added by pmsprasa on 2007-02-08 06:36:29