←back to thread

366 points nils-m-holm | 2 comments | | HN request time: 0.586s | source
Show context
nils-m-holm ◴[] No.45037420[source]
Second edition, with a new chapter on lambda calculus.
replies(1): >>45067854 #
gritzko ◴[] No.45067854[source]
Thanks. I recently had to reinvent LISP to script my CRDT database. That was not much work, because I already had the notation (I use RDX, a JSON superset with CRDT types). Still, I stumbled at the idiosyncratic LISP bracketing. Luckily, RDX allows for different tuple notations. So, I styled it to look less alien to a curly-braced developer. Like this https://github.com/gritzko/go-rdx/blob/main/test/13-getput.j...

For example, print change-dir make-dir; is equivalent to (print (change-dir (make-dir) ) ) in the old money. I wonder if I am reinventing too much here.

Did LISPers try to get rid of the brackets in the past?

replies(6): >>45068004 #>>45068097 #>>45068164 #>>45068705 #>>45069136 #>>45069145 #
bryanlarsen ◴[] No.45068164[source]
Many times. A google for "sweet expressions lisp" will give you a bunch of implementations and opinions.
replies(1): >>45068246 #
1. gritzko ◴[] No.45068246[source]
Aha, thanks https://dwheeler.com/readable/
replies(1): >>45069187 #
2. lanstin ◴[] No.45069187[source]
I laughed at this one: I have more faith that you could convince the world to use esperanto than [to use] prefix notation. - Paul Prescod

Thanks.