5

What is the cleanest way to build a lisp interpreter inside Mathematica.

I'm not looking for all the functions to be implemented but instead just the basic syntax.

Sjoerd C. de Vries
  • 65,815
  • 14
  • 188
  • 323
William
  • 7,595
  • 2
  • 22
  • 70
  • 1
    Google (or get a couple of his books) papers by Gregory Chaitin re: Lisp. He did an implementation in Mathematica that's pretty cool... – ciao Mar 19 '15 at 05:52
  • 7
  • Why did not you put this in an answer such that this question can be properly closed? No offense, I am trying to understand the not so always very clear policies of the site. – nilo de roock Feb 19 '16 at 10:49
  • 1
    @ndroock1 of the 3 links none of them have working code that I could find. If you find such code you are welcome to post it. The 2 books cost money which prevents me from getting the appropriate code. Working code is most often a requirement on this site which is probably why Louis didn't post it as an answer. – William Feb 19 '16 at 14:03
  • @ndroock1 On 2nd look this might work although I'm not sure how versioning will change the code https://www.cs.auckland.ac.nz/~chaitin/lisp.m – William Feb 19 '16 at 14:08
  • 1
    I actually have a copy of the The Mathematica Programmer. All Maeder's books are considered classics I believe. Sadly he arguably does not describe a "real" Lisp interpreter. But I get the – nilo de roock Feb 19 '16 at 16:41

0 Answers0