Re:Mal – Make a Lisp
by Y_Y on Saturday April 24, 2021 @09:44AM
(#26924784)
Interesting languages that aren't on the list of implementations:
[ Parent
| on HN ]
Also COBOL and VHDL. I don't know how a hardware description language could implement a Lisp variant btw.
> I don't know how a hardware description language could implement a Lisp variant btw.
There is a Verilog implementation of the MIT Lisp Machine.
They actually do include a VHDL implementation! COBOL would be cool though.
I have a Dyalog APL implementation since 1 year or more on my fork, but still haven't released it because for reasons related to the input/output handling it cannot pass the self hosting tests :(
To make the other tests pass, i wrapped the interpreter in a shell scripts that merges stdout and street, and that did the job for all bit the last step (self hosting).
The self hosting interpreter (albeit very slow), appears to be working correctly when used interactively
If interested, https://github.com/laynor/mal/tree/dyalog
Re:Mal – Make a Lisp
by nicklecompte on Saturday April 24, 2021 @02:07PM
(#26926985)
I was a bit surprised nobody’s tried a “verified” implementation in something like Coq/Idris/Agda (unless i missed one - I wasn’t familiar with all the languages in the list).
Might be a fun project!