Download PDF by Fergal Dearle: Groovy for Domain-specific Languages - Second Edition

By Fergal Dearle

Extend and improve your Java purposes with domain-specific scripting in Groovy

About This Book

  • Build domain-specific mini languages in Groovy that combine seamlessly together with your Java apps with this hands-on guide
  • Increase stakeholder participation within the improvement method with domain-specific scripting in Groovy
  • Get up to the mark with the latest positive aspects in Groovy utilizing this moment version and combine Groovy-based DSLs into your current Java applications.

Who This publication Is For

This booklet is for Java software program builders who've an curiosity in construction area scripting into their Java functions. No wisdom of Groovy is needed, even though it can be precious. This booklet doesn't train Groovy, yet quick introduces the elemental rules of Groovy. An skilled Java developer should not have any issues of those and stream fast directly to the extra concerned facets of constructing DSLs with Groovy. No adventure of making a DSL is required.

What you'll Learn

  • Familiarize your self with Groovy scripting and paintings with Groovy closures
  • Use the meta-programming gains in Groovy to construct mini languages
  • Employ Groovy mark-up and developers to simplify program development
  • Familiarize your self with Groovy mark-up and construct your personal Groovy builders
  • Build powerful DSLs with operator overloading, command chains, developers, and a number of alternative Groovy language features
  • Integrate Groovy together with your Java and JVM established applications

In Detail

The instances whilst constructing at the JVM intended you have been a Java programmer have lengthy handed. The JVM is now firmly tested as a polyglot improvement setting with many initiatives determining replacement improvement languages to Java equivalent to Groovy, Scala, Clojure, and JRuby. during this pantheon of improvement languages, Groovy sticks out for its first-class DSL permitting beneficial properties which permits it to be manipulated to provide mini languages which are adapted to a project’s needs.

A finished educational on designing and constructing mini Groovy established area particular Languages, this e-book will consultant you thru the improvement of numerous mini DSLs that can assist you achieve the entire talents had to increase your individual Groovy dependent DSLs with self belief and ease.

Starting with the naked fundamentals, this e-book will concentrate on how Groovy can be utilized to build area particular mini languages, and may struggle through the extra advanced meta-programming positive factors of Groovy, together with utilizing the summary Syntax Tree (AST). sensible examples are used all through this booklet to de-mystify those doubtless advanced language beneficial properties and to teach how they are often used to create easy and stylish DSLs. choked with examples, together with a number of totally labored DSLs, this e-book will function a springboard for constructing your individual DSLs.

Style and approach

This booklet is a hands-on consultant that might stroll you thru examples for construction DSLs with Groovy instead of simply speaking approximately "metaprogramming with Groovy". The examples during this publication were designed that will help you achieve an outstanding operating wisdom of the concepts concerned and follow those to generating your individual Groovy established DSLs.

Show description

Read Online or Download Groovy for Domain-specific Languages - Second Edition PDF

Similar object oriented design books

New PDF release: Hudson 3 Essentials

In DetailContinuous integration (CI) with automatic try execution has been extensively followed lately. the concept that at the back of CI has replaced how businesses examine construct administration, unencumber administration, Deployment Automation, and try out Orchestration. Hudson is a CI resolution that offers executives, company managers, software program builders, and designers with a greater experience of the advance development and code caliber of initiatives all through their improvement existence cycle.

New PDF release: Starting Out with Visual C# 2012, Global Edition

Meant to be used within the Introductory C# Programming path  Tony Gaddis’s available, step by step presentation is helping starting scholars comprehend the $64000 information essential to develop into expert programmers at an introductory point. Gaddis motivates the learn of either programming talents and the visible C# programming language by way of offering all of the information had to comprehend the “how” and the “why”—but by no means wasting sight of the truth that such a lot newbies fight with this fabric.

Download e-book for iPad: Swift 2 Design Patterns by Julien Lange

Construct powerful and scalable iOS and Mac OS X online game applicationsAbout This BookLearn to exploit and enforce the 23 Gang of 4 layout styles utilizing speedy 2Design and architect your code for quick program developmentUnderstand the position, established UML layout, and contributors within the classification diagram of the development through imposing them in a step by step approachWho This booklet Is ForThis ebook is meant for efficient rapid builders who are looking to observe enduring layout styles with fast to constitution and scale their program code.

New PDF release: Optimized C++: Proven Techniques for Heightened Performance

In today’s speedy and aggressive international, a program’s functionality is simply as very important to clients because the good points it presents. This useful advisor teaches builders performance-tuning rules that allow optimization in C++. You’ll how one can make code that already embodies top practices of C++ layout run speedier and devour fewer assets on any computer—whether it’s an eye, cell, laptop, supercomputer, or globe-spanning community of servers.

Additional resources for Groovy for Domain-specific Languages - Second Edition

Sample text

Download PDF sample

Groovy for Domain-specific Languages - Second Edition by Fergal Dearle


by Ronald
4.5

Rated 4.17 of 5 – based on 34 votes