Changeset 14553 in project


Ignore:
Timestamp:
05/07/09 09:20:41 (10 years ago)
Author:
Ivan Raikov
Message:

copied srfi-4-comprehensions to release/4 branch

Location:
release/4/srfi-4-comprehensions
Files:
3 edited
1 copied

Legend:

Unmodified
Added
Removed
  • release/4/srfi-4-comprehensions/srfi-4-comprehensions.meta

    r2417 r14553  
    1 ;;; srfi-4-comprehensions.meta -*- Hen -*-
     1;;; -*- Hen -*-
    22
    33((egg "srfi-4-comprehensions.egg")
     4
    45 (synopsis "SRFI-42 Comprehensions for SRFI-4 Vectors")
     6
    57 (license "SRFI")
    6  (needs syntax-case srfi-42)
     8
     9 (needs srfi-42)
     10
    711 (category data)
     12
    813 (author "Will Farr")
     14
    915 (doc-from-wiki)
     16
    1017 (files "srfi-4-comprehensions.setup"  "srfi-4-comprehensions.html"
    1118        "srfi-4-comprehensions.scm") )
  • release/4/srfi-4-comprehensions/srfi-4-comprehensions.scm

    r2417 r14553  
    11#|
    2 Derived (almost verbatim) from the code for vector comprehensions in the SRFI-42 reference implementation.  The copyright on that code is:
     2
     3Derived (almost verbatim) from the code for vector comprehensions in
     4the SRFI-42 reference implementation.  The copyright on that code is:
    35
    46Copyright (C) Sebastian Egner (2003). All Rights Reserved.
    57
    6 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
     8Permission is hereby granted, free of charge, to any person obtaining
     9a copy of this software and associated documentation
     10files (the "Software"), to deal in the Software without restriction,
     11including without limitation the rights to use, copy, modify, merge,
     12publish, distribute, sublicense, and/or sell copies of the Software,
     13and to permit persons to whom the Software is furnished to do so,
     14subject to the following conditions:
    715
    8 The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
     16The above copyright notice and this permission notice shall be
     17included in all copies or substantial portions of the Software.
    918
    10 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
     19THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
     20EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
     21MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
     22NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
     23LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
     24OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
     25WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
    1126
    12 Modifications are copyright (C) Will M. Farr (2006), goverened by the same conditions.  Feel free to email comments to <farr@mit.edu>. 
     27Modifications are copyright (C) Will M. Farr (2006), goverened by the
     28same conditions.  Feel free to email comments to <farr@mit.edu>. 
     29
    1330|#
    1431
    15 (use syntax-case)
    16 (use srfi-42)
    1732
    1833(module srfi-4-comprehensions
     
    2742           u32vector-of-length-ec
    2843           f64vector-of-length-ec f32vector-of-length-ec)
     44
     45  (import scheme chicken )
     46
     47  (require-extension srfi-42)
     48
    2949 
    3050  (define-for-syntax symbol-append
     
    124144  (make/prefix u64)
    125145  (make/prefix f32)
    126   (make/prefix f64))
     146  (make/prefix f64)
     147)
  • release/4/srfi-4-comprehensions/srfi-4-comprehensions.setup

    r2417 r14553  
    1 (compile -s -O2 -d1 srfi-4-comprehensions.scm)
     1;;; -*- Hen -*-
     2
     3(define (dynld-name fn)         
     4  (make-pathname #f fn ##sys#load-dynamic-extension))   
     5
     6(compile -O2 -d1 -s srfi-4-comprehensions.scm -j srfi-4-comprehensions)
     7(compile -O2 -d1 -s srfi-4-comprehensions.import.scm)
     8
    29(install-extension
    310 'srfi-4-comprehensions
    4  '("srfi-4-comprehensions.scm" "srfi-4-comprehensions.so" "srfi-4-comprehensions.html")
    5  '((syntax) (require-at-runtime srfi-4)
    6    (documentation "srfi-4-comprehensions.html")))
     11 `(,(dynld-name "srfi-4-comprehensions") ,(dynld-name  "srfi-4-comprehensions.import") )
     12 '((syntax)
     13   (version 1.2)
     14   (documentation "srfi-4-comprehensions.html")
     15   ))
Note: See TracChangeset for help on using the changeset viewer.