7 ms·
PicoLisp
- nudpiedo 4y agoPicoLisp it’s decades old and never awoke so much interest… it has nothing inherently wrong with it and offered quite handy solutions to many common issues. I wonder why never got many fans in spite of the strong tries from its author to promote it.
- sbergot 4y agoMy guess is that dynamic scoping is pretty unpopular for most use cases.
- mhd 4y agoLisp has had some pretty decent standards for years - Common Lisp and Scheme. Both with stellar books about them. And at least two or three implementation for your particular niche (well, at least once CMUCL wasn't the only game in the free CL territory). It's quite hard to get into that territory with different ideas, you'd have to provide a rather good value add for that. Even newLisp[1] didn't, and that both had various implementations and a standard. Clojure did, and not just because of the JVM (cf. ABCL/Kawa). picoLisp just never really presented itself as being particularly unique for a niche. (IIRC also didn't run on Windows) [1]: https://en.wikipedia.org/wiki/NewLISP https://en.wikipedia.org/wiki/NewLISP
- zem 4y agolush is another failed lisp that really seemed like it should have gone somewhere. like picolisp and newlisp it was dynamically scoped, though, which i'm convinced limited the number of people willing to give it a good try.
- mark_l_watson 4y ago+1 I think you are correct. Common Lisp has most of the mindshare, followed closely by Clojure and the various Scheme implementations. It is also unfortunate that picolisp can be difficult to install on macOS and Windows.
- bmacho 4y agohttps://www.tiobe.com/tiobe-index/ https://www.tiobe.com/tiobe-index/ - Lisp .40% - Scheme .20% - Closure <.17%
- mark_l_watson 4y agoWow, Lisp ranks in the top 4/1000 of use? I didn't know we were that popular :-) Seriously though, I think I like Common Lisp so much just because I have been using it since about 1982 and I am just very used to it. For a lot of work, I will just use Python if there are one or more Python libraries that solve whatever problem I am working on with just a few lines added Python code that I need to write.
- JonChesterfield 4y agoMinimalist and based on llvm is a dubious combination. If your dependency set is massive, you should probably have an extensive feature set. If your language is minimalist, it probably shouldn't depend on llvm
- artemonster 4y agoWhat a strange critique point. Do you have to pay in gold for each dependency?
- paskozdilar 4y agoI don't think it's a strange critique point - dependencies are a necessary evil, but still an evil. Minimizing dependencies is always a good thing, and I can't think of a scenario where maximizing dependencies would be desirable, given the same amount of features.
- crabbygrabby 4y agoIt's a pretty weird critique, llvm is becoming ubiquitous for these tasks. Can rattle off probably a dozen programming languages using it and no one is grousing...
- teddyh 4y agoThose programming languages are presumably not as minimal, and give features in exchange for this large dependency.
- stinkytaco 4y ago> dependencies are a necessary evil, but still an evil I'm curious about this assertation. I've also heard that "do one thing and do it well" is a desirable goal and one should offload tasks to other pieces that specialize in that task (e.g. don't write your own crypto, use existing libraries), is there something that makes a programming language different?
- freemint 4y agoPicoLisp was the first programming language i choose to study because i wanted to learn more about programming language design. It really, really embodies "Code is data and data is code" while the built-in core are just C calling conventions pointers the interpreter jumps to everything above that is neatly packed AST in memory. The no-sql database is just neatly packed binary AST stored on disk and is accessed via pointers into the database files. Nowadays i mostly do numerical work where an all interpreted language with only infinite precision integers (or fixed point numbers thinly wrapped on top) is not really suited but if i need to do a complicated automatic code generation pipeline, i just write a short picolisp script which prints the source code in the target language. The ability to execute and modify ASTs as the nested lists they are is just so convenient.
- pflanze 4y ago> picolisp script which prints the source code in the target language. The ability to execute and modify ASTs as the nested lists they are is just so convenient. I'd be interested in seeing some of your code doing this. I've done lots of Scheme and some Clojure and CL, and in my own programming style I mostly avoid using bare s-expressions to represent ASTs (I use structures/objects instead[1]) except in macros, because that is giving me less ambiguity and better error checking. I wonder whether we are working at different levels of scale, or different ways of working that make us prefer one over the other. [1] I guess it's clear what I mean--basically coding like in an object oriented language, albeit without mutation--but here's an example (definitions and use): https://github.com/pflanze/chj-schemelib/blob/master/corescheme.scm https://github.com/pflanze/chj-schemelib/blob/master/coresch... https://github.com/pflanze/chj-schemelib/blob/master/corescheme-optimize.scm https://github.com/pflanze/chj-schemelib/blob/master/coresch...
- sambeau 4y agoFor more info: https://picolisp.com/wiki/?home https://picolisp.com/wiki/?home
- ngcc_hk 4y agoCan it be incorporated into an iOS as static library for some part of the logic given it is c …
- JonChesterfield 4y agoThis one is worth a closer look for scheme / common lisp devs. It's really not the same thing. Dynamically scoped, first class environments, fexpr instead of macros. A corollary of that feature set is interpreted, not compiled. What we have as a result is simpler than scheme. The function/macro distinction is gone and the module system is first class environments. I haven't got as far as working out whether they've done away with phase separation. It's then tied into a database which seems pretty weird to me but that could totally be my limitation.