Link Details

Link 1185445 thumbnail
User 448255 avatar

By dotCore
via ma.utexas.edu
Submitted: Jul 25 2014 / 01:29

This is a LISP (Scheme) interpreter written in QBASIC. It implements linked lists using arrays. It supports optimized proper tail recursion if and only if your BASIC compiler optimizes tail calls (so no for Microsoft QBASIC, yes for FreeBASIC). It does not have garbage collection, and integers are BASIC INTEGERS, not bignums. Why does this exist? I wanted to write an interpreter and was stuck on a Windows XP laptop without Internet. It turned out that QBASIC.EXE was saved somewhere, so I used that.
  • 1
  • 0
  • 74
  • 15

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Upvoters (1)



Downvoters (0)



    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java