Chapters

  • About the Book
  • Introducing Compilers and Interpreters
  • Describing a Programming Language
  • Lexical analysis
  • Case Study 1 - a simple Interpreter
  • Syntax Analysis
  • Case Study 1B - a Compiler/Interpreter front-end written in C using Lex and Yacc
  • A recipe for writing a reusable grammar
  • Semantic Analysis
  • Intermediate Representation
  • Dealing with errors
  • Optimization
  • Code Generation
  • Run-time Considerations
  • Known Languages Conceptual Implementations
  • Glossary
  • External Links
  • References

Appendices

The following are Java code referenced in the book.

  • State.java
  • TestState.java
 
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.