logoalt Hacker News

rixedlast Wednesday at 5:27 AM4 repliesview on HN

Now that the native ocaml repl has landed, can't we just slap a s-expression syntax on top of ocaml and call it a day? We would have homoiconicity and the macros that go with it, and still could call "(compile `some-code)". Isn't that enough?


Replies

gwerbintoday at 12:17 AM

I'd love that. The janky OCaml syntax is my least favorite part of the language.

aidenn0today at 6:01 AM

Aside from the fact that slapping an s-expression syntax on top of a language typically leaves you with a fairly crappy Lisp, that would also lack the excellent Common Lisp interop that Coalton has.

show 1 reply
wryoakyesterday at 11:33 PM

Nothing will ever be enough, for all interpretations of the statement, reveling in all the irony, pathos, and prideful triumph that could possibly be extracted from such interpretations from here to eternity

Humans will keep inventing and remixing

show 1 reply
lindigtoday at 10:17 AM

> native ocaml repl has landed

What does this refer to? Most people use the OCaml `utop` REPL which isn't okay for some printf debugging but nowhere near what a Lisp could do.