Hacker News new | ask | show | jobs
by sansnomme 2360 days ago
Not a lot of options if you don't want curly braces.
1 comments

Clojure, Haskell, Nim, Python, and I think you could even write JavaScript without using curly braces.
Other than Haskell and Nim, the rest are hardly compiled to machine code.
Well C can be used without those:

   #define BEGIN {
Haha.

To me BASIC syntax always looks like a clunky version of C syntax and the pre-processor code you wrote is just what I have in mind when seeing this.

It always feels like someone wanted to do ML syntax, but didn't go all the way with it.

There are a few Schemes that can compile to C or machine code.
OCaml, maybe?