本文介绍了学习编写编译器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
首选语言:C/C++、Java 和 Ruby.
Preferred languages: C/C++, Java, and Ruby.
我正在寻找一些关于如何编写自己的编译器的有用书籍/教程,仅用于教育目的.我最熟悉 C/C++、Java 和 Ruby,因此我更喜欢涉及这三者之一的资源,但任何好的资源都是可以接受的.
I am looking for some helpful books/tutorials on how to write your own compiler simply for educational purposes. I am most familiar with C/C++, Java, and Ruby, so I prefer resources that involve one of those three, but any good resource is acceptable.
推荐答案
资源大清单:
- 编译器教育的 Nanopass 框架 ¶李>
- 高级编译器设计与实现 $
- 编译器构建的增量方法 ¶
- ANTLR 3.x 视频教程
- 编译器设计基础
- 构建 Parrot 编译器
- 编译器基础知识
- 编译器构建 $
- 编译器设计与构建 $
- 用 C 编写编译器 $李>
- 制作口译员
- [C 中的编译器设计] 12 ¶李>
- 编译器:原理、技术和工具$ — 又名 "The Dragon Book";被广泛认为是书"用于编译器编写.
- 设计编译器 $
- 编程语言精要
- Flipcode 文章存档(查找Jan Niestadt 的实施脚本引擎")
- 游戏脚本精通 $
- 如何在 C# 中从头开始构建虚拟机 ¶
- 实现函数式语言
- 实现编程语言(使用 BNFC)
- 使用 C# 4.0 实现编程语言
- 解释器模式(在 设计模式 $) 指定一种评估语言句子的方法
- 语言实现模式:创建您自己的特定领域和通用编程语言$
- 让我们构建一个编译器 作者 Jack Crenshaw — PDF ¶ 版本(示例为 Pascal,但信息普遍适用)
- 链接器和加载器 $(Google 图书)
- Lisp in Small Pieces (LiSP) $
- LLVM 教程
- ML 中的现代编译器实现 $ — 那里是 Java $ 和 C $ 版本 - 被广泛认为是一本非常好的书
- 面向对象的编译器构造 $
- 解析技术 - 实用指南
- Project Oberon ¶ - 查看第 13 章
- 个人电脑编程 $
- 编程语言:应用和解释
- Rabbit:Scheme 编译器¶
- 反思信任信任 — 快速指南
- 为 .NET 框架推出自己的编译器 — 快速来自 MSDN 的教程
- 计算机程序的结构和解释
- 类型和编程语言
- 想要编写编译器? - 快速指南
- 在 Ruby 底层编写编译器向上
- 编译 Lisp — 直接编译到 x86-64
- A Nanopass Framework for Compiler Education ¶
- Advanced Compiler Design and Implementation $
- An Incremental Approach to Compiler Construction ¶
- ANTLR 3.x Video Tutorial
- Basics of Compiler Design
- Building a Parrot Compiler
- Compiler Basics
- Compiler Construction $
- Compiler Design and Construction $
- Crafting a Compiler with C $
- Crafting Interpreters
- [Compiler Design in C] 12 ¶
- Compilers: Principles, Techniques, and Tools $ — aka "The Dragon Book"; widely considered "the book" for compiler writing.
- Engineering a Compiler $
- Essentials of Programming Languages
- Flipcode Article Archive (look for "Implementing A Scripting Engine by Jan Niestadt")
- Game Scripting Mastery $
- How to build a virtual machine from scratch in C# ¶
- Implementing Functional Languages
- Implementing Programming Languages (with BNFC)
- Implementing Programming Languages using C# 4.0
- 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 $
- Let's Build a Compiler by Jack Crenshaw — The PDF ¶ version (examples are in Pascal, but the information is generally applicable)
- Linkers and Loaders $ (Google Books)
- Lisp in Small Pieces (LiSP) $
- LLVM Tutorial
- Modern Compiler Implementation in ML $ — There is a Java $ and C $ version as well - widely considered a very good book
- Object-Oriented Compiler Construction $
- Parsing Techniques - A Practical Guide
- Project Oberon ¶ - Look at chapter 13
- Programming a Personal Computer $
- Programing Languages: 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 tutorial from MSDN
- Structure and Interpretation of Computer Programs
- Types and Programming Languages
- Want to Write a Compiler? - a quick guide
- Writing a Compiler in Ruby Bottom Up
- Compiling a Lisp — compile directly to x86-64
- ¶ 链接到 PDF 文件
- $ 指向印刷书籍的链接
Big List of Resources:
传说:
这篇关于学习编写编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!