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

By Fergal Dearle

Extend and increase your Java functions with domain-specific scripting in Groovy

About This Book

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

Who This booklet Is For

This booklet is for Java software program builders who've an curiosity in construction area scripting into their Java purposes. No wisdom of Groovy is needed, even though it may be priceless. This ebook doesn't educate Groovy, yet fast introduces the fundamental principles of Groovy. An skilled Java developer should not have any issues of those and movement quick directly to the extra concerned points of making DSLs with Groovy. No adventure of making a DSL is required.

What you are going to Learn

  • Familiarize your self with Groovy scripting and paintings with Groovy closures
  • Use the meta-programming good points in Groovy to construct mini languages
  • Employ Groovy mark-up and developers to simplify software development
  • Familiarize your self with Groovy mark-up and construct your individual Groovy builders
  • Build potent DSLs with operator overloading, command chains, developers, and a bunch of different Groovy language features
  • Integrate Groovy together with your Java and JVM established applications

In Detail

The occasions while constructing at the JVM intended you have been a Java programmer have lengthy handed. The JVM is now firmly validated as a polyglot improvement atmosphere with many initiatives picking out substitute improvement languages to Java similar to Groovy, Scala, Clojure, and JRuby. during this pantheon of improvement languages, Groovy sticks out for its very good DSL allowing beneficial properties which permits it to be manipulated to provide mini languages which are adapted to a project’s needs.

A complete educational on designing and constructing mini Groovy established area particular Languages, this booklet will advisor you thru the advance of a number of mini DSLs that can assist you achieve all of the abilities had to improve your personal Groovy established DSLs with self assurance and ease.

Starting with the naked fundamentals, this booklet will specialize in how Groovy can be utilized to build area particular mini languages, and should battle through the extra advanced meta-programming gains of Groovy, together with utilizing the summary Syntax Tree (AST). sensible examples are used all through this publication to de-mystify those probably complicated language positive aspects and to teach how they are often used to create basic and chic DSLs. filled with examples, together with numerous totally labored DSLs, this ebook will function a springboard for constructing your individual DSLs.

Style and approach

This ebook is a hands-on consultant that would 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 can assist you achieve a great operating wisdom of the recommendations concerned and follow those to generating your personal Groovy dependent DSLs.

Show description

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

Best object oriented design books

TIBCO Architecture Fundamentals (TIBCO Press)

“TIBCO® structure basics is a must-read for anyone concerned with the structure and layout of dispensed structures, approach integration concerns, or service-based software layout. ” —Bert Hooyman, leader Architect, Europe, for MphasiS (an HP corporation)   “I would favor all of the parents on my staff to learn this, to make sure we're all at the comparable web page with the deliverables which are anticipated from structure groups fascinated by international initiatives and the function that the TIBCO instruments play in imposing those recommendations.

C++ Internals Interview Questions You'll Most Likely Be Asked

C++ Internals Interview Questions you are going to probably Be requested is an ideal spouse to face forward above the remaining in today’s aggressive task industry. instead of facing complete, textbook-sized reference publications, this booklet contains purely the data required instantly for task seek to construct an IT profession.

Vaadin 7 UI Design By Example: Beginner’s Guide

In DetailVaadin is a mature, open-source, and strong Java framework used to construct glossy internet purposes in simple Java. Vaadin brings again the thrill of programming UI interfaces to the internet universe. No HTML, no CSS, no JavaScript, no XML. Vaadin enables you to enforce net person interfaces utilizing an item orientated version, just like machine applied sciences reminiscent of Swing and AWT.

Informationsmodellierung: Durch Verstehen zur besseren Software (German Edition)

Verstehen ist der Schlüssel zu guter software program. Die Modellierung von Geschäftsprozessen und der dabei manipulierten Daten kann jedoch nur maximal so intestine sein wie das zugrunde liegende Verständnis der Sache an sich. Erfahrungsgemäss liegt die Hauptursache für schlechte software program und gescheiterte IT-Projekte im mangelnden Verständnis der Fachwelt.

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

Example text

Download PDF sample

Rated 4.33 of 5 – based on 29 votes