Changeset 15288 in project


Ignore:
Timestamp:
07/31/09 08:03:48 (10 years ago)
Author:
felix winkelmann
Message:

ported to chicken 4 (thanks to Christian Kellermann)

Location:
release/4/php-s11n/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • release/4/php-s11n/trunk/php-s11n.scm

    r9970 r15288  
    2121;; IN THE SOFTWARE.
    2222
    23 (require-extension srfi-1 srfi-69 regex)
    24 
    25 #+chicken
    26 (eval-when (compile)
    27   (declare
    28     (export php-serialize
    29             php-unserialize
    30             php-s11n-writer
    31             php-s11n-reader
    32             php-s11n-array-reader
    33             php-s11n-object-reader
    34             php-s11n-write
    35             php-s11n-read
    36             php-s11n-read-null
    37             php-s11n-read-boolean
    38             php-s11n-read-integer
    39             php-s11n-read-float
    40             php-s11n-read-string
    41             php-s11n-read-array
    42             php-s11n-read-array/alist
    43             php-s11n-read-array/hash-table
    44             php-s11n-read-object)))
     23(module php-s11n
     24  ( php-serialize
     25    php-unserialize
     26    php-s11n-writer
     27    php-s11n-reader
     28    php-s11n-array-reader
     29    php-s11n-object-reader
     30    php-s11n-write
     31    php-s11n-read
     32    php-s11n-read-null
     33    php-s11n-read-boolean
     34    php-s11n-read-integer
     35    php-s11n-read-float
     36    php-s11n-read-string
     37    php-s11n-read-array
     38    php-s11n-read-array/alist
     39    php-s11n-read-array/hash-table
     40    php-s11n-read-object)
     41
     42(import chicken scheme)
     43(use data-structures extras ports srfi-1 srfi-69 regex)
    4544
    4645;;;; Exported parameters
     
    229228        ((keyword? value) (->array-key (keyword->string value)))
    230229        ((symbol? value) (->array-key (symbol->string value)))
    231         (else (->array-key (->string value)))))
     230        (else (->array-key (->string value))))) )
  • release/4/php-s11n/trunk/php-s11n.setup

    r9970 r15288  
    1 (compile -s -O2 -d1 php-s11n.scm -check-imports -emit-exports php-s11n.exports -X regex-literals)
     1(compile -s -O2 -d1 php-s11n.scm -X regex-literals -j php-s11n)
     2(compile -s -O2 -d1 php-s11n.import.scm)
     3(compile -c -O2 -d1 php-s11n.scm -X regex-literals -unit php-s11n)
    24
    35(install-extension
    46  'php-s11n
    5   '("php-s11n.so" "php-s11n.html" "php-s11n.exports")
     7  '("php-s11n.o" "php-s11n.so" "php-s11n.import.so")
    68  '((version "1.0.1")
    79    (documentation "php-s11n.html")
Note: See TracChangeset for help on using the changeset viewer.