学习编写一个编译器 [英] Learning to write a compiler
本文介绍了学习编写一个编译器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
首选语言: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中的编译器设计¶
- Dragon Book $ - 被广泛认为是编译器编写的书。
- 工程编译器 $
- 基本编程语言
- Flipcode文章存档(寻找由Jan Niestadt实现脚本引擎)
- 游戏脚本精通 $
- 如何在C#中从头构建虚拟机¶
- 实施功能语言
- 实施编程语言(使用BNFC)
- 使用C#4.0实现编程语言
- 翻译模式(在 Design Patterns $)指定一种评估语言句子的方法
- 语言实现模式:创建您自己的特定领域和一般编程语言
- 让我们构建一个编译器 - PDF ¶版本
- 链接器和加载器 $(Google图书)
- Lisp in Small Pieces(LiSP) $
- LLVM教程
- ML中的现代编译器实现 $ - 有一个 Java $和 C $版本 - 被广泛认为是一本非常好的书
- 面向对象编译器构造 $
- 解析技巧 - 实用指南
- Oberon项目¶ - 查看章节13
- 个人电脑编程 $
- 编程语言:应用和解释
- Rabbit:计划编译器¶
- 对信任信任的反思 - 快速指南
- 为.NET框架滚动您自己的编译器 - MSDN的快速教程
- 计算机程序的结构和解释
- 类型和编程语言
- 想要编写编译器吗? - 快速指南
- 在Ruby中编写编译器自下而上
- 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 $
- Compiler Design in C ¶
- 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 — The PDF ¶ version
- 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
- ¶链接到PDF文件
- $链接到打印的书
Big List of Resources:
图例:
这篇关于学习编写一个编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文