文章分类 -  编译原理

摘要:原文:http://wingolog.org/archives/2011/07/05/v8-a-tale-of-two-compilersRegular readers will have noticed my fascination with theV8JavaScript implementat... 阅读全文
posted @ 2015-04-01 19:28 Scan. 阅读(221) 评论(0) 推荐(0)
摘要:原文:http://mrale.ph/blog/2012/06/03/explaining-js-vms-in-js-inline-caches.htmlI have a thing for virtual machines that are implemented in the language ... 阅读全文
posted @ 2015-04-01 17:59 Scan. 阅读(170) 评论(0) 推荐(0)
摘要:原文:http://mrale.ph/blog/2012/09/23/grokking-v8-closures-for-fun.htmlI was thinking about writing a smallish blog post summarizing my thoughts on closu... 阅读全文
posted @ 2015-04-01 15:41 Scan. 阅读(253) 评论(0) 推荐(0)
摘要:原文:http://matt.might.net/articles/cesk-machines/Writing an interpreter, CESK-style[article index] [email me] [@mattmight] [+mattmight] [rss]Matthias F... 阅读全文
posted @ 2015-01-22 16:42 Scan. 阅读(384) 评论(0) 推荐(0)
摘要:原文:http://matt.might.net/articles/a-normalization/A-Normalization: Why and How[article index] [email me] [@mattmight] [+mattmight] [rss]A-Normal Form ... 阅读全文
posted @ 2015-01-22 15:29 Scan. 阅读(323) 评论(0) 推荐(0)
摘要:原文:http://en.wikipedia.org/wiki/Polymorphism_(computer_science)From Wikipedia, the free encyclopediaPolymorphismAd hoc polymorphismFunction overloadin... 阅读全文
posted @ 2015-01-16 19:59 Scan. 阅读(1302) 评论(0) 推荐(0)
摘要:原文:http://matt.might.net/articles/books-papers-materials-for-graduate-students/Reading for graduate students[article index] [email me] [@mattmight] [+... 阅读全文
posted @ 2015-01-16 18:39 Scan. 阅读(214) 评论(0) 推荐(0)
摘要:原文:http://zhuanlan.zhihu.com/forallplt/19917853分为程序语言理论、编译原理、程序分析三部分。不涉及“如何学习某一具体语言”1. 程序语言理论1.1 Learn from Lisp/Scheme《计算机程序的构造和解释》(SICP)。函数式语言的“设计模式... 阅读全文
posted @ 2014-12-19 17:39 Scan. 阅读(1063) 评论(0) 推荐(0)
摘要:原文:http://www.cnblogs.com/Ninputer/archive/2011/06/06/2073908.html自己动手开发编译器(零)序言好久没写博客了,一来是自己懒,二来是最近一段时间都没有做什么自己认为可以分享的东西。这几天刚好重拾了一个一直打算做但没做的编译器类库,算是积... 阅读全文
posted @ 2014-12-17 21:20 Scan. 阅读(5913) 评论(1) 推荐(1)
摘要:原文:http://www.cs.nott.ac.uk/~gmh/monparsing.pdf 阅读全文
posted @ 2014-12-16 16:38 Scan. 阅读(253) 评论(0) 推荐(0)
摘要:原文:http://jayconrod.com/posts/38/a-simple-interpreter-from-scratch-in-python-part-2In theprevious article in the series, we covered the IMP language a... 阅读全文
posted @ 2014-12-16 15:45 Scan. 阅读(455) 评论(0) 推荐(0)
摘要:原文:http://www.stephendiehl.com/posts/essential_compilers.htmlA reading list for those interested in the implementation internals of Haskell compilers.... 阅读全文
posted @ 2014-12-16 01:28 Scan. 阅读(136) 评论(0) 推荐(0)
摘要:原文:http://en.wikipedia.org/wiki/Futamura_projection#Futamura_projectionsPartial evaluationFrom Wikipedia, the free encyclopedia(Redirected fromFutamur... 阅读全文
posted @ 2014-05-31 11:47 Scan. 阅读(534) 评论(0) 推荐(0)
摘要:原文:http://en.wikipedia.org/wiki/Continuation-passing_styleContinuation-passing styleFrom Wikipedia, the free encyclopediaInfunctional programming,cont... 阅读全文
posted @ 2014-05-23 17:39 Scan. 阅读(373) 评论(0) 推荐(0)
摘要:原文:http://en.wikipedia.org/wiki/Lambda_calculusLambda calculusFrom Wikipedia, the free encyclopediaThe lowercaselambda, the 11th letter of theGreek al... 阅读全文
posted @ 2014-05-21 02:46 Scan. 阅读(778) 评论(0) 推荐(0)
摘要:原文:http://en.wikipedia.org/wiki/Evaluation_strategyAprogramming languageuses an evaluation strategy to determinewhento evaluate the argument(s) of a function call (for function, also read: operation, method, or relation) andwhatkind of value to pass to the function. For example, call-by-worth/pass-b 阅读全文
posted @ 2014-02-10 15:17 Scan. 阅读(226) 评论(0) 推荐(0)
摘要:转:http://openjdk.java.net/groups/hotspot/docs/RuntimeOverview.html#Interpreter|outlineThe current HotSpot interpreter, which is used for executing bytecodes, is a template based interpreter. The HotSpot runtime a.k.a.InterpreterGeneratorgenerates an interpreter in memory at the startup using the inf 阅读全文
posted @ 2014-01-23 17:24 Scan. 阅读(305) 评论(0) 推荐(0)
摘要:原文:http://byvoid.github.io/slides/continuation/index.html 阅读全文
posted @ 2014-01-23 15:39 Scan. 阅读(280) 评论(0) 推荐(0)
摘要:原文:http://en.wikipedia.org/wiki/First_class_objectFirst-class citizenFrom Wikipedia, the free encyclopedia(Redirected fromFirst class object)For the usage in society, seeSecond-class citizen.Inprogramming language design, afirst-class citizen(alsoobject,entity, orvalue) in a givenprogramming languag 阅读全文
posted @ 2014-01-05 17:51 Scan. 阅读(431) 评论(0) 推荐(0)
摘要:原文:http://gcc.gnu.org/onlinedocs/gcc-3.2/gcc/Labels-as-Values.htmlNode:Labels as Values, Next:Nested Functions, Previous:Local Labels, Up:C ExtensionsLabels as ValuesYou can get the address of a label defined in the current function (or a containing function) with the unary operator&&. The v 阅读全文
posted @ 2014-01-05 17:42 Scan. 阅读(620) 评论(0) 推荐(0)