So, I've started learning LISP, just a bit of it, and I want to know if there's some kind of preprocessor or implementation of LISP that will allow the use of a() instead of (a), a(b) instead of (a b), etc., as well as [a], [a b], etc. as an alternate syntax (for lists). That would make it so much nicer and would be a reason not to give up because the few syntax there is totally sucks. The power of LISP is not worth it if you need to deal with ))))))))))))))))))))))))))))))))))))))))) at the end of a function, you need a parens highlighting editor to write a LISP program. I consider a decent language shouldn't require any particular editor.
Name:
Anonymous2007-01-30 20:00
I'd say LISP has no syntax only if all it did was add, subtract, multiply, and divide.
But it does have syntax, at least behind-the-scenes. It obviously has to parse something (hence THERE IS SYNTAX) when it encounters for statements, if-then-else statements, etc. Not to mention when you ' an s-expresion, which changes whether or not that s-expression is to be treated as a typical (function param_1 param_2 ... param_n) expression, or as a ('symbol_1 'symbol_2 ... 'symbol_n) expression.
Just because the syntax is very lightweight and un-burdensome to the LISP programmer, doesn't mean the syntax doesn't exist -- especially when you're trying to write a fucking interpreter (or at least understand how they work) for a LISP dialect.