News for hackers. Stuff that matters.
Re:Lisp in QBASIC by shaunxcode on Wednesday July 23, 2014 @06:39PM (#8077320)
To paraphrase Jurassic Park: "lisp finds a way"
Re:Lisp in QBASIC by scottlocklin on Wednesday July 23, 2014 @05:47PM (#8077124)
That's nuthin: here's lisp in Fortran:

https://github.com/blakemcbride/LISPF4

Re:Lisp in QBASIC by acqq on Thursday July 24, 2014 @03:48AM (#8078566)
Re:Lisp in QBASIC by yellowapple on Wednesday July 23, 2014 @06:28PM (#8077296)
I feel dirty for having read such blasphemy.

:P

Re:Lisp in QBASIC by tempodox on Thursday July 24, 2014 @06:58AM (#8078965)
Blasphemy it is.

However, McCarthy and his team actually tried to use Fortran as the implementation language for the first LISP compiler, but Fortran was not in the mood to cooperate. Before C, nothing could beat Assembler, I guess...

Re:Lisp in QBASIC by userbinator on Wednesday July 23, 2014 @08:21PM (#8077687)
Two more esoteric Lisp interpreters:

Lisp in BrainFuck:

http://code.google.com/p/zozotez/

Lisp in Befunge:

https://github.com/shinh/beflisp

Re:Lisp in QBASIC by FigBug on Wednesday July 23, 2014 @08:50PM (#8077748)
While we are all posting these types of things, here is a Scheme I did in Prolog: https://github.com/FigBug/scheme
Re:Lisp in QBASIC by cninja on Thursday July 24, 2014 @09:40AM (#8079502)
Might as well add my Lisp in PHP: https://github.com/cninja/pEigthP
Re:Lisp in QBASIC by bsder on Wednesday July 23, 2014 @06:45PM (#8077342)
I seem to recall more than a few Lisp interpreters in BASIC.

I'm almost certain that BYTE or Dr. Dobbs had one. I'm also pretty sure that one of the TRS-80 rags had one. I can't seem to find them now, however.

Sadly, I'm like everybody else nowadays. If it isn't on Google, it doesn't exist.

Re:Lisp in QBASIC by brudgers on Wednesday July 23, 2014 @07:23PM (#8077489)
Re:Lisp in QBASIC by abecedarius on Wednesday July 23, 2014 @09:09PM (#8077787)
Byte September 1981 did have a nontrivial program in Lisp: it parsed, differentiated, and simplified algebraic expressions. (I remember it fondly as my first Byte issue and first exposure to Lisp and calculus, the latter two almost equally mysterious. But going back and rereading the code, it was amateurish.)

I don't remember any Lisp in Basic in either Byte or DDJ, and I'd have probably seen it.

Re:Lisp in QBASIC by mtdewcmu on Wednesday July 23, 2014 @09:46PM (#8077858)
Finding a language that doesn't have a Lisp and writing a Lisp for it is probably the most predictable way to get on Hacker News. What's left?
Re:Lisp in QBASIC by AnkhMorporkian on Wednesday July 23, 2014 @10:14PM (#8077924)
Writing QBasic in LISP?
Re:Lisp in QBASIC by wglb on Thursday July 24, 2014 @08:58AM (#8079349)
I was going to suggest one for the Sigma 5/7/9 if there was only an emulator. Then I found this http://www.andrews.edu/~calkins/sigma/sigma7.htm
Re:Lisp in QBASIC by quadstick on Wednesday July 23, 2014 @10:41PM (#8077993)
Prolog, another old AI language. Digitalk Smalltalk used to come with Prolog written in Smalltalk.

http://en.wikipedia.org/wiki/Prolog

Re:Lisp in QBASIC by JadeNB on Thursday July 24, 2014 @09:52AM (#8079534)
FigBug scratched that itch above: https://news.ycombinator.com/item?id=8077748.
Re:Lisp in QBASIC by fogus on Thursday July 24, 2014 @10:57AM (#8079888)
> What's left?

LISP in BAYSICK? https://github.com/fogus/baysick

Re:Lisp in QBASIC by visarga on Wednesday July 23, 2014 @11:35PM (#8078103)
Is there such a small, native Lisp in Perl?
Re:Lisp in QBASIC by abecedarius on Thursday July 24, 2014 @01:21AM (#8078318)
https://github.com/darius/awklisp includes a Perl port contributed by someone who wished to remain anonymous.
Re:Lisp in QBASIC by codygman on Thursday July 24, 2014 @01:24AM (#8078324)
Haskell implemented in PHP?
Re:Lisp in QBASIC by jwdunne on Thursday July 24, 2014 @05:08AM (#8078737)
Heh, this would be torturous. I translated Peter Norvig's python lisp interpreter to PHP as a little get-me-started, the end result was not pleasant.
Re:Lisp in QBASIC by jenscow on Thursday July 24, 2014 @05:57AM (#8078828)
"Why does this exist? I wanted to write an interpreter and was stuck on a Windows XP laptop without Internet"

We have all had one of those days... :)

Re:Lisp in QBASIC by bubblicious on Thursday July 24, 2014 @05:51PM (#8082495)
I was thinking about this. Also everytime I have been forced to find a solution without using the internet I have been thrilled about what I learned. Too bad I never make that happen more often... :(
Re:Lisp in QBASIC by aashishkoirala on Wednesday July 23, 2014 @08:54PM (#8077761)
I started programming in the 7th grade with QBASIC. This made me nostalgic. Thanks for sharing. Nice seeing WEND after a long time.
Re:Lisp in QBASIC by bubblicious on Thursday July 24, 2014 @05:52PM (#8082502)
Yes :) QuickBasic enabled you to build your EXEs. Biggest IDE upgrade I have seen for a long time!
Re:Lisp in QBASIC by llllllllllll on Friday July 25, 2014 @12:49AM (#8083817)
QBasic was my first experience with programming too.
Re:Lisp in QBASIC by tempodox on Thursday July 24, 2014 @06:54AM (#8078952)
I haven't inspected it in detail, but it goes to show again how little you need to implement something LISP-y. My first LISP was built in C, which feels almost banal in comparison (it was longer, too).
Re:Lisp in QBASIC by bencollier49 on Thursday July 24, 2014 @07:52AM (#8079090)
Come on, someone do Lisp in Piet.