Basically, I personally find Lisp hard to read because all parentheses appear the same way, even though the semantic importance of said parentheses are not always equal. If there's a principled way to make parentheses optional but useful and correct when present, that could be really neat.
Comments
Displaying 0 of 1 comments
samir, hibernating
@xgranade I once started working on a Lisp preprocessor that let you write in indented (Python-ish) style, and compiled to parentheses. You could still use the parentheses yourself if you like.
Didn’t get too far but I still think it’s a decent idea.
Is that also kind of what you’re describing, or am I missing something?
I can see an alternative approach that would use knowledge of the symbols to decide what to do, but that would require types, and likely preclude variable arguments.
Likes: 0
Replies: 0
Boosts: 0