Tired of having to write C++ to get decent graphics performance.
Tired of having to write C++ to get decent audio performance.
Tired of my cool dynamic web programming languages not being fast enough to do the above.
Tired of Python, Ruby, C++, C, Java, Objective-C, JavaScript having so little to offer in the way of elegant concurrency.
So I picked a Lisp because it could do more.
<div>
<span>Hello</span>
</div>
has the same (prefix) order of operators and operands as (div
(span "Hello"))
Off the top of my head, the "hiccup" package for Clojure has an 'html' function (macro?) that translates just that sort of stuff directly into htmlA tutorial about writing an HTML-generating DSL in Common Lisp: http://gigamonkeys.com/book/practical-an-html-generation-lib...
The Common Lisp HTML generation library most people actually use[0]: http://weitz.de/cl-who/
HTML generation in PLT Scheme's Continue framework: http://docs.plt-scheme.org/continue/index.html#(part._.Rende...
Arc's built-in HTML generation (powers this site): http://files.arcfn.com/doc/html.html
[0] I'm not actually certain about that, but I think it's the most popular.
which is deprecated by
hiccup - http://github.com/weavejester/hiccup
though the latter has pretty lame examples
What you're describing is just a less powerful or a less appropriate language.
If you write AI programs c++ is a blub language. How can you get anything done without macros?
If you program drivers PHP is a blub language. How can you get anything done without direct access to the hardware?
If you're doing webapps lisp is a blub language. How can you get anything done with a syntax that's so different from HTML and so difficult to read?
The whole premise of a blub language depends entirely on what you're trying to accomplish - the right tool for the right job.
Disclaimer - I'm not much of a programmer, so maybe my examples don't hold up, but you get the idea :-)