Changeset 14537 in project


Ignore:
Timestamp:
05/07/09 01:05:27 (11 years ago)
Author:
Alex Shinn
Message:

converting to a module

Location:
release/4/sassy
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • release/4/sassy/sassy-chicken.scm

    r11972 r14537  
    1 (require-extension numbers)
    2 (require-extension srfi-1 srfi-69)
     1
     2(require-library srfi-1 srfi-69 numbers)
     3
     4(module sassy
     5  (sassy sassy-expand sassy-make-bin sassy-make-elf
     6   sassy-hexdump sassy-print-symbols sassy-print-relocs
     7   sassy-data-stack sassy-data-align sassy-data-list
     8   sassy-heap-align sassy-heap-size
     9   sassy-text-align sassy-text-org sassy-text-size sassy-text-list
     10   sassy-entry-point sassy-reloc? sassy-symbol? sassy-output?
     11   sassy-symbol-name sassy-symbol-scope sassy-symbol-table
     12   sassy-symbol-section sassy-symbol-offset sassy-symbol-size
     13   sassy-symbol-unres sassy-symbol-exists?
     14   sassy-reloc-list sassy-reloc-name sassy-reloc-section sassy-reloc-offset
     15   sassy-reloc-type sassy-reloc-patcher sassy-reloc-value sassy-reloc-width
     16   make-pushdown-stack make-pushup-stack push-stack-empty?
     17   push-stack-push push-stack-pointer push-stack-items
     18   push-stack-patch push-stack-push->patcher push-stack-save
     19   push-stack-direction push-stack-size push-stack-append!
     20   push-stack-align
     21   )
     22
     23(import (except scheme + - * / = > < >= <= number->string string->number
     24                eqv? equal? exp log sin cos tan atan acos asin expt sqrt
     25                quotient modulo remainder numerator denominator abs min max
     26                gcd lcm positive? negative? odd? even? zero? exact? inexact?
     27                floor ceiling truncate round inexact->exact exact->inexact
     28                number? complex? real? rational? integer? real-part imag-part
     29                magnitude))
     30(import (except chicken add1 sub1 signum bitwise-and bitwise-ior bitwise-xor
     31                bitwise-not arithmetic-shift))
     32(import (except extras random randomize))
     33(import numbers srfi-1 srfi-69)
    334
    435;=================================;
     
    2051;              ;
    2152;==============;
    22 (include "extras.scm")
    2353(include "meta-lambda.scm")
    2454(include "push-stacks.scm")
     
    5383; (load "tests/run-tests.scm")
    5484; (sassy-run-tests 'all)
     85
     86)
  • release/4/sassy/sassy.setup

    r5353 r14537  
     1
    12(print "compiling sassy - this will take a while ...")
    2 (compile sassy-chicken.scm -o sassy.so -s -O2 -d1)
     3
     4(compile -s -O2 -d1 -j sassy sassy-chicken.scm)
     5(compile -s -O2 -d1 sassy.import.scm)
     6
    37(install-extension
    48 'sassy
    5  '("sassy.html" "sassy.so")
    6  '((version "0.2.1")
     9 '("sassy.html" "sassy.so" "sassy.import.so")
     10 '((version "0.2.2")
    711   (documentation "sassy.html")))
Note: See TracChangeset for help on using the changeset viewer.