[Favorites-compiler materials] Want To Be A compiler? These materials are essential

Source: Internet
Author: User

Reprinted in this article

Address: http://www.lingcc.com/2009/12/22/10404/

For a summary of compiler books, refer to a list of compiler books-rich compiler references.

If the job is related to compilers or compiler enthusiasts, no one has the urge to write a compiler on their own.

I did some research and shared the following:

    • How to write your own Compiler

-This section describes how to use the Java language to complete a llvm-oriented back-end compiler and use mjava as the target language. This is a subset of the Java language. Including lexical analysis, syntax analysis, error control, symbol table management, and type check

    • Hey kids, let's write a compiler today!

-The compiler is constructed in a step-by-step way to add features. The author's article was written very deeply (I only read abstract and Introduction)

    • Let's build a compiler, by Jack Crenshaw

-The author completed this introduction in seven years from. I didn't use flex or YACC. They were made manually. The compiler written in Pascal. I'm a doctor of physics. I really admire it!

Mit ocw 6.035 computer language engineeringmit Open Course on computer engineering, using Java to create a complete decaf language compiler. I have also read a bit, but the lab of this course requires an MIT environment, and there are some libraries or something. People outside can't get it, so there is no way, just for reference.

    • Stanford University Computer Science 143-compilers

-Compiler Course: use C ++ to implement a cool (classroom object-oriented language) Language compiler. This is also because there is no environment or library to be slowed down.

    • Uiuc CS 426

-A very special course is also a compiler that uses C ++ to implement cool language. However, llvm is integrated into the compiler, And the frontend output is represented in llvm. Some backend experiments are being performed. In addition, uiuc also has an advanced compiler course, which is written in Java. What is important is that this cs426 can be used to download all the course materials, including the source code. If you are interested, try it.

  • Writing your own toy compiler using Flex, Bison and llvm

-This series of articles advocates using existing tools to experience how to implement compilers. Focus on fast and efficient implementation and focus on the front-end. Do not miss out if you are interested in understanding and learning llvm intermediate representations and working mechanisms.

See the following references (link to a PDF, $ link to a printed book ):

  • A nanopass framework for Compiler education extends ¶
  • Advanced compiler design and implementation
  • An incremental approach to Compiler Construction Operation ¶
  • Anlr 3.x video tutorial
  • Building a parrot Compiler
  • Compiler Basics
  • Compiler Construction compute ¶
  • Compiler Design and Construction
  • Crafting a compiler with C $
  • Dragon book $-widely considered "the Book" for Compiler writing.
  • Essenessenof programming versions
  • Flipcode Article Archive
  • Game scripting mastery $
  • How to build a virtual machine from scratch in C # explain #¶
  • Implementing functional ages
  • Interpreter pattern (described in
    Design Patterns $) specifies a way to evaluate sentences in a language
  • Language implementation patterns: Create your own domain-specific and general programming languages
  • Lets build a compiler-
    PDF versions
  • Linkers and loaders $ (Google Books)
  • Lisp in small pieces (LISP) $
  • Llvm tutorial
  • Modern compiler implementation in ml $-there is
    Java $ and
    C $ version as well-widly considered a very good book
  • Object-oriented Compiler Construction
  • Parrot tutorial
  • Parsing techniques-A Practical Guide
  • Project Oberon overview-look at Chapter 13
  • Programming a personal computer $
  • Programing versions: Application and Interpretation
  • Rabbit: a compiler for Scheme
  • Reflections on trusting trust-A Quick Guide
  • Roll your own compiler for the. NET Framework a quick toturial form msdn
  • Structure and interpretation of computer programs
  • Types and programming languages ages
  • Want to write a compiler? -A Quick Guide
  • Writing a compiler in Ruby bottom up

Two newsgroups can go up to ask questions:

  • Http://groups.google.com/group/comp.compilers? Hl = en
  • Http://compilers.iecc.com/index.phtml

I have a dream .....
For a long time, I have always felt that the compiler is uncertain. It may be difficult to make a compiler, but it may not work if it is done. It may be a lack of courage. Let's wait. I will implement it one day !.......

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.