News for hackers. Stuff that matters.
Re:Do you have a problem? Write a compiler by lidHanteyk on Thursday October 03, 2019 @11:12AM (#21147952)
Oleg has worked in other non-Lisp languages, notably members of the ML family. I know that you want to be all pro-Lisp and such, but it's just another family of languages, really; there's nothing magical or special about them. All compilers use an anamorphic parser, a hylomorphic reducer, a paramorphic optimizer, and a katamorphic instruction selector.

It's not about what the language provides, but about what the language doesn't require. Lisps can be low-ceremony, but they're not the only ones. Trees might be universal data structures, but they're not the only ones.

Re:Do you have a problem? Write a compiler by TeMPOraL on Thursday October 03, 2019 @11:58AM (#21148482)
I'm not saying Lisps are unique in this regard, but I am saying that complaints that I see in today's HN discussion most likely stem from lack of exposure to that kind of programming. In the mainstream world, "language" and "compiler" are products. In Lisp world, they're no different than functions and classes.

Out of language families providing this level of capability, Lisps are probably closest to mainstream, and that's because of Clojure.

Re:Do you have a problem? Write a compiler by lidHanteyk on Thursday October 03, 2019 @07:35PM (#21153381)
In the mainstream world, we study a single category of types and logic at a time. There is an ∞-category Tomb whose objects are languages and arrows are compilers; we don't talk about it much. Lisp is certainly not somehow an arena where we transcend computing concepts; it's a lightweight syntax for untyped lambda calculus, at best. A single topos, not the entire multiverse of topoi.

I could restate your entire argument for ANS FORTH and I'm not sure whether it would lose anything. That should clue you into the idea that your argument is really about the age of the language family, and the corresponding maturity of philosophy and reasoning around members of the family.

The only thing that Lisp makes easy is the parser, by dint of reusing the host Lisp's s-expression reader. The most trivial and surface-level part of a compiler, really.

Re:Do you have a problem? Write a compiler by jimbokun on Thursday October 03, 2019 @01:24PM (#21149459)
"In Lisp world, they're no different than functions and classes."

Haskell may be similar in this regard, due to the popularity of parser combinators?

(Or were years ago when I last looked, don't know if they are still popular or widely used tool in that community.)

Re:Do you have a problem? Write a compiler by phadej on Thursday October 03, 2019 @07:50PM (#21153488)
Are you confusing Oleg Grenrus (OPA) and Oleg Kiselyov (http://okmij.org/ftp/)?
Re:Do you have a problem? Write a compiler by lidHanteyk on Friday October 04, 2019 @11:42AM (#21158756)
Wow. There's more than one of them. Today, I learned something. Thank you.
Re:Do you have a problem? Write a compiler by voldacar on Saturday October 05, 2019 @11:47PM (#21169705)
Hmm, does it have zygohistomorphic prepromorphisms too?