Re: Need a compelling argument to use Django instead of Rails



Jaroslaw Zabiello wrote:
On Wed, 26 Jul 2006 18:23:22 +0200, Bruno Desthuilliers wrote:


Care to write an external DSL in Ruby ?

?

I mean : write a parser and interpreter for a DSL. In Ruby.


I see. Nope. I do not like code generators.

I'm not talking about "code generators", I'm talking about implementing
a language with another language.

In this sense every template
system is DSL.

Indeed.

E.g. Smarty Templates for PHP. You can create "external DSL"
even in C or assembler.

Indeed.

This is not the point. The point is Ruby is much
better suited to create internal DSL than Python

Care to back your claim ? Or are you just parroting what you read from
some clueless guy more concerned with hype and buzz than with reality ?

or PHP.

Please compare what is comparable.

--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb@xxxxxxxxxxx'.split('@')])"
.



Relevant Pages

  • implementing a domain specific language - fit and expectations
    ... i used to work on team that wrote flight scheduling optimization ... optimization problem in our setting. ... a domain specific language fits nicely. ... and the dsl could let them play with different attempts at solving the ...
    (comp.lang.scheme)
  • Re: ruby and DSL
    ... Specific Language) implementation in ruby? ... Object by rSpec. ... DSL, but several. ...
    (comp.lang.ruby)
  • Re: static class inheritance, generalized
    ... Jon Skeet [C# MVP] wrote: ... any math method likely will be in Math, ... In a procedural language, one wouldn't use 'Copy'. ... That same DSL ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: LISP diploma project idea
    ... rather than solving problems in general-purpose programming languages, ... The paper offers nothing higher level than a "Collection DSL". ... The man knows nothing of Lisp. ... to the language, it becomes increasingly difficult to add ...
    (comp.lang.lisp)
  • Re: static class inheritance, generalized
    ... Sure, though if the language has the construct of static methods, the ... That same DSL ... write ruby code and java code and let them interoperate on eachother: ...
    (microsoft.public.dotnet.languages.csharp)