編譯器設計 -- 參考文獻

編譯器設計

編譯器簡介

高階語言

語法理論

剖析器

語意理論

符號表

直譯器

型態系統

中間碼

目標語言

最佳化

錯誤處理

進階議題

原始碼下載

程式實作

C 語言

案例研究

JavaScript

V8

Lua

Oberon

NeoPascal

pcc

tcc

gcc

C--

Lex

YACC

AntLR

LLVM

CLang

訊息

相關網站

參考文獻

最新修改

簡體版

English

電子書

  1. FreeBookCentre > Computer Science Books > Compiler Design Books
  2. Compiler Construction , Niklaus Wirth
  3. Compiler Construction — using Flex and Bison, Anthony A. Aaby, Walla Walla College, cs.wwc.edu, ude.cww|naybaa#ude.cww|naybaa, Version of February 25, 2004
  4. Compiler Construction, A Practical Approach, F.J.F. Benders, J.W. Haaring, T.H. Janssen, D. Meert, A.C. van Oostenrijk, January 29, 2003

課程

  1. Language Specification & Compiler Construction,A course at Oxford Brookes University, February 2012, H. Mössenböck (讚!有完整的 Java Code, 並且實作一個 MicroJava Compiler, 有 class 類別可包含結構)
  1. MIT OCW:Computer Language Engineering
  2. UCLA CS 132 Compiler Construction Fall 2011
ParserGenerator.jpg
JavaCC.jpg

Using JavaCC

javacc fortran.jj // 產生 Parser
javac Main.java // Main.java 會呼叫 Parser
java Main < prog.f // 剖析 prog.f

Using JTB

jtb fortran.jj // 產生 jtb.out.jj
javacc jtb.out.jj // 產生 parser
javac Main.java
java main < prog.f

Facebook

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License