Skip to content

Commit

Permalink
Define TRUCLER:GLOBAL-ENVIRONMENT
Browse files Browse the repository at this point in the history
This is proving to be important for extrinsicl.
  • Loading branch information
Bike committed Oct 23, 2023
1 parent e916a7e commit 9543a19
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions compile/compile.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,10 @@
;;; TODO: Once trucler actually implements augmentation we should
;;; maybe use that and not have our own environments at all.

(defmethod trucler:global-environment (client (env lexical-environment))
(declare (ignore env))
(global-environment env))

(defmethod trucler:describe-variable
(client (env lexical-environment) name)
(or (cdr (assoc name (vars env)))
Expand Down

0 comments on commit 9543a19

Please sign in to comment.