News for hackers. Stuff that matters.
Re:Let’s LISP like it’s 1959 [video] by KineticLensman on Thursday February 28, 2019 @09:55AM (#19271668)
I'm currently working through the implementation of my own personal Lisp, following the awesome MAL process [0]. It's instructive to compare the result with the language as defined in the early 60s and available to programmers then (e.g. as defined by the Lisp manual referenced in the video). One thing that immediately stood out was the use of GOTO ('GO' actually) in the early Lisp rather than some sort of loop or tail recursion.

Incidentally, I've been wondering what app I should write to test my Lisp. The obvious end-state mentioned in the MAL guide is to self-host a Lisp, but I'm thinking it would be more appropriate (and fun) to re-implement one of the early chatbots like ELIZA [1].

[0] https://github.com/kanaka/mal/blob/master/process/guide.md

[1] https://en.wikipedia.org/wiki/ELIZA

Re:Let’s LISP like it’s 1959 [video] by cjallen88 on Thursday February 28, 2019 @03:27PM (#19274816)
The book Paradigms of AI Programming is available for free on github, and implements something like ELIZA in Common Lisp.

I really recommend it.

https://github.com/norvig/paip-lisp/blob/master/README.md

Re:Let’s LISP like it’s 1959 [video] by KineticLensman on Thursday February 28, 2019 @05:28PM (#19275934)
Great recommendation, thanks
Re:Let’s LISP like it’s 1959 [video] by kwccoin on Thursday February 28, 2019 @08:19PM (#19277155)
Waiting for it and can it port to multiple platform like pi, iOS, Andorid, browser ... etc. Obviously can be a joint effort but once the basic is done, we can have a new and refreshing effort.

I always think that why PAIP is great you always have this feeling like Star Trek NG. Suddenly you have a function that works. BTW, I think the other web sites http://www.gigamonkeys.com/book/ would be good.

Not one person but if there is a basis we can grow the community, especially if one can port to Pi and iOS.

Re:Let’s LISP like it’s 1959 [video] by abecedarius on Thursday February 28, 2019 @08:25PM (#19277188)
I had fun doing last year's https://adventofcode.com in my own Lisp dialect. It's a pretty big stress for a personal toy language, but not too out there.

(Added: the code: https://github.com/darius/squeam/blob/master/eg/advent-of-co...)

Re:Let’s LISP like it’s 1959 [video] by gekkonier on Thursday February 28, 2019 @12:21PM (#19273005)
I would consider writing a small standardlib for your lisp. While writing it you will encounter things you can optimize perhaps.
Re:Let’s LISP like it’s 1959 [video] by KineticLensman on Thursday February 28, 2019 @05:27PM (#19275921)
Cool! That is a great offer. If you watch my progress SITREPs at [0] you'll get a feel for when it might ready. I'm behind on the SITREP updates but I'm in fact just debugging macro expansion (step 8) at the moment.

[0] https://www.non-kinetic-effects.co.uk/blog/2019/01/21/MAL-2

Re:Let’s LISP like it’s 1959 [video] by nikofeyn on Friday March 01, 2019 @03:15AM (#19278758)
i read his comment as “[if i were you] i would consider...”.
Re:Let’s LISP like it’s 1959 [video] by gekkonier on Friday March 01, 2019 @03:44AM (#19278876)
Yes, I'm sorry. It was meant as an answer to 'Incidentally, I've been wondering what app I should write to test my Lisp.'
Re:Let’s LISP like it’s 1959 [video] by KineticLensman on Friday March 01, 2019 @05:31AM (#19279330)
My bad! And I can't even claim not to be a native-English speaker.

It is a good idea and in fact I'm already sort of going down that route. I'm finding that using macros to define new functionality (rather than extend the core set of built-in functions) is a good way to tease out implementation issues as they somewhat stress the underlying mechanisms.

I think my first lib functions will be IO-related.

Re:Let’s LISP like it’s 1959 [video] by selimthegrim on Friday March 01, 2019 @12:39PM (#19283273)
I too might have a couple things in mind. How do I get in touch with you (gp, KineticLensman although happy to hear from immediate parent too)?