medley
urn
Our great sponsors
medley | urn | |
---|---|---|
11 | 6 | |
353 | 362 | |
5.1% | - | |
9.2 | 0.0 | |
5 days ago | about 5 years ago | |
Common Lisp | Common Lisp | |
MIT License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
medley
-
What do people mean when they talk abou a pure lisp machine down to the silicon?
Medley, open source emulator for Xerox Interlisp-D machines: https://github.com/Interlisp/medley
-
Ask HN: What software stack to select for this boot to code computer?
Your concept looks nice, it reminds me a bit of the Lisperati: https://www.hackster.io/news/the-lisperati1000-is-a-cyberdec...
So, did you consider Lisp or maybe Smalltalk? Plan 9 or Inferno might also be options.
Plan 9 comes in different variants, the "classic" one (with a Raspberry Pi port by Richard Miller) or 9front, an Inferno porting tutorial can be found at https://github.com/yshurik/inferno-rpi
Lisp and Smalltalk can run with or without Linux underneath, e.g. on the Raspberry Pi.
Bare-metal Lisp is available with interim: http://interim-os.com
Finally, bare-metal Smalltalk is available in my crosstalk system: https://github.com/michaelengel/crosstalk
Of course, Lisp and Smalltalk can also run hosted under Linux, e.g. using Squeak (https://squeak.org), Pharo (https://pharo.org) or InterLisp (https://github.com/Interlisp/medley).
Or - a crazy idea - build an emacs-only machine. That would be fun! :)
-
Interesting or distinctive lisps?
Interlisp for some ideas on supporting rapid prototyping and a historical perspective.
- How practical could CLOS paired with a Smalltalk-like IDE be?
-
Version Control for Structure Editing
Of historical interest was Interlisp-D as a system that did structure editing and version management. it was at the beginning of time so getting it to work again as a practical development environment is a lot of work.
-
"Interlisp is a very large software system"
Measuring Lisp code in https://github.com/Interlisp/medley is harder -- wrong eol for wc
urn
-
Using other languages
There's many different languages that can compile to Lua: - TypeScript is probably the most well-known and most compatible language for Lua. The TypeScriptToLua compiler lets you compile TypeScript code into Lua with a mostly 1:1 conversion. You can use the @jackmacwindows/craftos-types and @jackmacwindows/cc-types NPM packages to add typing declarations for CraftOS APIs and modules. Alternatively, use my template repo for a more ready-to-go setup. - Haxe was built with compilation to Lua in mind, and so you can write code for it and have it run just fine in CC. There's some declarations for it available online, and I also have my own typing set for it (which I should really upload somewhere - DM me if you want it for now). - C# can also compile to Lua, but it's a bit tough to get working right in CC, as it has a huge default library and abuses the global table in a way that CC has trouble with. However, it's possible to use, and I've gotten it working in the past (unfortunately, I don't know how anymore). - Urn is a Lisp dialect that was built by two CC devs and was designed to run in CC. However, I wouldn't recommend it unless you're good with functional programming.
-
C-Lisp Implementations for microcontrollers?
Also, if the microcontroller you're working with is an ESP32 chip, you may be able to use use one of the lisp-to-Lua transpiled languages (urn or fennel) with something like Lua RTOS or NodeMCU. Not entirely sure how well this works in practice, but in theory it should be possible. Of the two, Fennel's probably more likely to behave well when used like this because it's more like a thin translation layer on top of Lua, but Urn's probably going to feel more comfortable to use because it feels like this weird mix of CL and Racket design.
-
Interesting or distinctive lisps?
Urn Lisp, A Lisp implementation on top of Lua: https://urn-lang.com
-
Trying Fennel for GTK apps and it's surprisingly good
For Lua-based lisps I kind of prefer Urn, which is more batteries-included and just feels better to me overall. Both are interesting though, if for no other reason, because Lua desperately needs macros in some form. :) Another interesting Lisp transpiled language is Amulet, which is an ML-style language somewhere between Haskell and OCaml in style. Something that's interesting about these Lua-based languages to me is they understand that Lua's an embeddable language and most of them have a way to generate Lua output that can be used wherever Lua's used, like in game modding
I don't know how much of reloading you need. I did something like that many moons ago. See here: https://github.com/SquidDev/urn/issues/12
-
Urn for CC?
Clone Urn: wget run https://gist.githubusercontent.com/SquidDev/e0f82765bfdefd48b0b15a5c06c0603b/raw/clone.lua https://github.com/SquidDev/urn.git (or similar)
What are some alternatives?
Fennel - Lua Lisp Language
maiko - Medley Interlisp virtual machine
Co-dfns - High-performance, Reliable, and Parallel APL
LiveSplit - A sleek, highly customizable timer for speedrunners.
BQN - An APL-like programming language. Self-hosted!
cloc - cloc counts blank lines, comment lines, and physical lines of source code in many programming languages.
sbcl - Mirror of Steel Bank Common Lisp (SBCL)'s official repository
lisp-system-browser - Smalltalk-like system browser for Common Lisp.
liz - Lisp-flavored general-purpose programming language (based on Zig)
cakelisp - Metaprogrammable, hot-reloadable, no-GC language for high perf programs (especially games), with seamless C/C++ interop
NetLogo - turtles, patches, and links for kids, teachers, and scientists
crosstalk - Smalltalk-80 bare metal implementation for the Raspberry Pi