4 ms·
For example, lisp has no built-in infix syntax I wrote one: https://github.com/shawwn/lumen/blob/6aa017cfd90fba381b6ea1dd23136f6b88c8fdbc/runtime.l#L56-L68 htt
by shawn 9y ago
For example, lisp has no built-in infix syntax
I wrote one: https://github.com/shawwn/lumen/blob/6aa017cfd90fba381b6ea1dd23136f6b88c8fdbc/runtime.l#L56-L68 https://github.com/shawwn/lumen/blob/6aa017cfd90fba381b6ea1d...
https://github.com/shawwn/lumen/blob/6aa017cfd90fba381b6ea1dd23136f6b88c8fdbc/main.l#L16-L35 https://github.com/shawwn/lumen/blob/6aa017cfd90fba381b6ea1d...
It's an experimental feature, but it seems to work fine with no ambiguities. It also has "x = 42" for implicit local variables, rather than "(let x 42 ...)"
What do you think of it? Is it much more readable? I'm still debating whether to keep it.