Is there an impulse to write a compiler? Come in!

Source: Internet
Author: User

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 compiler for the llvm backend. Mjava is a subset of Java. Including lexical analysis, syntax analysis, error control, symbol table management, and type check.

 

    Hey kids, let's write a compiler today!

    Build a compiler by gradually adding features. The author's article (I only read abstract and Introduction ).

     

    Let's build a compiler, by Jack Crenshaw

    I used it fromSeven yearsCompleted this introduction. 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 engineering MIT

    Open Course on computer engineering, use 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, using C ++ to implement a cool (classroom object-oriented language) Language compiler. This is also because there is no environment or database.

    Uiuc CS 426

    A very special course is the use of C ++ to implement the cool language compiler, but llvm is integrated into it, and the frontend output is represented in llvm. Some backend experiments are being conducted. 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.

    You can ask a question to two newsgroups. Maybe someone will answer you:

    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 be difficult to do it. 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.