If there were Lisp-style Macros available, that would beat the pants off the C Preprocessor for boilerplate.
I thought silly parentheses are just as easy to parse as in an imperative language like C. Are you referring to the Polish prefix form being easy to parse?
I should have explained myself more clearly, I thought that the operator appearing at the beginning of the list means that operator precedence is no longer relevant. With infix operators the precedence is important.
What actually makes lisps easy to parse is a near complete absence of syntax; particularly structures/constructs that require considerable effort to disambiguate.
[0]: https://bitbucket.org/ktg/l/src/cb93b589c03ec1e39007c1907deb...
I find the L++ version to be very way more elegant.
Edit: More examples... https://bitbucket.org/ktg/l/src/cb93b589c03ec1e39007c1907deb...
int main()
{
for (int i = 99; i--;) {
std::cout << i << " bottles of beer on the wall, " << i << " bottles of beer.\n"
<< "Take one down, pass it around, " << i << " bottle of beer on the wall.";
}
}
is basically the same thing as the L++ version, with a few added bitshift operators.In fact it uses Racket behind the scenes which might open the door to use regular Lisp features.
"The golden rule of CoffeeScript is: 'It's just JavaScript'"