NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
DSLs: Language or Dialect (Score:1)
Reply to This
Re: (Score:1)
That’s an amalgamation of the point made by Piers Cawley [bofh.org.uk] and some by Ovid [perl.org].
I think this is a discussion with lots of distinctions without a difference. It’s like we’re trying to define what pornography is.
Re: (Score:1)
Obviously it can't be that, or you could write DSLs in Perl, which Cosine suggested is impossible.
My main objection is that the whole mad-foaming rush to drool over three little letters so overshadows much more interesting discussions, such as:
Re: (Score:1)
> host language as an escape hatch; why not take advantage of that?"
One of the nicer things about Module::Install (lets ignore the whole fundament disagreement over the concept for a moment) is the nice little DSL (\o/ yay \o/) it uses, and the fact you CAN mix the regular language in with it.
use inc::Module::Install;
name 'foo';
all_from 'lib/foo.pm';
requires 'Bar' => 1.01;
build_requires 'Test::More' => 0.42;
if ( $ENV
Re: (Score:1)
It's as much a DSL as any other API where you leave off parentheses. In my book, that's a "no".
Re: (Score:1)
Almost: it’s not Ruby.
Re: (Score:1)
Re: (Score:1)
Obfuscated…?
Re: (Score:1)