Changeset 27011 in project


Ignore:
Timestamp:
07/07/12 13:27:28 (9 years ago)
Author:
Moritz Heidkamp
Message:

environments: make rewrite backwards compatible, change category back to lang-exts

Location:
release/4/environments/branches/rewrite
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • release/4/environments/branches/rewrite/environments.meta

    r25665 r27011  
    1 ;;; environments.meta -*- Scheme -*-
    2 
    31((synopsis "User defined evaluation environments")
    4  (category obsolete)
     2 (category lang-exts)
     3 (test-depends test)
    54 (license "BSD")
    6  (author "felix, moritz"))
     5 (author "Felix Winkelmann, Moritz Heidkamp"))
  • release/4/environments/branches/rewrite/environments.scm

    r25669 r27011  
    177177          (let ((env (module-environment ',env)))
    178178            (##sys#setslot env 1 ,*environment-name*)
    179             ;; don't clutter the modle-table. is this a good idea?
     179            ;; don't clutter the module-table. is this a good idea?
    180180            (set! ##sys#module-table (alist-delete! ',env ##sys#module-table))
    181181            env))))))
  • release/4/environments/branches/rewrite/environments.setup

    r25665 r27011  
    1 ;;;; -*- Scheme -*-
     1(if (version>=? "4.7.3.0" (chicken-version))
     2    (compile
     3     -fixnum-arithmetic
     4     -disable-interrupts              ;we manipulate system structures
     5     -no-procedure-checks             ;we do explicit checks
     6     -no-bound-checks                 ;we manipulate unbound variables
     7     -O2 -d1
     8     -s environments.scm -j environments)
     9    (compile -O2 -d0 -s environments.scm -J))
    210
    3 ;; version<=? seems to be gone
    4 ;; (when (version<=? (chicken-version) "4.7.0")
    5 ;;   (error "Sorry, but CHICKEN 4.7.0 and earlier is not supported anymore"))
    6 
    7 (compile
    8   -fixnum-arithmetic
    9   -disable-interrupts   ;we manipulate system structures
    10   -no-procedure-checks  ;we do explicit checks
    11   -no-bound-checks      ;we manipulate unbound variables
    12   -O2 -d1
    13   -s environments.scm -j environments)
    1411(compile -O3 -d0 -s environments.import.scm)
    1512
    16 (install-extension 'environments
    17   `("environments.so" "environments.import.so")
    18   `((version "2.0.0")))
     13(install-extension
     14 'environments
     15 `("environments.so" "environments.import.so")
     16 `((version "2.0.0")))
Note: See TracChangeset for help on using the changeset viewer.