Despite using them every day, most software engineers know little about how programming languages are designed and implemented. For many, their only experience with that corner of computer science was a terrifying "compilers" class that they suffered through in undergrad and tried to blot from their memory as soon as they had scribbled their last NFA to DFA conversion on the final exam.
That fearsome reputation belies a field that is rich with useful techniques and not so difficult as some of its practitioners might have you believe. A better understanding of how programming languages are built will make you a stronger software engineer and teach you concepts and data structures you'll use the rest of your coding days. You might even have fun.
This book teaches you everything you need to know to implement a full-featured, efficient scripting language. You’ll learn both high-level concepts around parsing and semantics and gritty details like bytecode representation and garbage collection. Your brain will light up with new ideas, and your hands will get dirty and calloused.
Starting from main(), you will build a language that features rich syntax, dynamic typing, garbage collection, lexical scope, first-class functions, closures, classes, and inheritance. All packed into a few thousand lines of clean, fast code that you thoroughly understand because you wrote each one yourself.
Robert Nystrom has programmed professionally for twenty years, about half of which is in games. During his eight years at Electronic Arts, he worked on behemoths like Madden and smaller titles like Henry Hatsworth in the Puzzling Adventure. He's shipped games on the PC, GameCube, PS2, XBox, X360, and DS, but is most proud of the tools and shared libraries he created for others ...
(展开全部)
诗人、评论家保罗·瓦勒里(Pau l Valery)这样描述埃德加·德加(Edgar Degas(1834-1917):“他是世界上*聪慧、*挑剔、*严苛的画家...
晋江知名作者,以新奇的脑洞和生动的文笔深受读者喜爱。代表作《海怪联盟》,著有《求退人间界》《弥天大雾》《这锅我不背》等多部热门作品。
单方活用巧用图文百科 内容简介 刘昆编著的《单方活用巧用图文百科》共18章,内容包括:**章:家有小单方,有病不慌张、第二章:了解常用单方中的药用食材和...
跟隨末代沙皇尼古拉二世到最後的忠臣,居然是一名廚子?列寧用革命打倒資本家,怎會學著資產階級養廚娘?猜忌成性的史達林,卻信任廚師同鄉幫他試毒?戈巴契夫做出改寫蘇聯...
《群书治要》五十卷,唐魏徵等奉敕撰。《新唐书》萧德言本传说:“太宗欲知前世得失,诏魏徵、虞世南、褚亮及德言裒次经史百氏帝王所以兴衰者上之。帝爱其博而要,曰:‘使...
精彩摘录 大家在皮椅中坐下后,皮埃纳尔将军问道:“那么,我们的简·马雷大使有罪没有啊?” “有罪,”普雷斯顿说,“很
侯旭东,清华大学人文学院历史系教授。主要研究秦汉魏晋南北朝史与出土文书简牍。出版《什么是日常统治史》(2020)、《宠:信-任型君臣关系与西汉历史的展开》(20...
TheawewithwhichPlatoregardedthecharacterofthegreatParmenideshasextendedtothedial...
两男一女的绝美之恋,爱如何分成两半?著名诗人夏宇翻译,法国经典爱情电影《祖与占》原著小说奥斯卡、戛纳、威尼斯最佳导演特吕弗成名作。如果我们注定邂逅,为何又要从彼...
作品目录推荐序 教育贵在精准前言 等花盛开,看树长大第一章 轻轻松松让孩子长大无名怒火从哪里来管理自己的念头不对孩子发脾
阿越,湖南人。1980年生,理工科毕业,后考入湖南师范大学历史学院,攻读中国古代史硕士研究生。2004年开始动笔撰写《新宋》,历经数载,完成《十字》、《权柄》、...
装饰装修施工图设计正误案例对比 本书特色 《装饰装修施工图设计正误案例对比》共分为八章,包括装饰装修施工图基本知识,装饰装修施工图,装饰装修墙面施工图,装饰装修...
绝对价值指的是经用户体验的产品质量,即使用某件产品或者享受某项服务的切实感受。过去,消费就像是押宝。一件商品好不好,一家餐馆的环境如何,没有亲身体验过消费者无从...
沈思,男,七十年代出生于教师家庭,湖北省宜昌市人。高中毕业后就读于中南财经政法大学会计学专业,大学毕业后从事会计方面工作。注册会计师。
精彩摘录纯意识即纯潜能,这是一个具有无穷可能性和无限创造性的场。纯意识是我们的精神实质。由于它无边无际,无穷无尽,所以又
小蚊子团队全新力作满书写尽数据分析实战技巧Access、SQL、PowerPivot、Excel数据分析工具库、水晶易表、VBA一个都不少17位业内专
中医验方全书-第二辑-珍藏本 内容简介 医学实践证明,中医学确实有着自己的特色与优势,并且其中一些内容已为现代医学所借鉴应用。当然,我们也应注意到中医验...
每到星期天晚上,就特别烦躁,只想呐喊:“啊,明天真不想上班!”一到星期一,起床之后就罹患急性“星期一症候群”,精、气、神统统缺席!出门上班前开始下起倾盆大雨、在...
《毕业进投行》内容简介:本书以介绍投资银行业务背景知识和投行校园招聘面试准备为出发点,详细介绍了什么是投资银行,投行的业务
作者鱼丰(日文笔名为鱼豊),5月29日出生,日本东京人。13岁开始投稿漫画,作品《百米》入围第98回Magazine新人漫画奖并凭此出道。代表作《地。关于地球的...