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 ...
(展开全部)
番茄设施栽培 本书特色 近一二十年来,市场越来越开放,农业生产分工越来越细,种菜的农民也越来越专业,他们不仅在露地大面积种菜,还建造塑料大棚、日光温室,甚至蔬菜...
智能化协同无线传感器网络节点定位算法 内容简介 本书对无线传感器网络节点定位算法进行了研究, 从RSSI节点定位算法、DV-Hop算法、质心算法等角度, 积极引...
斯坦尼斯拉夫斯基(1863-1938)是俄国-苏联杰出的戏剧大师。他系统总结了"体验派"戏剧理论,强调现实主义原则,主张演员要沉浸在角色的情感之中,反对把表演艺...
作者:(美国)粱勇(Y.Daniel Liang) 译者:戴开宇梁勇(Y.Daniel Liang),现为阿姆斯特朗亚特兰大州立大学计算机科学系教授。之前曾是普...
●對傳統及現代命理知識加以提煉、總結。●挖掘、整理八字命理的根本性原理、法則。●書中附帶一些經實踐有用的法則、心得,可以
租税国的危机 本书特色 现代法治国无不以租税国为表现形态。租税国体制下的宪法秩序,一方面承认并保障人民拥有经济的自主权,有助于建立理性的人格与自我发...
早年岁月1933年生于日本埼玉縣。1958年毕业于青山学院大学英美文学系。由于精通英语,对欧美小说涉猎广泛。他最崇拜的作家是罗曼·罗兰。大学毕业后,森村被分配到...
Delirious and morei the lessons of the skyscraperii strategy vs architectureCort...
大卫•格雷伯(1961-2020),美国人类学家,社会学家。已出版作品《债:5000年债务史》《毫无意义的工作》。作者生前为伦敦政治经济学院人类学教授,亲身参与...
《变化中的中国人》内容简介:《变化中的中国人》英文版本出版于1911年,是辛亥革命爆发之前西方人观察中国的代表作。本书涉及的内
萨娜娅·罗曼(Sanaya Roman),国际知名心灵成长导师,协助无数人开启更大的潜能、扩展意识并觉知个人的力量。著有《活在喜悦中》《灵性的成长》《灵魂之爱》...
汪曾祺,江苏高邮人,一九二〇年生。-九三九年就读于西南联合大学,为沈从文先生的及门弟子。约-九四〇年开始发表散文及小说。大学时期受阿索林及弗吉尼亚•吴尔夫的影响...
安藤忠雄,当今世界最为活跃、最具影响力的建筑大师之一。他自学成才成为建筑大师。30多年的时间里,创作了近150项国际知名的建筑作品,是日本第三位获得普利策奖的日...
书中阐述,商业和文化的未来不在于传统需求曲线上那个代表“畅销商品”(hits)的头部; 而是那条代表“冷门商品”(misses)经常为人遗忘的长尾。 举例来说,...
胡洁,社会学博士,东南大学人文学院社会学系副教授,兼任中国社会学会社会心理学专业委员会副秘书长。在《社会学研究》《学术月刊》《社会学评论》等杂志发表学术论文10...
仲景方药现代研究 本书特色 仲景方药现代研究 内容简介 《伤寒杂病论》是中医学经典著作之一,它包涵了中医学从理论到临床各个方面的广泛内容,对整个中医学的发展影响...
作品目录导言 主题研讨:洛克与自由社会 革命政治 ——洛克的政治哲学与现代自然法的危机 在良心与自然法之间 ——洛克宗教宽容
作品目录1 冤魂半夜显灵2 悲愤的王子3 父与子4 别离设家宴5 王子发疯6 走廊邂逅7 蝙蝠8 新戏《捕老鼠》9 海盗船10 织有花纹的地
StructuralImpactisconcernedwiththebehaviourofstructuresandcomponentssubjectedtol...
《国际学术期刊守门人》内容简介:《国际学术期刊守门人》分别在化学、计算机、经济学三个学科中建立大样本数据库,在这三个学科中