deer
the Dartmouth Environment Elementary Renderer
deer

Introduction
Documentation
Installation
Download dib

Introduction

Welcome to the Dartmouth Environment Elementary Renderer, a program for emulating the original Dartmouth BASIC compiler born in 1964. This BASIC interpreter (yes, interpreter, I cannot write a compiler yet), is written in C, and it emulates version III of the Original Dartmouth BASIC language of 1966 (someway more advanced than its ancestor of 1964). The interpreter is named dib (which means Dib Is Basic).
In further versions, the emulation of the DCTS Operating System will be integrated into the sources, as well as subsequent versions of BASIC.

Documentation

Available documentation (which is contained into the downloadable package and is linked here for your convenience):

Installation

The dib executable, before use, must be compiled and installed. I suggest the following very easy procedure in 4 steps (use the terminal):

1) Copy the package somewhere, and unpack it using tar:

$ tar zxvf dib.X.Y.Z.tgz
$ cd dib.X.Y.Z/

2) Now, choose a directory into your path, where executables will be saved; let's assume it's ~/bin (that is the subdirectory /bin in your Home directory, but you can choose any). Edit the Makefile to customize addresses for dib (e.g., among the rest, change the install directory to ~/bin, commenting the undesired destinations and leaving uncommented ONE ONLY valid destination).

3) type the following (be sure to have gcc installed - Note: I compiled dib under gcc 4.X, I believe all 3.X versions will work, but I don't guarantee it):

$ make
$ make install

(the latter may require root privileges if you try to install dib into system directories, as suggested by default in the Makefile).

For Mac Users: in case you want to install dib into some system directory (e.g. /user/local/bin), remember that root privileges are not required, as long as you can access an administrative login: in this case, after make, login as an administrator with

$ su <name>

(being <name> the username of the administrator) - you will be requested of a password - and then install the software with

$ sudo make install

4) now type the following to test the correct installation:

$ dib --help

This shows the basic features of dib, and you're done! The USER/ directory is full of ready-to-run examples; read the readme files, before.

For Windows Users: Tom Lake has succeded in compiling dib under Cygwin. So I guess you can follow his path.

Download dib

Version 1.0 (July 6, 2009) 
Download it here.

Version 1.0.gamma (June 23, 2009) 
Download it here.

I wait for your impressions and bugs. Send me your suggestions, your considerations, your corrections; even send me your working BASIC programs for dib, all commented and completed with your own name and data (and six characters at most per name): they will be part of the next package, of course.
It's GPL! Enjoy!