Re:Carp: a statically typed lisp, without a GC, for high per...
by pritambarhate on Wednesday July 06, 2016 @04:18AM
(#12041827)
Are all those round brackets necessary? I understand the goal is Lisp like syntax. But while reading the OpenGL sample, I found the enclosing brackets quite unintuitive. Since this is still supposed to be new language may be "statically typed Lisp with python-like blocks" will appeal to a larger audience?
[ Parent
| on HN ]
Re:Carp: a statically typed lisp, without a GC, for high per...
by chriswarbo on Wednesday July 06, 2016 @05:04AM
(#12041989)
One of the nice things about s-expressions ("all those round brackets") is that they're well suited to meta-programming.
For example, you can automatically convert back and forth between s-expressions and something else, like i-expressions http://srfi.schemers.org/srfi-49/srfi-49.html
Re:Carp: a statically typed lisp, without a GC, for high per...
by soong on Wednesday July 06, 2016 @04:45AM
(#12041929)
This sounds like a good idea at first, but i dare you to take a non trivial Lisp function and "pythonize". This instantly becomes an indentation nightmare. Lisp function calls are highly nested and rarely one per line.