6 ms·
Common Lisp Standard Draft
- rogerb 9y agonice. whenever i am in between jobs, and are plotting the next thing to do - i turn to lisp :|
- jlarocco 9y agoI'm downloading and may use this, but I've actually come to like the hyperspec. It was overwhelming at first, and the formatting isn't great, but I got used to it, and can actually find things pretty quick now. My biggest complaint would be the lack of examples. I also don't know if I'd call $60 for the official spec expensive, but the fact it's a scan is inexcusable.
- michaelmrose 9y agoWhen plenty of other languages have zero cost associated ANY cost is too much unless you want people to read about and adopt alternative choices in the time required for someone to justify the company making a purchase.
- pubby 9y agoI think you're misunderstanding the point and confusing standards with documentation. Standards are for one very narrow group of people: compiler writers. If you're not a compiler writer, you have zero reason to buy the official standard document. And if you are a compiler writer, well, it would be very bizarre to choose your target language based on the price of its spec! Please note that the final draft of the standard is published for free on that website.
- michaelmrose 9y agoThis assumes that nobody ever wants to drill down to figure out why their app doesn't work. Its similar to imagining nobody who uses an app could ever benefit from having access to the source.
- mycl 9y agoISO Prolog (ISO/IEC 13211) doesn't have a free standard and it has hurt the Prolog language immeasurably. In this case the last freely available draft is quite different from the final standard, which makes the situation worse because not everyone is aware of this. I have noticed a lot of Prolog programmers don't know what's in the standard and what's not - you routinely see answers given on SO that are implementation dependent when they could easily have been expressed in strictly conforming ISO Prolog. Of course, you can get pirated versions of ISO/IEC 13211-1 and 13211-2 but even saying these exist probably makes me complicit in piracy, let alone suggesting they should be widely shared in the Prolog community. The 3 technical corrigenda that update 13211-1 are freely available[0], or at least ISO allows you to "Preview" the whole document in each case. [0] https://www.iso.org/standard/21413.html https://www.iso.org/standard/21413.html
- lispm 9y agoInteresting. Fortunately for ANSI CL the last freely available draft is language-technically not different from the published standard. It's definitely also useful to have standards documentation lookup integrated into an IDE - which I use a lot for CL. Especially since there are versions in different formats (TeX, HTML, Info files, PDF, ...)
- stonemetal 9y agoI would put that on the implementations not following the standard rather than the availability of the standard. How many C# devs out there have read their ISO standard?
- setr 9y agonot sure about Prolog, but afaik compiler writers are usually very good about following the standards (and they reference the standards consistently when discussing (potentially) semantic bugs). In general I think its safe to trust that any given compiler (tries to) follows the standards strictly; and then implement extensions on top. And extensions are fine. They might be syntactic sugar, or specific hacks, or strange DSLs or whatever. Convenient, if you know you're targetting a single compiler. But you can still write standards-compliant code, when necessary. But if the compiler doesn't make it explicitly clear, and the standards aren't easily available, then you now have people using extensions without realizing it, and if you tell them you're using an extension, there's nowhere to point to as proof. If you're trying to write code successfully against two different compilers, and get different results, there's nowhere to point to to show that compiler A has the incorrect response. Instead you file against both and assume they have access to the standard. Also afaik C# only really runs against a single compiler (mono, i think?), doesn't it? So it makes sense that community doesn't bother with the standard; you're not writing cross-compiler-compatible code, so whatever works on mono is the standard (in practice). The same is true for python, ruby, haskell, etc. There's practically only one compiler in existence (that you care about); those implementations are the standard, regardless of any ISO standard. But you look at the C and C++ community, and half the SO answers directly reference the standard, despite presumably being mere "users" of the language. Because when many compiler implementations exist (and used), then extensions are much less viable, and the standards are extremely important And afaik, CL is one of those languages with multiple major compilers, and thus an easily available standard is important.
- jlarocco 9y agoMeh. It makes no difference to me which languages other people use. I was merely pointing out that not everybody finds the CLHS unusable.
- rbanffy 9y agoLisp suffers a bit from being too early to the party. When someone wants to learn a new programming language (one that's not literally a new one), there is usually a single obvious canonical implementation (most likely already available on all Unix-like machines) hosted on [language].org, with a set of documents that describe it. Lisp is (and many other pioneering languages are) no such beast. Lisp.org is McCarty's page (peace be upon Him) and my Linux laptop has about half a dozen dialects of Lisp: Emacs Lisp one or two CL's, Guile, Clojure and Scheme. I love it, but it wasn't easy to start.
- hydandata 9y agoCommon Lisp UltraSpec [0][1] is another awesome resource [0] http://phoe.tymoon.eu/clus/doku.php http://phoe.tymoon.eu/clus/doku.php [1] https://github.com/UltraSpec https://github.com/UltraSpec
- aidenn0 9y agoAnd the Ultraspec is generated from the same tex sources as the PDFs in TFA. The HyperSpec is copyrighted with a license that only permits distribution if not modified, so it cannot be used as a basis for an improved version.
- TurboHaskal 9y agoI got excited for a moment and thought there's a new revision in the works.
- ghettoimp 9y agoMe too. It’s too bad how stale the language has gotten.
- peatmoss 9y agoI think for people who want to be able to have a bit of lisp into their daily lives, Clojure is where the majority of the current industry-focused mindshare is going. At least as far as new development of language features is concerned. For people who are less industry focused, and more interested in the evolution of lisp from a CS perspective, Racket has gobbled up that mindshare. Common Lisp, in spite of its strengths, multiple standard implementations, and historical pedigree, seems at risk of fading more if there isn't some new lifeblood injected. The problem if I understand it, is that the Common Lisp spec is so gigantic, and was itself the product of a tenuous truce between many warring tribes of lisps long forgotten. I wonder how possible a new spec even is?
- lispm 9y ago> The problem if I understand it, is that the Common Lisp spec is so gigantic, and was itself the product of a tenuous truce between many warring tribes of lisps long forgotten Seems you understand it wrong. Common Lisp is a mainline Lisp, based on a direct line of specific Lisp heritage. Technically Common Lisp is mainly a modernized/standardized/portable version of Lisp Machine Lisp (aka Zetalisp). Clojure OTOH is fully incompatible with any previous identified Lisp dialect, so it is dubious to call it a Lisp.
- peatmoss 9y ago> Seems you understand it wrong. Common Lisp is a mainline Lisp, based on a direct line of specific Lisp heritage. Technically Common Lisp is mainly a modernized/standardized/portable version of Lisp Machine Lisp (aka Zetalisp). Sure, I’m not intimately familiar with the lisps that Common Lisp drew from to be able to say what percentage was drawn from where. On the other hand, primary source material collected here (http://www.cs.cmu.edu/afs/cs/project/ai-repository/ai/lang/lisp/doc/history/cl.txt http://www.cs.cmu.edu/afs/cs/project/ai-repository/ai/lang/l...) would seem to suggest that CL at least considered the need to balance considerations of differing lisp communities of the time. > Clojure OTOH is fully incompatible with any previous identified Lisp dialect, so it is dubious to call it a Lisp. Eh, you’re certainly more expert on lisps than I am, but I have to say that the argument that Clojure isn’t a lisp because it’s not literally compatible with prior lisps seems petty to me. It looks like lisp, acts like lisp, and is commonly understood to be a dialect of lisp. Until the Grand Governing Body of Lisp Certifiers meets and declares Clojure not-a-lisp, I’ll continue being entirely not-dubious about its status as such.