買這商品的人也買了...
商品描述
Gain an accelerated introduction to domain-specific languages in R, including coverage of regular expressions. This compact, in-depth book shows you how DSLs are programming languages specialized for a particular purpose, as opposed to general purpose programming languages. Along the way, you’ll learn to specify tasks you want to do in a precise way and achieve programming goals within a domain-specific context.
Domain-Specific Languages in R includes examples of DSLs including large data sets or matrix multiplication; pattern matching DSLs for application in computer vision; and DSLs for continuous time Markov chains and their applications in data science. After reading and using this book, you’ll understand how to write DSLs in R and have skills you can extrapolate to other programming languages.
What You'll Learn
- Program with domain-specific languages using R
- Discover the components of DSLs
- Carry out large matrix expressions and multiplications
- Implement metaprogramming with DSLs
- Parse and manipulate expressions
Who This Book Is For
Those with prior programming experience. R knowledge is helpful but not required.
商品描述(中文翻譯)
獲得對 R 語言中領域特定語言的加速介紹,包括正則表達式的涵蓋。這本簡潔而深入的書籍向您展示了 DSL(Domain-Specific Languages,領域特定語言)是專門針對特定目的的程式語言,與通用程式語言相對。在此過程中,您將學會以精確的方式指定您想要執行的任務,並在領域特定的上下文中實現程式設計目標。
《Domain-Specific Languages in R》包括了 DSL 的範例,例如大型數據集或矩陣乘法;用於計算機視覺的模式匹配 DSL;以及用於連續時間馬可夫鏈及其在數據科學中的應用的 DSL。在閱讀和使用這本書之後,您將了解如何在 R 中編寫 DSL,並擁有可以推廣到其他程式語言的技能。
您將學到什麼
- 使用 R 進行領域特定語言的程式設計
- 發現 DSL 的組成部分
- 執行大型矩陣表達式和乘法
- 使用 DSL 實現元程式設計
- 解析和操作表達式
本書適合誰閱讀
適合具有先前程式設計經驗的人。具備 R 語言知識會有所幫助,但不是必需的。