GithubHelp home page GithubHelp logo

santoshgokak / dsls_in_action Goto Github PK

View Code? Open in Web Editor NEW

This project forked from debasishg/dsls_in_action

0.0 2.0 0.0 123 KB

Code base for DSLs In Action (http://www.manning.com/ghosh)

Home Page: http://manning.com/ghosh

dsls_in_action's Introduction

Welcome to DSLs In Action
-------------------------

The archive contains all the source code that you will find in the book chapters. The code base has
been indexed based on the chapters where they occur and the context in which we use them. As for example,
the following is the layout for one of the sample chapters in the book:

chapter2
|
|
+--- order_dsl_groovy
|
|
+--- order_dsl_java

This indicates that chapter 2 of the book discusses order processing DSLs and we have 2 implementations 
of the same. In the code package we have 2 folders for the 2 implementations. Let's dig deep into the folders 
to get an idea of how we package these DSLs here.

order_dsl_groovy
|
|
+--- order
|    |
|    |
|    +--- src
|    |    |
|    |    |
|    |    +--- main
|    |         |
|    |         |
|    |         +--- groovy
|    |              |
|    |              |
|    |              +--- ch2
|    |                   |
|    |                   |
|    |                   +--- order
|    |                        |
|    |                        |
|    |                        +--- ClientOrder.groovy
|    |                        |
|    |                        |
|    |                        +--- order.dsl
|    +--- pom.xml
|
|
+--- readme.txt

The artifact order contains the source hierarchy, while the readme.txt contains instructions on how to build 
and run the DSL main scripts. The actual instructions depend on whether the source is Java, Groovy, Ruby, Scala
or Clojure.

Prerequisites:
--------------

The code packaging is done around Maven. Please ensure you have maven 2.2.1 installed. For running Ruby code, I
have packaged around the jruby plugin of Maven. You would also need to have JRuby installed for running them. For
more details, have a look at the respective readme.txt files in the individual folders.

Happy DSLing!

dsls_in_action's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.