mirror of
https://github.com/PDP-10/its.git
synced 2026-05-03 14:49:18 +00:00
LLOGO - Logo written in Lisp.
By Ira Goldstein, Henry Lieberman, et al. The added IOC LSP file is for emulating older Maclisp forms no longer supported in the latest version.
This commit is contained in:
4
Makefile
4
Makefile
@@ -31,10 +31,10 @@ DOC = info _info_ sysdoc sysnet syshst kshack _teco_ emacs emacs1 c kcc \
|
|||||||
chprog sail draw wl pc tj6 share _glpr_ _xgpr_ inquir mudman system \
|
chprog sail draw wl pc tj6 share _glpr_ _xgpr_ inquir mudman system \
|
||||||
xfont maxout ucode moon acount alan channa fonts games graphs humor \
|
xfont maxout ucode moon acount alan channa fonts games graphs humor \
|
||||||
kldcp libdoc lisp _mail_ midas quux scheme manual wp chess ms macdoc \
|
kldcp libdoc lisp _mail_ midas quux scheme manual wp chess ms macdoc \
|
||||||
aplogo _klfe_ pdp11 chsncp cbf rug bawden
|
aplogo _klfe_ pdp11 chsncp cbf rug bawden llogo
|
||||||
BIN = sys2 emacs _teco_ lisp liblsp alan inquir sail comlap c decsys \
|
BIN = sys2 emacs _teco_ lisp liblsp alan inquir sail comlap c decsys \
|
||||||
graphs draw datdrw fonts fonts1 fonts2 games macsym maint imlac \
|
graphs draw datdrw fonts fonts1 fonts2 games macsym maint imlac \
|
||||||
_www_ hqm gt40
|
_www_ hqm gt40 llogo
|
||||||
MINSRC = midas system $(DDT) $(SALV) $(KSFEDR) $(DUMP)
|
MINSRC = midas system $(DDT) $(SALV) $(KSFEDR) $(DUMP)
|
||||||
|
|
||||||
# These are not included on the tape.
|
# These are not included on the tape.
|
||||||
|
|||||||
BIN
bin/llogo/tvrtle.kst
Normal file
BIN
bin/llogo/tvrtle.kst
Normal file
Binary file not shown.
@@ -865,3 +865,38 @@ respond_load "(load '((lmio1) ukbd))"
|
|||||||
respond "T" "(as 'ukbd)"
|
respond "T" "(as 'ukbd)"
|
||||||
respond "UKBD" "(quit)"
|
respond "UKBD" "(quit)"
|
||||||
expect ":KILL"
|
expect ":KILL"
|
||||||
|
|
||||||
|
# Lisp Logo
|
||||||
|
respond "*" ":cwd llogo\r"
|
||||||
|
respond "*" ":complr\r"
|
||||||
|
respond "_" "ioc\r"
|
||||||
|
respond "_" "\032"
|
||||||
|
type ":kill\r"
|
||||||
|
respond "*" ":complr\r"
|
||||||
|
respond "_" "\007"
|
||||||
|
respond "*" "(load 'ioc)"
|
||||||
|
respond_load "(load 'define)"
|
||||||
|
respond "T" "(maklap)"
|
||||||
|
respond "_" "define\r"
|
||||||
|
respond "_" "\032"
|
||||||
|
type ":kill\r"
|
||||||
|
respond "*" ":complr\r"
|
||||||
|
respond "_" "\007"
|
||||||
|
respond "*" "(load 'ioc)"
|
||||||
|
respond_load "(load 'define)"
|
||||||
|
respond_load "(maklap)"
|
||||||
|
respond "_" "error\r"
|
||||||
|
respond "_" "parser\r"
|
||||||
|
respond "_" "primit\r"
|
||||||
|
respond "_" "print\r"
|
||||||
|
respond "_" "reader\r"
|
||||||
|
respond "_" "setup\r"
|
||||||
|
respond "_" "unedit\r"
|
||||||
|
respond "_" "\032"
|
||||||
|
type ":kill\r"
|
||||||
|
respond "*" ":lisp loader\r"
|
||||||
|
respond "?" "Y\r"
|
||||||
|
respond "?" "LLOGO\r"
|
||||||
|
respond "?" "1700\r"
|
||||||
|
expect ":KILL"
|
||||||
|
respond "*" ":link sys1; ts llogo, llogo; ts llogo\r"
|
||||||
|
|||||||
1
doc/llogo/-read-.-this-
Normal file
1
doc/llogo/-read-.-this-
Normal file
@@ -0,0 +1 @@
|
|||||||
|
This directory belongs to Henry Lieberman (HENRY@MIT-AI).
|
||||||
@@ -138,6 +138,7 @@
|
|||||||
- LIMSER, Chaosnet limerick service.
|
- LIMSER, Chaosnet limerick service.
|
||||||
- LISP, Lisp interpreter and runtime library (autoloads only).
|
- LISP, Lisp interpreter and runtime library (autoloads only).
|
||||||
- LIVE, PALX Game of Life.
|
- LIVE, PALX Game of Life.
|
||||||
|
- LLOGO, Logo implemented in Maclisp.
|
||||||
- LOADP, displays system load.
|
- LOADP, displays system load.
|
||||||
- LOCK, shut down system.
|
- LOCK, shut down system.
|
||||||
- LOGO, BBN Logo.
|
- LOGO, BBN Logo.
|
||||||
|
|||||||
17
src/llogo/ioc.lsp
Normal file
17
src/llogo/ioc.lsp
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
;;; -*- lisp -*-
|
||||||
|
;;; Emulate old Maclisp special forms IOC and IOG.
|
||||||
|
|
||||||
|
(defmacro ioc (sym)
|
||||||
|
(cond
|
||||||
|
((eq sym 'G) `(^G))
|
||||||
|
((eq sym 'R) `(setq ^R t))
|
||||||
|
((eq sym 'T) `(setq ^R nil))
|
||||||
|
((eq sym 'V) `(setq ^W nil))
|
||||||
|
((eq sym 'W) `(setq ^W t))
|
||||||
|
((eq sym 'RW) `(progn (ioc R) (ioc W)))
|
||||||
|
(t (error "Unknown IOC character"))))
|
||||||
|
|
||||||
|
(defmacro iog (sym &rest forms)
|
||||||
|
`(let ((^Q nil) (^R nil) (^W nil))
|
||||||
|
,@(if sym `((ioc ,sym)))
|
||||||
|
,@forms))
|
||||||
@@ -11,6 +11,8 @@
|
|||||||
|
|
||||||
(DECLARE (COUTPUT (READ)))
|
(DECLARE (COUTPUT (READ)))
|
||||||
|
|
||||||
|
(LOAD '((DSK LLOGO) IOC LSP))
|
||||||
|
|
||||||
(DEFUN HOW-BIG NIL
|
(DEFUN HOW-BIG NIL
|
||||||
(REMPROP 'HOW-BIG 'EXPR)
|
(REMPROP 'HOW-BIG 'EXPR)
|
||||||
((LAMBDA (FREE)
|
((LAMBDA (FREE)
|
||||||
|
|||||||
Reference in New Issue
Block a user