3 ms·
> This is nice, but only hardcore Lisp users prefer writing C-in-sexpr's to just writing C. I object! The choice between this and straight C isn't completely u
by tines 10y ago
> This is nice, but only hardcore Lisp users prefer writing C-in-sexpr's to just writing C.
I object! The choice between this and straight C isn't completely up to personal preference; using s-expressions gives you objectively more power because it lends itself to lisp macros, which are really the strongest reason to use any lisp at all.
- bdowling 10y agoI think he's suggesting that you could add the same functionality using lisp as a preprocessor without having to write what is objectively C semantics weapped in s-exps.
- kazinator 10y agoThat's more or less obvious, and even has prior art by Java father James Gosling in the Ace preprocessor: https://swtch.com/gosling89ace.pdf https://swtch.com/gosling89ace.pdf Well, minus the "using Lisp" part.