From 43eb220cc23f10a7b597d0354ccd4e7e5ea5ffd1 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Mon, 21 May 2012 03:30:29 +0000 Subject: * interp/spad-parser.boot (parseSexpr1): Simplify. (parseDara): Likewise. Do not set LABLASOC. * interp/bootlex.lisp (PRINT-DEFUN): Remove. (TRANSLABEL): Likewise. (TRANSLABEL1): Likewise. * interp/preparse.lisp (LABLASOC): Likewise. --- src/ChangeLog | 9 +++++++++ src/interp/bootlex.lisp | 31 ------------------------------- src/interp/preparse.lisp | 1 - src/interp/spad-parser.boot | 12 ++---------- 4 files changed, 11 insertions(+), 42 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index f8580b1c..b997cbdf 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,12 @@ +2012-05-20 Gabriel Dos Reis + + * interp/spad-parser.boot (parseSexpr1): Simplify. + (parseDara): Likewise. Do not set LABLASOC. + * interp/bootlex.lisp (PRINT-DEFUN): Remove. + (TRANSLABEL): Likewise. + (TRANSLABEL1): Likewise. + * interp/preparse.lisp (LABLASOC): Likewise. + 2012-05-20 Gabriel Dos Reis * interp/vmlisp.lisp (SETANDFILE): Remove. diff --git a/src/interp/bootlex.lisp b/src/interp/bootlex.lisp index acb8d0e8..b7a22269 100644 --- a/src/interp/bootlex.lisp +++ b/src/interp/bootlex.lisp @@ -49,18 +49,6 @@ (IMPORT-MODULE "nlib") (in-package "BOOT") -; *** 1. BOOT file handling - -(defun print-defun (name body) - (let* ((sp (assoc 'compiler-output-stream optionlist)) - (st (if sp (cdr sp) |$OutputStream|))) - (if (and (|ioTerminal?| st) (symbolp name) (fboundp name) - (not (compiled-function-p (symbol-function name)))) - (compile name)) - (when (or |$PrettyPrint| (not (|ioTerminal?| st))) - (print-full body st) (force-output st)))) - - ; *** 3. BOOT Token Handling *** ;; -*- Parse an integer number -*- @@ -112,22 +100,3 @@ (setq val (get-integer-in-radix buf val)) (|advanceChar!|)) (|tokenInstall| val 'number token (size buf)))) - -; **** 4. BOOT token parsing actions - - -(defun TRANSLABEL (X AL) (TRANSLABEL1 X AL) X) - -(defun TRANSLABEL1 (X AL) - "Transforms X according to AL = ((