On Tue, 2014-08-26 at 17:25 +0000, Jonathan Marler via Digitalmars-d
wrote:
> > Clearly I am biased, but I like internal DSLs on dynamic 
> > languages for
> > build specification.
> 
> What are DSLs?  Link?

Technically it is a Domain Specific Language, but the whole thing is
really complicated since anyone who writes any functions or classes is
creating a DSL – it is really just the notion of creating abstraction:
tokens forming a language of discourse.

Internal vs external DSL: internal means a language constructed using
the symbols of the base language and not requiring a compiler, cf.
Boost.Spirit, anything written in a dynamic language. External DSL are
those requiring some form of compilation, cf. Make. Basically internal
DSL scripts are executed whereas external DSL scripts must be parsed.

In the context, Python can support an internal DSL for build, cf. SCons,
Waf. Groovy can support an internal DSL for build, cf. Gant, Gradle.

http://en.wikipedia.org/wiki/Domain-specific_language is not entirely
wrong ;-)

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[email protected]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to