11 ms·
MakerLisp: Embedded Lisp Machine
- rrix2 8y agoI played with this thing for like a half hour at Vintage Computer Festival a few months back, it's a very cool thing. The computer packed fully in to a case built around a VGA display and usb ortholinear keyboard, and in to a shoulder bag. The "Lisp Machine" itself speaks serial in/out. The keyboard plugs in to a USB-to-Serial interface, and the screen in to a serial terminal to VGA emulator. Cool stuff, and the creator's goal of creating a machine for interactive learning with a hand-coded scheme-alike is pretty wonderful. EDIT: It looks like it went on sale two days ago and the full kit is already listed as out of stock. Hopefully they can increase stock. I've wanted one of these since I first put eyes on it.
- KirinDave 8y agoThis is exceptionally cool, but even for someone like me who has disposable income, a deep love of retrocomputing and several years of Lisp experience... it's just very expensive. For the machine, GPIO headers and USB keyboard support (really the bare minimum for interesting things) its over $300. You have to really, REALLY love offbeat baremetal lisp machines to throw down that kind of cache for a system where your USB controller is probably more robust and powerful than the entire rest of the system put together. Hell, I'm pretty sure my TV's remote control clocks faster when it's on...
- Lowkeyloki 8y agoI feel the same way. I've been watching this project for months. I really want to support it, but I don't think I'd get enough use out of it to justify the cost.
- jarcane 8y agoI must begrudgingly agree. I've spent less than that on entire actual retro computers that could emulate multiple of these in parallel.
- markshead 8y agoIf you like the idea of a small lisp machine, you should look at uLisp. Last time I priced out the components they came to somewhere in the $20 to $40 range.
- equalunique 8y agoCompare to the price of a Symbolics Lisp Machine back when they were on the market.
- KirinDave 8y agoNo. That's ridiculous. To some extent I want the fun of the retro machine without the hassle or $30k price tags of the days of old that helped inculcate that reverence in me. I can't help but compare this to the Nvidia Jetson I just bought that can run SBCL just fine, costs 1/3 as much for the entire feature kit sans laser cut Labo-style keyboard, and uh... I could actually do things with. I don't expect to get exactly the same value from a limited run retrocomputing platform, but I at least expect full transparency on the source before I buy, and an emulator so if I do make something I like and the board faults out I'm not SOL.
- lispm 8y agoHaving a computer with a much simpler (like several orders of magnitude simpler) software stack has its own appeal. Though I wouldn't buy it either, since I have already more computers which can run Lisp than I have time to. Including a Nvidia Jetson Nano and actual Symbolics machines.
- neilv 8y agoRelated impractical fun: you could fit a small Lisp (such as standard R7RS Scheme) in some PC motherboard flash chips used for the BIOS/bootstrap, using Coreboot. Maybe ThinkPad X200 or a Coreboot-friendly Chromebook.
- p_l 8y agoIn the Lisp community, there's an infamous story of a Lisp Machine made out of Nokia Communicator (the early, DOS-based model with 80186 cpu) by Timo Noko using Nokolisp. What happened was that the DOS flash image got corrupted somehow, so Noko implemented missing bits in his lisp implementation and made the phone boot directly into it. Since all the software he used was written in his Lisp, there was not much of a difference in usability :-)
- st3fan 8y agoSuper cool. But ... Not a single code example. No GitHub repo. Is there _any_ info available other than those single page PDFs with no info?
- Lowkeyloki 8y agohttps://github.com/hww/makerlisp https://github.com/hww/makerlisp
- MakerLisp 8y agoI didn't make that github repo, I don't know who did. But it's old. The most recent archive on makerlisp.com is from a few days ago. Go there if you want the most recent stuff.
- MakerLisp 8y agoThis is a snapshot of the source preview I put up just before my trip to the Bay Area Lisp & Scheme Users Group in February, before I had shipped any products. Apparently someone was just trying to help me get more exposure. I have no problem with this, the attributions and links are all correct and it is a proper snapshot. As a reading / demonstration example, to get the feel of the system, this is fine. But I update the archive on my website every few days, and that's where you can find the latest version.
- MakerLisp 8y agoThere's an archive posted on the Download page of makerlisp.com with all the source and lots of examples. And you can run the code on x86/Linux to get a feel for the system.
- MakerLisp 8y agoIn general, start from makerlisp.com to get all the info that I've made available. I have nothing on github.
- new4thaccount 8y agoI like the concept, but does anyone know why the old Z80 was chosen instead of a newer processor?
- cmrdporcupine 8y agoeZ80, not original Z80. Three stage pipeline, higher clock speed, can address 16MB of memory, available up to 50mhz clock speed. It's a neat processor.
- new4thaccount 8y agoThat sounds better, but still pretty underpowered. I suppose if you wanted something high performance, you wouldn't want to use baremetal lisp anyway and this is more for fun and experimentation so a cheap and easier to understand processor wins.
- KirinDave 8y agoThe entire project seems such that you're buying it more as a piece of art than a functional computer. It certainly would explain the price.
- deleted 8y ago[deleted]
- MakerLisp 8y agoI chose this processor because it was available for under $10.00 and had the capability of addressing at least 1 Mb of external RAM. Regardles of architecture, when I searched, there were only two processors that I could buy on Digi-Key or Mouser that had these parameters, and they were both Z80 variants ! And then, bonus, it can also run retro software. It has been an exceptionally easy and capable processor to use. And although I'd always like more performance, for the kind of of software experience I'm trying to recreate, it's plenty.
- new4thaccount 8y ago
- kristianp 8y agoAnother 'bare metal lisp' is http://www.ulisp.com/ http://www.ulisp.com/ , which has some fun demos and is supported by different hardware, 16 or 32 bit. It's also a single .ino file, e.g. [1] [1] https://github.com/technoblogy/ulisp-arm/blob/master/ulisp-arm.ino https://github.com/technoblogy/ulisp-arm/blob/master/ulisp-a...
- opnitro 8y agoJust a word of warning, I tried this right now and I'm 55% sure I just broke the arduino. Upload failed, resetting does nothing.
- bepvte 8y agoconnect reset to ground and try like that
- opnitro 8y agoI've tried that. Lights simply stay lit as if nothing's happened.
- equalunique 8y agoSounds like you may have to reset the bootloader.
- danieldk 8y agoYou could try to use another Arduino as an ISP and reflash the bootloader: https://www.arduino.cc/en/Tutorial/ArduinoISP https://www.arduino.cc/en/Tutorial/ArduinoISP
- johnsondavies 8y agoI've never heard of this happening before, and I can't even think of a way in which uploading uLisp could break an Arduino, but contact me directly (my email address is on the uLisp site) and I'll try and help you sort it out.
- verytrivial 8y agoA bit off topic, but does anyone recognise the USB keyboard shown in the photos?
- dvhh 8y agolook like a vortex CORE
- galonk 8y agoI don’t think it’s a Minivan, could be a Vortex. If you search for “split spacebar 40 keyboard” you can see similar commercial and custom boards. It’s what’s called a 40% layout (as in 40% of the keys of a standard 104 key board). To save space it doesn’t have a number row, you have to use a fn key to type numbers. It’s not ortholinear, as another poster claimed. See the Planck keyboard for an example of that. (PS If you’re the type of person who can fall down a rabbit hole for a subject with lots of lore to learn and that allows infinite customization, you should probably avoid the world of custom mechanical keyboards ;)
- uncletaco 8y agoI am that kind of person and have already spent way too much money on this. By this time next year I’ll have an atomic purple Iris with mito laser keycaps that light up on individual key presses. I’ll also have an ergo infinity with symbiosis space cadet 2 keycaps. All that I’ve built myself, hopefully without issues. The real kicker is the waiting. If delayed gratification made a noise it would sound a lot like cherry mx switches.
- MakerLisp 8y agoIt's a Vortex Core, you can buy them on Amazon or Mechanical Keyboards.
- leoc 8y agoThere were various Z80 and MOS 6502 microcomputer Lisp implementations written back in the '80s, some commercially released at the time, some readily accessible nowadays. https://www.wisdomandwonder.com/link/3787/how-small-can-a-scheme-implementation-be#comment-497 https://www.wisdomandwonder.com/link/3787/how-small-can-a-sc... https://groups.google.com/forum/#!topic/comp.lang.scheme/Z_2fxEuq4wc https://groups.google.com/forum/#!topic/comp.lang.scheme/Z_2... (There's one that I'm horribly, horribly overdue to get back to the authors about archiving on the Internet, actually. Anyone who's based in North America and happens to have the hardware and the expertise to recover data from both 5.25" and 8" floppies in some CP/M format?)
- DonHopkins 8y agoThe first Apple ][ LISP I ever played with was "MICROLISP", written in APPLESOFT BASIC, included with the Apple Software Bank Volume 3-5, published in 1978 (despite the Internet Archive listing saying it was published in 1974, which would have been impossible since the Apple ][ was launched in 1977). Text APPLESOFT BASIC source code -- It's only 201 lines! Beautiful!: http://apple.rscott.org/tools/view.htm?crc=e7d8e947136190aa&n=6 http://apple.rscott.org/tools/view.htm?crc=e7d8e947136190aa&... 60000 HOME : PRINT "MICROLISP/16-JUN-78": PRINT "COPYRIGHT 1978 APPLE COMPUTER INC" 60010 PRINT "IT WILL TAKE APPROXIMATELY 1.5 MINUTES" 60027 PRINT "TO INITIALIZE THE ARRAYS." I can't find an MP3 of the original cassette tape it was distributed on ;), so you'll have to suffer with the DSK image file: http://apple.rscott.org/tools/dldsk.htm?crc=e7d8e947136190aa http://apple.rscott.org/tools/dldsk.htm?crc=e7d8e947136190aa HN discussion of 6502 Language Implementation Approaches (dwheeler.com): https://news.ycombinator.com/item?id=18376842 https://news.ycombinator.com/item?id=18376842 https://dwheeler.com/6502/ https://dwheeler.com/6502/ Documentation from Apple Software Bank Volume 3-5: https://archive.org/details/Apple_Software_Bank_Vol_3-5/page/n15 https://archive.org/details/Apple_Software_Bank_Vol_3-5/page... Program Name: MICROLISP Volume Number: 3 Software Bank Number: 00398 Submitted By: 0le Anderson Program Language: APPLESOFT II Minimum Memory Size: 32K Bytes The following discussion assumes the user is already familiar with the principles and technical vocabulary of the LISP language.. The user should consider this document more as reference material on how MICROLISP differs from other versions of LISP, and what features it implements. A good reference for learning LISP is Weissman's LISP 1.5 Primer (see Bibliography). We also can recommend Friedman's The Little LISPer as an enjoyable introduction. MICROLISP is a cassette-based microprocessor implementation of an interpreter for LISP, a programming language useful for symbol processing. The MICROLISP interpreter is written in APPLESOFT II BASIC. More complete documentation will soon be available when Hayden Press publishes a book on Microlisp by Ole Anderson. This book will include an annotated source listing of the interpreter, an explanation of its theory of operation, a detailed reference manual, an application section describing how to do graphics from MICROLISP using BASIC, a short LISP primer for the inexperienced user, and a bibliography of LISP literature useful to the MICROLISP user. Many programming languages (BASIC for example) have been created to deal primarily with numerical data, and programs written in those languages can solve a large range of problems. But there is an equally interesting area of programming that deals with symbolic data. If you want to be "in" with the artificial intelligence crowd, you might consider learning a symbolic manipulation language. Symbolic data might be chess positions, equations (treated as equations, not as expressions to be evaluated), or natural-language sentences. LISP is a language for list processing (hence the name: LISt Processor). Lists are the data items of LISP, just as numbers are the data items in BASIC. Because list elements are symbols not restricted to numbers, LISP makes it possible to solve many types of symbolic manipulation problems as easily as simple numeric problems are solved in BASIC. LISP is used primarily for artificial intelligence applications such as processing natural-language input, performing symbolic differentiation and integration of numerical formulas, and proving mathematical theorems. MICROLISP is a version of LISP that will allow you to learn the elements of LISP by writing and executing LISP programs. BASIC goes a long way toward making the power of the personal computer available to the average person, but it lacks several critical features found in many other high-level languages: naming of subroutines and calling them with parameters, use of variable names with more than the first two characters significant, recursive subroutines and dynamic allocation of variables. These features are all found in MICROLISP. Implementing MICROLISP in BASIC means that LISP programs do not execute very rapidly. However, it makes it possible to see how the language has been implemented. On the other hand, APPLESOFT II supports real (floating point) arithmetic, string functions and trigonometric functions, and these are all available to the MICROLISP user (often they are not available in larger versions). Another convenient feature in APPLESOFT II is the ability to PEEK and POKE memory locations, and to CALL machine-language routines from BASIC. This is often useful for interfacing special hardware and for applications where speed is critical. Another reason MICROLISP was written in BASIC is for tutorial purposes. Many personal computer users desire to learn about the techniques involved in implementing high-level computer languages. This program is an example of a complete language processor which accepts characters typed from the keyboard, builds symbols from them, and processes these symbols according to the syntax of the LISP language. Thus, it uses many of the important algorithms employed by all other interpreters, compilers and language processors. MICROLISP can also be used as an educational tool for introducing elementary list-processing concepts.
- tosh 8y agoHere is a talk about MakerLisp at BALISP (Bay Area Lisp & Scheme Users Group) https://www.youtube.com/watch?v=Ad9NtyBCx78 https://www.youtube.com/watch?v=Ad9NtyBCx78
- amatic 8y agoWaiting for Teensy 4.0 (currently in beta testing[1]). Probably will make an amazing lisp machine. 600Mhz CPU, usb, all Arduino compatible. [1] https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-T...