News for hackers. Stuff that matters.
Re:Lisp is Too Powerful by billrobertson42 on Saturday December 24, 2011 @10:32AM (#3389031)
C/C++ can be taken to extremes with preprocessor abuse. If you've never looked at the obfuscated C programming contests, then you should. As far as Scala DSL's go, didn't somebody post one the other day that made an ascii art picture of a Christmas tree into a valid scale program? Isn't there also a Scala DSL that lets you make it look like basic?

Sure, there are languages that don't let you get at the meta, but just because the ones that let you do can be abused does not invalidate the usefulness of the notion.

Re:Lisp is Too Powerful by tikhonj on Saturday December 24, 2011 @06:01PM (#3389952)
I don't know about Scala, but somebody did embed basic into Haskell: http://hackage.haskell.org/packages/archive/BASIC/0.1.5.0/do...

However, it's at least partly taking advantage of the fact that normal Haskell actually looks (in shape, anyhow) vaguely like basic as is. At the very least, Haskell doesn't force you to use parenthesis or braces everywhere.

Here's an example: http://augustss.blogspot.com/2009/02/is-haskell-fast-lets-do...

Re:Lisp is Too Powerful by draegtun on Sunday December 25, 2011 @06:53AM (#3390895)
> Isn't there also a Scala DSL that lets you make it look like basic?

Yep, it's called Baysick - https://github.com/fogus/baysick

Re:Lisp is Too Powerful by vorg on Saturday December 24, 2011 @11:40PM (#3390448)
Someone also wrote a Groovy DSL to read Java bytecodes and translate them into Groovy AST nodes, so they could eventually become Java bytecodes.