6 ms·
Yeah, I guess bash is technically more available than a C compiler. But I think for the overwhelming number of use cases, you could just do "cc -o lisp single-
by chubot 13y ago
Yeah, I guess bash is technically more available than a C compiler. But I think for the overwhelming number of use cases, you could just do "cc -o lisp single-file-lisp-interpreter.c" (there are many compact options). Not to mention just installing Python :)
Also I wonder if awk would have been a better language than bash. I think awk is more available across various Unixes.
If anything, the length that they are willing to go to do this points to the brokenness of package managers. There are still a lot of disadvantages to a package manager versus cp-ing some code.
- seryoiupfurds 13y ago> lisp in awk Here you go! http://www.cs.cmu.edu/afs/cs/project/ai-repository/ai/lang/lisp/impl/awk/ http://www.cs.cmu.edu/afs/cs/project/ai-repository/ai/lang/l...
- rogerrohrbach 13y agoI made that 25 years ago. I've just downloaded it onto my MacBook Air, changed the shebang to reference /usr/bin/awk, and fired it up ("./walk walk.w p -"); it works as advertised. You can still format the doc with "nroff -ms walk.ms", too.
- chubot 13y agoThat's awesome! A testament to the timeless power and stability of Unix :)