4 ms·
Not so exciting but still pretty cool: Conways Game of Life in a few lines of otus lisp* https://github.com/yuriy-chumak/ol/blob/master/samples/Convey's%20Life/
by nisa 5y ago
Not so exciting but still pretty cool: Conways Game of Life in a few lines of otus lisp* https://github.com/yuriy-chumak/ol/blob/master/samples/Convey's%20Life/life.lisp https://github.com/yuriy-chumak/ol/blob/master/samples/Conve...
* otus lisp is a descendant of owl lisp (https://www.youtube.com/watch?v=utOVF0U7Zd8 https://www.youtube.com/watch?v=utOVF0U7Zd8) with a nice ffi - http://yuriy-chumak.github.io/ol/ http://yuriy-chumak.github.io/ol/
- netizen-936824 5y agoI wonder when someone will code GoL inside GoL
- piannucci 5y agoLook up the OTCA metapixel.
- filoeleven 5y agoThis video doesn’t go into any detail, but is perhaps the best illustration of the concept. https://youtu.be/xP5-iIeKXE8 https://youtu.be/xP5-iIeKXE8 Edit: yes I am late to the party.
- yesenadam 5y agoA while ago... https://www.youtube.com/watch?v=xP5-iIeKXE8 https://www.youtube.com/watch?v=xP5-iIeKXE8
- retrac 5y agoGiven there is a Lisp implementation of GoL and a GoL implementation of Lisp, it's already done!
- ColinWright 5y agoIt's already done: https://www.youtube.com/watch?v=xP5-iIeKXE8 https://www.youtube.com/watch?v=xP5-iIeKXE8
- eggy 5y agoWow, thanks for those links. I am well acquainted with Lisp, but I never stumbled upon these. The video was great too. I have played with Wasp Lisp which is very cool and the Wasp VM. And checkout how it can spawn drone nodes on different machines[1,2]. I think C and Lisp together are amazing. I have been using them for decades, but J and APL entered my life over 8 years ago, and I am hooked! Checkout a rework of the famous APL GoL demo. It's much easier to understand than the original[3] [1] https://github.com/swdunlop/WaspVM https://github.com/swdunlop/WaspVM [2] https://bluishcoder.co.nz/2015/02/19/spawning-windows-commands-in-wasp-lisp-and-mosref.html https://bluishcoder.co.nz/2015/02/19/spawning-windows-comman... [3] https://www.youtube.com/watch?v=pMslgySQ8nc https://www.youtube.com/watch?v=pMslgySQ8nc
- nisa 5y agoThanks for the links. Stumbled upon Otus Lisp / Owl-Lisp while looking for a sh/lua replacement for OpenWrt - the small footprint and architecture independend binary format as well as the FFI for .so files are looking great for that. Here is a complete documentation for the language: https://haltp.org/posts/owl.html https://haltp.org/posts/owl.html that applies to both.
- eggy 5y agoThe one block for me is that I work on Windows, Linux, and Mac, and I don't like using Cygwin or MinGW with Windows. I am using Corman Lisp on my Windows machine for Windows-specific stuff and Jane before I heard of Owl and Otus Lisp. I do like Wasp Lisp's VM and C FFI too. Are you sticking with Owl/Otus?