Export portions of `lol-ucw'
authorClinton Ebadi <clinton@unknownlamer.org>
Wed, 13 Apr 2011 05:50:37 +0000 (01:50 -0400)
committerClinton Ebadi <clinton@unknownlamer.org>
Wed, 13 Apr 2011 05:50:37 +0000 (01:50 -0400)
* Expose stable interfaces
* Clean up contextl/lol components

src/ucw/contextl-components.lisp
src/ucw/lol-components.lisp
src/ucw/packages.lisp
src/ucw/standard-components.lisp

index b948d38..7d90db3 100644 (file)
@@ -7,8 +7,6 @@
         (with-dynamic-environment (,env)
           ,@body)))))
 
-(export '(dlambda) :lisp-on-lines-ucw)
-
 (defclass contextl-application (standard-application) 
   ()
   (:default-initargs 
@@ -36,7 +34,6 @@
   (with-dynamic-environment ((action-dynamic-environment action))
     (call-next-method)))
 
-
 (defclass contextl-component (standard-component) 
   ((component-dynamic-environment :accessor component-dynamic-environment
                                  :initform nil))
@@ -50,7 +47,7 @@
              (call-next-method))))
 
 (defmethod/cc call-component :before ((from t) (to contextl-component))
- (setf (component-dynamic-environment to) (capture-dynamic-environment)))
 (setf (component-dynamic-environment to) (capture-dynamic-environment)))
 
 
 
index 395c8a1..bbbdadb 100644 (file)
@@ -1,5 +1,7 @@
 (in-package :lol-ucw)
 
+;;; Not sure what the intent of this is, unused in maxclaims --clinton
+
 (defclass lol-component ()
   ()
   (:metaclass standard-component-class))
index 5649f6c..99348c6 100644 (file)
@@ -3,18 +3,15 @@
   (:documentation "An LoL Layer over ucw.basic")
   (:nicknames #:lol-ucw)
   (:use #:lisp-on-lines #:ucw :ucw-core :common-lisp :arnesi :contextl)
-
   (:shadowing-import-from :js
    #:new)  
   (:shadowing-import-from :ucw-core
-   #:parent )
+   #:parent)
   (:import-from :ucw-standard 
        #:call #:answer #:defaction #:*source-component*)
-  
-
-               
-  (:export 
-   
-   #:lol-component   
-   #:described-component-class))
-
+  (:export #:dlambda
+          #:described-component-class
+          #:lisp-on-lines-application
+          #:lisp-on-lines-component
+          #:lisp-on-lines-component-class
+          #:lol-component))
\ No newline at end of file
index 94591df..62c6fc6 100644 (file)
                     (list (find-class 'lisp-on-lines-component)))
             initargs)))
 
-(defclass described-component-class (described-class standard-component-class )
-  ())
-
-
-
-
 (defmethod ucw-core:handle-action :wrap-around ((action lisp-on-lines-action) application session frame)
      (let ((lol::*invalid-objects* (make-hash-table)))
        (handler-bind ((lol::validation-condition 
                                       (gethash object lol::*invalid-objects*)))))))
        (call-next-method))))
 
+(defclass described-component-class (described-class standard-component-class)
+  ())
+
+
 
 
 
@@ -70,8 +68,6 @@
 
 
 
-(defclass described-component-class (described-class standard-component-class )
-  ())