商品描述
Ever wanted to understand how programming languages work under the hood? This book provides a clear and practical journey to build a Lisp interpreter from scratch using Rust. Learn core concepts like lexing, parsing, and evaluation while leveraging Rust's powerful features. Perfect for Rust developers, programming language enthusiasts, or anyone curious about the inner workings of an interpreter. You'll go from basic data types to functional programming constructs and even implement advanced features like tail call optimization and closures. By the end, you'll not only have a fully functional Lisp interpreter but also a deeper understanding of language design and implementation. Start your exciting journey today! Find out more about this book at https: //github.com/vishpat/lisp-rs
商品描述(中文翻譯)
你是否曾想過了解程式語言在背後是如何運作的?這本書提供了一個清晰且實用的旅程,從零開始使用 Rust 建立一個 Lisp 解譯器。學習核心概念,如詞法分析(lexing)、語法分析(parsing)和評估(evaluation),同時利用 Rust 的強大特性。這本書非常適合 Rust 開發者、程式語言愛好者,或任何對解譯器的內部運作感到好奇的人。你將從基本資料類型開始,學習函數式程式設計的構造,甚至實現像尾呼叫優化(tail call optimization)和閉包(closures)等進階特性。到最後,你不僅會擁有一個功能完整的 Lisp 解譯器,還會對語言設計和實現有更深入的理解。今天就開始你的精彩旅程吧!
想了解更多關於這本書的資訊,請訪問 https://github.com/vishpat/lisp-rs