買這商品的人也買了...
相關主題
商品描述
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語言中,快速入門特定領域語言(Domain-Specific Languages,DSLs),包括正則表達式的使用。這本簡潔而深入的書籍向您展示了DSLs是專門用於特定目的的編程語言,而不是通用編程語言。在學習過程中,您將學會以精確的方式指定要執行的任務,並在特定領域的上下文中實現編程目標。
《R中的特定領域語言》包括使用DSLs的示例,包括大型數據集或矩陣乘法;應用於計算機視覺的模式匹配DSLs;以及連續時間馬爾可夫鏈及其在數據科學中的應用的DSLs。閱讀並使用本書後,您將了解如何在R中編寫DSLs,並具備可以應用於其他編程語言的技能。
《本書的學習目標》
- 使用R進行特定領域語言的編程
- 了解DSLs的組成部分
- 執行大型矩陣表達式和乘法
- 使用DSLs進行元編程
- 解析和操作表達式
《本書適合對象》
具有先前編程經驗的人。具備R知識將有所幫助,但不是必需的。