Domain-Specific Languages Made Easy, Version 4
Book information
Description
Domain-Specific Languages Made Easy MEAP V04 Copyright Welcome Brief contents Chapter 1: What is a Domain-Specific Language? 1.1 A business case: a car rental company 1.2 Using a DSL-based approach for software development 1.2.1 The design of the Domain IDE 1.2.2 The architecture of the Domain IDE 1.2.3 What we’ll be doing in this book 1.3 Why use a DSL-based approach for software development? 1.3.1 Empowering the domain experts 1.3.2 Improving efficiency of the software development process 1.3.3 New possibilities 1.3.4 When (not) to use a DSL-based approach? 1.4 What is a DSL? 1.4.1 Key aspects 1.5 Summary Chapter 2: Representing DSL content as structured data 2.1 Establishing an object-relation diagram notation to represent structured data 2.2 Going from concrete, to abstract syntax 2.3 Summary Chapter 3: Working with ASTs in code 3.1 Turning ASTs into code 3.1.1 Encoding containment relations 3.1.2 Encoding reference relations 3.2 Interacting with ASTs 3.2.1 Accessing concept labels, and settings' values 3.2.2 Recognizing AST objects and references 3.3 Traversing ASTs 3.3.1 The general recipe for depth-first tree traversal 3.3.2 Example: counting leaves of an AST 3.4 Summary Chapter 4: Projecting the AST 4.1 Preparing the implementation of the projection 4.2 Implementing the projection iteratively 4.2.1 Projecting record types 4.2.2 Projecting attributes 4.2.3 Projecting the initial values 4.3 Summary Chapter 5: Editing values in the projection 5.1 Changing names 5.1.1 Starting the editing 5.1.2 Using edit state 5.1.3 A reactive architecture for projectional editors 5.1.4 Reacting to change with MobX 5.1.5 Stopping the editing 5.1.6 Updating the AST 5.2 Changing the value of a number literal 5.3 Choosing the type of an attribute 5.4 Choosing an attribute for a reference 5.5 Summary Chapter 6: Editing objects in the projection 6.1 Adding new objects to the AST 6.1.1 Adding an attribute 6.1.2 Adding an initial value 6.2 Selecting objects 6.2.1 Selecting an attribute 6.2.2 Deselecting an attribute 6.2.3 Selecting and deselecting any object 6.3 Deleting objects 6.3.1 Deleting initial values 6.3.2 Deleting attributes 6.3.3 Deleting any object 6.4 Summary Chapter 7: Implementing persistence and transportation of ASTs 7.1 Implementing and using a simple backend 7.2 Serializing an AST 7.3 Deserializing ASTs 7.4 Making an AST observable during deserialization 7.5 Implementing save functionality 7.6 Summary Chapter 8: Generating code from the AST 8.1 Integrating the build system with the software development process 8.2 Using a reference implementation 8.3 A Runtime for “Rental” 8.4 Implementing a code generator using templates 8.4.1 Iterating from reference source to template 8.4.2 Composing template functions 8.4.3 Indenting declaratively 8.4.4 Finishing the code generator 8.4.5 Alternative approaches for writing templates 8.5 Summary Notes
Similar books
Building User-Friendly DSLs
2024 · EPUB
Building User-Friendly DSLs
2024 · EPUB
MySQL® Notes for Professionals book
2018 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF
Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36
2010 · PDF
THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.
1858 · PDF
Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.
2022 · PDF