6 ms·
As a lover of Lisp, I find these sorts of initiatives really depressing and frustrating. They seem to come up over and over again, where someone has the bright
by pmoriarty 7y ago
As a lover of Lisp, I find these sorts of initiatives really depressing and frustrating. They seem to come up over and over again, where someone has the bright idea to make Lisp less Lisp-like, often by getting rid of all the parenthesis and making the language more Algol-like.
But parenthesis are, for me, one of the greatest things about Lisp. They make understanding, reasoning about, editing, and manipulating the code really easy, and add a consistency to the language which I really appreciate when compared to mismash of arbitrary, inconsistent delimiters in other languages.
This leads me to adopt a "you'll have to pry my parenthesis from my cold, dead fingers" attitude when I see suggestions like these. Please, just keep Lisp Lisp.
- pjmlp 7y agoDunno, I feel that both Dylan and Julia are somehow good enough approaches. Dylan failed because Apple losed interest, if they had Swift like motivation back then, it might have turned out differently. Julia, lets see how it goes.
- ken 7y agoThis sounds like an admission that the only way a programming language survives is when a corporation decides we should use it. Given what I’ve seen in the past 25 years, I’m not sure you’re wrong.
- taeric 7y agoI think I repeat basically this every time the topic comes up. Marketing works to build a market for products, but is expensive. Yes, there are grass roots marketing that gets some languages adopted. They seem to be the exceptions proving the rule. So much of the technical chase for getting a successful language feels jarring compared to the momentum of languages that are succeeding.
- pjmlp 7y agoBecause programming languages are just software products like anything else, where the customer base are the developers. So you need an use case to keep your product on the market (programming language). Corporations are the ones with deep enough pockets to push those use cases, even if initally they don't caught on. For example, if Dart was a FOSS project it would have died by now, instead Google can keep throwing money at Flutter until Dart actually picks up.
- aidenn0 7y agoProgramming languages have large network effects, so just being able to throw a lot of developers at a language has a major effect.
- Riverheart 7y agoI don't think people already on the lisp boat are the target audience of these things.
- cuspycode 7y agoAgreed. And the phenomenon is not exactly new. I played around with CGOL about 35 years ago, and although I was already a fan of s-expression syntax, I still thought CGOL was great for certain applications. It's cool to see Vaughan Pratt (who designed CGOL in 1973) in the bibliography of this article. S-expression syntax seems to be very divisive. Every time I have introduced that syntax into various projects (since it's such an easy and clear solution for domain-specific languages) for the past couple of decades, I have met resistance because so many people are repelled by all those parentheses.
- wtetzner 7y agoThe title of the Hacker News post ("Honu: Lisp with Algol Syntax") is misleading. The real title of the paper is "Honu: Syntactic Extension for Algebraic Notation through Enforestation". It's a paper showing how to implement syntax-case in a language with infix notation.
- dang 7y agoWe've changed the title from "Honu: Lisp with Algol Syntax", in accordance with the site guidelines. https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html
- hencq 7y agoI would agree, I love the structure s-expressions bring, especially using smartparens in Emacs. At the same time I really enjoy some of the deviations from pure s-expressions that Clojure has made (like hash literals, using vectors for function arguments, using position instead of parentheses in binding forms). This suggests to me that there might be a sweet spot between Algol and s-expressions. I'm quite interested to see where the whole Racket 2 thing goes in that regard. For example, the examples here all look quite clean to me: https://github.com/mflatt/rhombus-brainstorming/blob/shrubbery/shrubbery/0000-shrubbery.md https://github.com/mflatt/rhombus-brainstorming/blob/shrubbe...
- tombert 7y agoI feel like Clojure's deviation from S expression still somewhat follows the spirit of Lisp at least; the first-class hashes and vectors still correspond to native data structures and as a result, the syntax reflects that. In some ways, I feel like Clojure's embrace of this almost follows the Lisp formula better than something like, for example, Chicken Scheme, which by default does scheme-style hashes that don't correspond directly to syntax.
- jlarocco 7y agoI've also grown to love s-expressions, but even Common Lisp deviates from pure s-expressions in places ( #( ... ) array syntax, for example), and the mechanism is customizable via reader macros. Some examples: https://gist.github.com/chaitanyagupta/9324402 https://gist.github.com/chaitanyagupta/9324402 https://lisp-lang.org/wiki/article/reader-macros https://lisp-lang.org/wiki/article/reader-macros
- yiyus 7y agoThey may be depressing and frustrating, but I think they are necessary. They answer a "what-if" that most people learning Lisp will ask themselves at some point. Eg: I was never into the Lisp usage of parents until I saw some of the alternatives (I still prefer M-expressions though, but that's just personal taste).
- jonathanstrange 7y agoThe funny thing is that I'd even prefer s-expressions for a "static" language with tons of compile-time zero-cost abstractions. Having to remember less syntax allows me to focus on the semantics, which is what matters to me.
- brudgers 7y agoCo-author Mathew Flatt is part of Racket's core team. Racket is a language development platform. Honu is written in Racket. https://github.com/racket/honu/tree/master https://github.com/racket/honu/tree/master Honu isn't a Lisp replacement. It's an academic research product.
- nikofeyn 7y agoi think it's more than just an academic research product. all of these efforts and more are the core racket team looking into replacing racket's syntax, in particular its parenthetical syntax. they have explicitly stated that they want to and will do so. so honu isn't a lisp replacement, but it is one evolution and inspiration for getting rid of the lispy syntax of racket.
- DonaldPShimoda 7y agoHonu is from 2012. Its primary purpose at the time was to explore syntactic macros in languages with infix expressions. It was not explicitly about identifying alternatives for Racket's future development, as far as I've been made aware. (I've talked about this paper with Matthew before.) It's also worth pointing out that Racket isn't going anywhere; it will always have parenthetical syntax. The future project being worked on is now called Rhombus to disambiguate it from Racket's past. Racket will not be replaced by Rhombus.
- xj9 7y agoyou don't remember M-expressions? >S-expressions were originally intended only for data to be manipulated by M-expressions, but the first implementation of Lisp was an interpreter of S-expression encodings of M-expressions, and Lisp programmers soon became accustomed to using S-expressions for both code and data. — https://en.wikipedia.org/wiki/S-expression#Use_in_Lisp https://en.wikipedia.org/wiki/S-expression#Use_in_Lisp now, i won't say that i don't enjoy S-expressions, because i do. i do think there is some value in creating ..less intimidating front-ends to lisp-fam languages. one of the things that i love about racket is their focus on alternative syntax. i love that. everyone knows that lisp is capable of creating new syntax, but most of the time that ability is not used to its fullest extent. some standardization is needed, but it would be really cool to have a way to create compilers for arbitrary languages using advanced syntax macros. especially if the lisp representation is callable from other lisp programs AND other languages. JVM and BEAM have this, why not lisp? personally i'm very interested in creating an elm compiler using chicken scheme. it is a little bit outside of the C-like comfort zone, but it is made to be very beginner friendly which i appreciate.
- setholopolus 7y ago> it would be really cool to have a way to create compilers for arbitrary languages using advanced syntax macros. especially if the lisp representation is callable from other lisp programs AND other languages You are perfectly describing Racket here.
- xj9 7y agooh yeah i'm a big fan of racket. i'd prefer something that's AOT, but maybe i can make an AOT racket :thinking: