Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
An indentation way to Lisp(based on Cirru) (github.com/calcit-lang)
7 points by jiyinyiyong on Dec 8, 2020 | hide | past | favorite | 4 comments


There is also sweet expressions[0].

[0]: https://dwheeler.com/readable/


Came to post exactly this. The OP is a rediscovery of the fact that Lisp parenthesization can, in some cases, be expressed via indentation - and that indentation is in fact crucial to reading Lisp code.

When reading Lisp, I never count parens, my editor does that for me; same with indenting my code, my editor solves the issue for me based on the structure of parentheses from the previous point. This allows me to focus on the meaning of a given Lisp form rather than on how it's formatted or structured.


Congrats. You are the 10,000 person to try to rewrite Lisp syntax. Like all of those who failed before you, you've missed the point.


The pliant language (http://www.fullpliant.org/) by Hubert Tonneau has been using indented Lisp for some time.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: