News for hackers. Stuff that matters.
Re:A micro manual for Lisp – Not the whole truth (1978) [pdf] by lispm on Tuesday September 11, 2018 @08:49AM (#17959219)
An only slightly altered version for Common Lisp. The LABEL syntax is slightly different to make it valid CL.

https://gist.github.com/lispm/d752d5761f7078de4041d4e453e70c...

Tasks to explore:

Check that it is actually equally to the published code.

Check that it can interpret itself.

Understand the language it implements and the consequences of no error checking...

  MCLISP 139 > (mclisp:mccarthy-repl)
  mce> (label example (lambda (foo bar) (cons (cons foo 'nil) (cons 'bar 'baz)))
              'qix 'qux)
  ((QIX) BAR . BAZ) 
  mce>
Re:A micro manual for Lisp – Not the whole truth (1978) [pdf] by marcpaq on Tuesday September 11, 2018 @10:36AM (#17960076)
An only slightly altered version for Raspberry Pi/ARM assembly:

https://github.com/marcpaq/arpilisp

Re:A micro manual for Lisp – Not the whole truth (1978) [pdf] by drtse4 on Tuesday September 11, 2018 @11:22AM (#17960540)
Re:A micro manual for Lisp – Not the whole truth (1978) [pdf] by flavio81 on Tuesday September 11, 2018 @06:16PM (#17963882)
For practical (mature, usable in production) implementations i'd recommend:

in C: ECL compiles Common Lisp down to C or allows it to be embedded in a C program

Python: "Hy" allows to write Python with lisp syntax

Javascript: Parenscript compiles a Common Lisp subset to javascript. Clojurescript compiles a Clojure subset to javascript.

Re:A micro manual for Lisp – Not the whole truth (1978) [pdf] by mark_l_watson on Tuesday September 11, 2018 @07:09PM (#17964230)
I spent a whole evening last week playing with Hy Lisp (written in Python). It was fairly easy to write to the Keira’s APIs. Can anyone share any interesting HyLang uses/ applications?
Re:A micro manual for Lisp – Not the whole truth (1978) [pdf] by shawn on Tuesday September 11, 2018 @08:23AM (#17959032)
Lots of Lisp interest today! Here are a few resources.

On Lisp: https://www.lurklurk.org/onlisp/onlisp.pdf

Lumen - a Lisp for JavaScript and Lua: https://github.com/sctb/lumen

The Art of the Interpeter: https://dspace.mit.edu/bitstream/handle/1721.1/6094/AIM-453....

(^ this last one is very practical. If you reach the point of wanting to implement a practical interpreter, this paper will force you to consider many unexpected cases.)

Simulating circuits with Lisp: https://mitpress.mit.edu/sites/default/files/sicp/full-text/...

My favorite part of SICP: https://mitpress.mit.edu/sites/default/files/sicp/full-text/...

War stories: http://paulgraham.com/avg.html

Lisp in Jak 'n Dexter / Crash Bandicoot: https://all-things-andy-gavin.com/2011/03/12/making-crash-ba...

Fun fact: Lisp is still used today in gamedev! Last of Us uses it heavily: https://www.youtube.com/watch?v=Ox2H3kUQByo&t=2415s

Re:A micro manual for Lisp – Not the whole truth (1978) [pdf] by jihadjihad on Tuesday September 11, 2018 @08:52AM (#17959245)
+1 for the link about Andy Gavin's work on Crash Bandicoot and Jak and Daxter. This past winter I dusted off my PS2 and started playing Jak and Daxter again, the first time in about 15 years. I noticed something I had never noticed before: even though it is one of the first games released on the PS2, the game loads almost instantaneously when you hit the "New" or "Load" buttons.

I had to know why, and came across that exact link you referenced. AG had figured out how to do a lot of preprocessing while the game boots up, obviating the need for a lengthy "Loading..." screen. Naughty Dog wrote some very impressive software, that is for sure!

Re:A micro manual for Lisp – Not the whole truth (1978) [pdf] by shawn on Tuesday September 11, 2018 @08:56AM (#17959272)
Yes! I've been fascinated with GOAL / GOOL for nearly a decade. I ripped a copy of Last of Us and tore through the game data looking for the lisp code, but unfortunately they only ship the compiled output.

What I wouldn't give to see the source... And Viaweb's source, and HN's source, and gosh there are so many amazing Lisp systems out there.

Re:A micro manual for Lisp – Not the whole truth (1978) [pdf] by pjmlp on Tuesday September 11, 2018 @09:30AM (#17959531)
Well you can the Lisp code of Abuse, which was quite entertaining in the late 90's.

http://abuse.zoy.org/

https://archive.org/details/abuse_sourcecode

Re:A micro manual for Lisp – Not the whole truth (1978) [pdf] by shawn on Tuesday September 11, 2018 @09:45AM (#17959617)
oh

my

you just made my week, month, and year. I've been looking for a practical Lisp-based game design since I was a teen! Dude.

Thank you.

EDIT: THIS IS SO COOL http://abuse.zoy.org/browser/abuse/trunk/data/lisp/guns.lsp

Edit2: Whoops, fixed the link. I meant to link to this lisp codebase, not SICP. :)

Suffice to say, Abuse is amazing. Thanks! This is an absolute gem of a reference for seeing what worked in practice for Lisp-based gamedev. And in 1995 too!

Re:A micro manual for Lisp – Not the whole truth (1978) [pdf] by tosh on Tuesday September 11, 2018 @09:22AM (#17959479)
Re:A micro manual for Lisp – Not the whole truth (1978) [pdf] by fiddlerwoaroof on Tuesday September 11, 2018 @12:56PM (#17961403)
There's at least one project to resurrect the original (Lisp) reddit: https://github.com/tamurashingo/reddit1.0
Re:A micro manual for Lisp – Not the whole truth (1978) [pdf] by Jach on Tuesday September 11, 2018 @09:49AM (#17959649)
At least with HN, there's an old mirror. https://github.com/wting/hackernews There's quite a bit of old code floating around out there (even for Zork iirc), of course there's newer code being written all the time (as you know :)).

Besides code I'd also wish for accompanying code reviews and deep dives, like Fabien does for game engines, though for smaller things the code is usually just fine to just dive in and explore.

Re:A micro manual for Lisp – Not the whole truth (1978) [pdf] by _emacsomancer_ on Tuesday September 11, 2018 @12:54PM (#17961384)
In terms of Lisp and game-design, this [ https://borodust.org/projects/cl-bodge/ ] might also be of interest.
Re:A micro manual for Lisp – Not the whole truth (1978) [pdf] by z3phyr on Tuesday September 11, 2018 @09:05AM (#17959340)
There is probably, at certain point of time, eventually a lisp behind every great software.
Re:A micro manual for Lisp – Not the whole truth (1978) [pdf] by vanzorn on Tuesday September 11, 2018 @10:13AM (#17959856)
As I delve back into emacs as my daily driver, I'm playing with lisp more and more to customize.

Thanks for the inspirational links!