Skip to content
❤️ A lisp dedicated to bnl intended for use under 2.11BSD on a PDP-11
C Objective-C C++ Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
.gitignore
LICENSE
README.org
alloc.c
alloc.h
env.c
env.h
lib.bnl
lisp.c
lisp.h
locals.h
machine.c
machine.h
makefile
obj.h
parser.c
parser.h
prim.c
prim.h
symbol.c
symbol.h
util.c
util.h

README.org

bnlisp, a lisp for 2.11BSD

[2017-08-02 19:16:49] <bnl> C is great because it lets me write scheme

bnl (Marc Cleave) was a fan of, among other things, Lisp, PDP-11s and UNIX. In bnlisp, we try to encapsulate some of these interests by building a lisp interpreter which runs on the PDP-11 under 2.11BSD.

It is currently full of memory leaks, so, enjoy.

Primitives

  • PROGN
  • QUOTE
  • WHILE
  • IF
  • SETQ
  • LAMBDA
  • +
  • CONS
  • CAR
  • CDR
  • RPLACA
  • RPLACD
  • EVAL
  • PRINT
  • ALL-SYMBOLS
  • EQ (as in pointers)
  • = (numeric)
  • STRING=
  • READ (read a lisp expression)
  • LOAD (load a `.bnl` lisp file)
  • CONCATENATE (strings only at the moment)
  • STREAM-OPEN (open file or network stream)
  • STREAM-CLOSE
  • STREAM-READ
  • STREAM-EOF?

We all miss you bnl ❤️

You can’t perform that action at this time.