[movitz-cvs] CVS update: movitz/movitz.lisp

Frode Vatvedt Fjeld ffjeld at common-lisp.net
Fri Feb 13 22:07:21 UTC 2004


Update of /project/movitz/cvsroot/movitz
In directory common-lisp.net:/tmp/cvs-serv26720

Modified Files:
	movitz.lisp 
Log Message:
Added macro with-host-environment.

Date: Fri Feb 13 17:07:21 2004
Author: ffjeld

Index: movitz/movitz.lisp
diff -u movitz/movitz.lisp:1.4 movitz/movitz.lisp:1.5
--- movitz/movitz.lisp:1.4	Mon Feb  2 08:06:06 2004
+++ movitz/movitz.lisp	Fri Feb 13 17:07:21 2004
@@ -9,7 +9,7 @@
 ;;;; Created at:    Mon Oct  9 20:52:58 2000
 ;;;; Distribution:  See the accompanying file COPYING.
 ;;;;                
-;;;; $Id: movitz.lisp,v 1.4 2004/02/02 13:06:06 ffjeld Exp $
+;;;; $Id: movitz.lisp,v 1.5 2004/02/13 22:07:21 ffjeld Exp $
 ;;;;                
 ;;;;------------------------------------------------------------------
 
@@ -29,6 +29,15 @@
 (defvar *bq-level* 0)
 (defvar *default-image-init-file* #p"losp/los0.lisp")
 (defvar *default-image-file* #p"los0-image")
+
+(defvar *movitz-host-features* *features*
+  "The *features* of the host implementation.")
+
+(defmacro with-host-environment (options &body body)
+  "Execute body in a `normal' host environment."
+  (declare (ignore options))
+  `(let ((*features* *movitz-host-features*))
+     , at body))
 
 (defmacro print-unreadable-movitz-object ((object stream &rest key-args) &body body)
   "Just like print-unreadable-object, just adorn output so as to





More information about the Movitz-cvs mailing list