4 ms·
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
by aidenn0 5mo ago
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.
- gwerbin 5mo agoOCaml is a better candidate than most. It already has a macro system (PPX), and the core language has a lot in common with Scheme.
- rixed 5mo agoThe PPX macro system is far from perfect, that's the whole point of this idea: with the native REPL + an s-expression syntax, you have lisp-like macros for free.
- classified 5mo agoS-expressions are more than mere syntax. Lists in OCaml can only have a single element type, so you would need something different for s-expressions.