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

> 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.



I 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.


That's more or less obvious, and even has prior art by Java father James Gosling in the Ace preprocessor:

https://swtch.com/gosling89ace.pdf

Well, minus the "using Lisp" part.




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: