Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I just want a programming language (probably a Lisp) where every thing is on a separate line, every sub-thing is indented and there is no choice (there always is only one right way to write something).

E.g.

    println(greetings(users))
should always be

    println
        greetings
            users


I started my toy language with this idea, but it quickly becomes unreadable, so I chose to support both notations.

https://github.com/jen-Ya/tab

Here is a Fibonacci example:

  fn fibo x
   if (< x 2) 1
    +
     fibo (- x 1)
     fibo (- x 2


That's XML without the angle brackets




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: