<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Worth some comments.<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">Am 30.03.2017 um 13:10 schrieb Dimitri Simos <<a href="mailto:dim@lissys.demon.co.uk" class="">dim@lissys.demon.co.uk</a>>:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hmm.<br class=""><br class="">Must be my first Lisp post in a decade or two. Oh well, here goes:<br class=""><br class="">I am 60 and all my life’s work and all my earnings have come from an Aeronautical thing called Piano.<br class=""><br class="">I wrote Piano in Coral CCL in the late 80s / early 90s.<br class=""><br class="">I had a PhD in Aeronautics, no qualifications in programming, and I taught myself CCL/MCL.<br class=""><br class="">It was the most satisfying intellectual experience I ever had.<br class=""><br class="">I learned MCL because it let me do every simple thing that I needed to. Write up my aero equations, make a few simple windows with buttons and menus and dialogs, build up my own crude line-drawing graphics.<br class=""></div></div></blockquote><div><br class=""></div><div>MCL had a certain simplicity and elegance. Especially the original version with Object Lisp (yeah, I'm also that old) ;-)</div><br class=""><blockquote type="cite" class=""><div class=""><div class="">Then Lispers seemed to give up on non-programmers that might dare like Lisp.<br class=""></div></div></blockquote><div><br class=""></div><div>It's especially hard making things simple in a good way, making it good looking and robust for non-computer-science people.</div><div>Well written manual, good example code, lots of source code for the IDE and a community sharing knowledge was a part of the recipe for success. That's hard work. Apple as a user/developer and later as a vendor was also of some help.</div><div><br class=""></div><div>Later generations did not have that much interest in elegant desktop applications and reaching average users. They were spoiled by web interfaces and administration of their home Linux system (I do that too). </div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><< insert a couple of decades of Brexit-level strategic suicides and own goals in the world of computers and software >><br class=""><br class="">Piano nearly died when MCL died. It was saved by Edi and Gail who helped me port it to LispWorks.<br class=""><br class="">LW is phenomenal. It is an immensely powerful tour de force in Lisp, and it allowed Piano to thrive again. Thanks guys. You are pure magic.<br class=""><br class="">But there is no chance of handling GUI stuff on my own any longer.<br class=""></div></div></blockquote><div><br class=""></div><div>One can learn it, but I agree that it is quite a bit more complex.</div><div><br class=""></div><div>Here is an older CAPI cookbook, which targets people like you/me - coming from MCL: <a href="http://capi.plasticki.com" class="">http://capi.plasticki.com</a></div><div><br class=""></div><blockquote type="cite" class=""><div class=""><div class="">So I could never re-create Piano today alone, even if I was in my 30s again.</div></div></blockquote><blockquote type="cite" class=""><div class=""><div class=""><br class="">If a non-programmer starts on LW today, he has no obvious way around an impenetrable barrier of pictographic or cuneiform editors debuggers steppers tracers browsers inspectors object orientated stuff threading stuff and error handling stuff. He is DOA.<br class=""></div></div></blockquote><div><br class=""></div>There is a hurdle, but I still think it is the best option one currently has for portable GUI programming in Common Lisp.<br class=""><br class=""><blockquote type="cite" class=""><div class=""><div class="">If a non-programmer starts on CCL today, he doesn’t even have a Lisp. Not unless he’s willing to build it himself through a litany of deeply specialist procedures. He can kind of download something from Apple, but gets no ready-to-go GUI without the same litany. He’s DOA.<br class=""></div></div></blockquote><div><br class=""></div><div>There would be two main ways to program a GUI-heavy application in CCL: use the CCL supplied toolkit, possibly with extensions. Or use the Apple Interface Builder for GUI design and start from there. Both is possible. For both there are examples and tutorials. But to make it into a 'product', like MCL was a product, would be still a bit effort and without sponsors and user one does not magically get there.</div><br class=""><blockquote type="cite" class=""><div class=""><div class="">Is it genuinely impossible to have a Lisp that starts with a double-click and offers an elementary set of GUI elements (crude ones, but expandable after getting some expertise), just good enough to get a non-programmer started without intimidating him to death with 100 acronyms and libraries that he has to google and download and master and load before he gets started?<br class=""></div></div></blockquote><div><br class=""></div><div>CCL is not far away from being able to provide that. But, again, it would need quite a bit polishing.</div><div>It is definitely possible to write GUI-heavy applications for non-computer science users.</div><div>See <a href="https://opusmodus.com" class="">https://opusmodus.com</a> , which is a CCL application for the Mac. Basically it is a Lisp programming environment for composers.</div><br class=""><blockquote type="cite" class=""><div class=""><div class="">MCL did it. Was it written by Aliens?</div></div></blockquote><div><br class=""></div><div>I think we all agree that it was a really cool experience.</div><br class=""><blockquote type="cite" class=""><div class=""><div class="">It seems to me that LW COULD do it. Everything is already there. It is a question of hiding features and simplifying editing, not implementing new gizmos.<br class=""></div></div></blockquote><div><br class=""></div><div>LW does things MCL didn't provide: it is cross platform and it is possible to write a lot of portable GUI stuff in Lisp, without calling to much platform stuff. This brings some restrictions and though LW comes with lots of examples, it does not come with the GUI code: thus one has to learn from the examples and the documentation - but one can't learn from the implementation code.</div><div><br class=""></div><div>One of the problems of some interesting MCL applications was that they were littered with Macintosh toolbox calls and the MCL GUI library was very 'native'. When the Macintosh toolbox died (nowadays it's Cocoa), these applications were basically non-portable, not even to the new Macintosh toolkit. Thus MCL users did not have an easy path to new/other platforms. Now, some of the Lisp side can be recreated in CCL (windows, buttons, dialogs, etc.).</div><br class=""><blockquote type="cite" class=""><div class=""><div class="">To all of you, to all my Lisper friends: I genuinely admire and respect you, I idolise and adore you. You are the bee’s knees, and so is Lisp. Now, for ----’s sake, stop being bloody programmers and think of what a scientist or engineer or anyone who CAN understand the basic logical concepts of Lisp might need, to GET STARTED. Maybe start the guide with examples. It may work wonders.<br class=""></div></div></blockquote><div><br class=""></div><div>food for thought.</div><div><br class=""></div><div>Regards,</div><div><br class=""></div><div>Rainer</div><div><br class=""></div><div><br class=""></div><blockquote type="cite" class=""><div class=""><div class=""><br class="">All the best,<br class=""><br class="">Dimitri<br class=""><br class=""><br class=""><br class=""><br class="">On 30/03/2017 01:34, Laughing Water wrote:<br class=""><blockquote type="cite" class="">I’m embarrassed to ask, but I have failed to figure out how to successfully execute PROMPT-FOR-FILE. This is on Mac OS X 10.11.6 and using a freshly-downloaded CCL 1.11-store-r16714 from the App Store.<br class=""><br class="">? (in-package :hi)<br class="">#<Package "HI"><br class="">? (prompt-for-file)<br class=""><blockquote type="cite" class="">Error: There is no applicable method for the generic function:<br class=""> #<STANDARD-GENERIC-FUNCTION HEMLOCK-ECHO-AREA-BUFFER #x30200094AAAF><br class=""> when called with arguments:<br class=""> (NIL)<br class="">While executing: #<CCL::STANDARD-KERNEL-METHOD NO-APPLICABLE-METHOD (T)>, in process Listener(4).<br class=""></blockquote>I first laid my hands on MCL in 1990, have used LispWorks for over 10 years and wanted to try running some of my code in CCL. I was hoping for some instant gratification with a small piece of programming, but no success after an hour or more poring through documentation.<br class=""><br class="">Laughing Water<br class="">_______________________________________________<br class="">Openmcl-devel mailing list<br class=""><a href="mailto:Openmcl-devel@clozure.com" class="">Openmcl-devel@clozure.com</a><br class="">https://lists.clozure.com/mailman/listinfo/openmcl-devel<br class=""></blockquote><br class="">-- <br class=""><br class="">Dimitri Simos Lissys Ltd <a href="http://www.piano.aero" class="">http://www.piano.aero</a><br class="">_______________________________________________________________<br class=""><br class="">_______________________________________________<br class="">Openmcl-devel mailing list<br class=""><a href="mailto:Openmcl-devel@clozure.com" class="">Openmcl-devel@clozure.com</a><br class="">https://lists.clozure.com/mailman/listinfo/openmcl-devel<br class=""></div></div></blockquote></div><br class=""></div></body></html>