In this book we will create a programming language together. We'll start with 0 lines of code and end up with a fully working interpreter for the Monkey* programming language. Step by step. From tokens to output. All code shown and included. Fully tested. Buy this book to learn - How to build an interpreter for a C-like programming language from scratch - What a lexer, a parser and an Abstract Syntax Tree (AST) are and how to build your own - What closures are and how and why they work - What the Pratt parsing technique and a recursive descent parser is - What others talk about when they talk about built-in data structures - What REPL stands for and how to build one Why this book This is the book I wanted to have a year ago. This is the book I couldn't find. I wrote this book for you and me. So why should you buy it? What's different about it, compared to other interpreter or compiler literature? - Working code is the focus. Code is not just found in the appendix. Code is the main focus of this book. - It's small! It has around 200 pages of which a great deal are readable, syntax-highlighted, working code. - The code presented in the book is easy to understand, easy to extend, easy to maintain. - No 3rd party libraries! You're not left wondering: "But how does tool X do that?" We won't use a tool X. We only use the Go standard library and write everything ourselves. - Tests! The interpreter we build in the book is fully tested! Sometimes in TDD style, sometimes with the tests written after. You can easily run the tests to experiment with the interpreter and make changes. This book is for you if you... - learn by building, love to look under the hood - love programming and to program for the sake of learning and joy! - are interested in how your favorite, interpreted programming language works - never took a compiler course in college - want to get started with interpreters or compilers… - ... but don't want to work through a theory-heavy, 800 pages, 4 pounds compiler book as a beginner - kept screaming "show me the code!" when reading about interpreters and compilers - always wanted to say: "Holy shit, I built a programming language!" Table of Contents Acknowledgments Introduction Lexing Parsing Evaluation Extending the Interpreter Resources Feedback Changelog
2019-12-21 20:59:16 381KB Writing Go Interpreter
1
Distributed source coding is one of the key enablers for efficient cooperative communication. The potential applications range from wireless sensor networks, ad-hoc networks, and surveillance networks, to robust low-complexity video coding, stereo/Multiview video coding, HDTV, hyper-spectral and multispectral imaging, and biometrics. The book is divided into three sections: theory, algorithms, and applications. Part one covers the background of information theory with an emphasis on DSC; part two discusses designs of algorithmic solutions for DSC problems, covering the three most important DSC problems: Slepian-Wolf, Wyner-Ziv, and MT source coding; and part three is dedicated to a variety of potential DSC applications. Key features: Clear explanation of distributed source coding theory and algorithms including both lossless and lossy designs. Rich applications of distributed source coding, which covers multimedia communication and data security applications. Self-contained content for beginners from basic information theory to practical code implementation. The book provides fundamental knowledge for engineers and computer scientists to access the topic of distributed source coding. It is also suitable for senior undergraduate and first year graduate students in electrical engineering; computer engineering; signal processing; image/video processing; and information theory and communications. Table of Contents Chapter 1: Introduction Part I: Theory of Distributed Source Coding Chapter 2: Lossless Compression of Correlated Sources Chapter 3: Wyner–Ziv Coding Theory Chapter 4: Lossy Distributed Source Coding Part II: Implementation Chapter 5: Slepian–Wolf Code Designs Based on Channel Coding Chapter 6: Distributed Arithmetic Coding Chapter 7: Wyner–Ziv Code Design Part III: Applications Chapter 8: Wyner–Ziv Video Coding Chapter 9: Correlation Estimation in DVC Chapter 10: DSC for Solar Image Compression Chapter 11: Secure Distributed Image Coding Chapter 12: Se
2019-12-21 20:59:16 16.36MB Distributed Source Coding
1
The R language is widely used by statisticians for data analysis, and the popularity of R programming has therefore increased substantially in recent years. The emerging Internet of Things (IoT) gathers increasing amounts of data that can be analyzed to gain useful insights into trends. R for Data Analysis in easy steps has an easy-to-follow style that will appeal to anyone who wants to produce graphic visualizations to gain insights from gathered data. R for Data Analysis in easy steps begins by explaining core programming principles of the R programming language, which stores data in “vectors” from which simple graphs can be plotted. Next, the book describes how to create “matrices” to store and manipulate data from which graphs can be plotted to provide better insights. This book then demonstrates how to create “data frames” from imported data sets, and how to employ the “Grammar of Graphics” to produce advanced visualizations that can best illustrate useful insights from your data. R for Data Analysis in easy steps contains separate chapters on the major features of the R programming language. There are complete example programs that demonstrate how to create Line graphs, Bar charts, Histograms, Scatter graphs, Box plots, and more. The code for each R script is listed, together with screenshots that illustrate the actual output when that script has been executed. The free, downloadable example R code is provided for clearer understanding. By the end of this book you will have gained a sound understanding of R programming, and be able to write your own scripts that can be executed to produce graphic visualizations for data analysis. You need have no previous knowledge of any programming language, so it's ideal for the newcomer to computer programming. Table of Contents Chapter 1 Getting Started Chapter 2 Storing Values Chapter 3 Performing Operations Chapter 4 Testing Conditions Chapter 5 Employing Functions Chapter 6 Building Matrices Chapter 7 Constructin
2019-12-21 20:59:15 10.96MB R Data Analysis
1
《大象 Thinking In UML》epub版(带书签),欢迎下载 谭云杰 著
2019-12-21 20:59:14 15.95MB UML epub
1
《区块链 技术驱动:数字货币与智能合约技术》.
2019-12-21 20:57:19 2.56MB 区块链 比特币
1
在html中使用vuejs与epubjs开发阅读器,实现了简单的阅读器基本功能。
2019-12-21 20:56:24 133KB epub vuejs与epubjs epub阅读器
1
azw3格式是kindle正版破解的,epub格式是无损转换,这保证了他在阅读软件上的良好排版。 JavaScript 曾是“世界上最被误解的语言”,因为它担负太多的特性,包括糟糕的交互和失败的设计,但随着Ajax 的到来,JavaScript“从最受误解的编程语言演变为最流行的语言”,这除了幸运之外,也证明了它其实是一门优秀的语言。Douglas Crockford 在本书中剥开了JavaScript 沾污的外衣,抽离出一个具有更好可靠性、可读性和可维护性的JavaScript 子集,让你看到一门优雅的、轻量级的和非常富有表现力的语言。作者从语法、对象、函数、继承、数组、正则表达式、方法、样式和优美的特性这9 个方面来呈现这门语言真正的精华部分,通过它们完全可以构建出优雅高效的代码。作者还通过附录列出了这门语言的毒瘤和糟粕部分,且告诉你如何避免它们。最后还介绍了JSLint,通过它的检验,能有效地保障我们的代码品质。
2019-12-21 20:54:51 2.3MB JavaScript
1
笨方法学C, epub版本,可在kindle 掌阅等阅读器上观看
2019-12-21 20:46:02 300KB 笨方法学C epub
1
Objc APP架构 王巍(喵神) 翻译 PDF+epub 双份高清完整版,不差钱的朋友可以去官网购买,支持一下大神王巍,并且可以得到持续更新。如有侵权请联系本人删除。iOS开发还是有人要的大家加油!本来想零积分的但是发现设置积分的地方不见了。。。。。。
2019-12-21 20:41:28 5.51MB iOS架构 Objc app架构 王巍
1
wift4.2文档 epub和pdf版本, mobi版本凌乱,不能使用,kindle用户直接pdf比较好
2019-12-21 20:38:49 6.16MB swift swift4.2
1