Compare commits

..

No commits in common. 'chicken-5' and 'master' have entirely different histories.

@ -2,16 +2,11 @@
(make-object derive-object) (make-object derive-object)
(cond-expand
(chicken-4
(import chicken scheme) (import chicken scheme)
(import-for-syntax chicken)
(use matchable) (use matchable)
(import-for-syntax chicken)
(begin-for-syntax (begin-for-syntax
(use srfi-1))) (use srfi-1))
(chicken-5
(import-for-syntax srfi-1)
(import scheme matchable (chicken syntax))))
(define-for-syntax args-without-self (define-for-syntax args-without-self
'(if (and (pair? args) (procedure? (car args))) '(if (and (pair? args) (procedure? (car args)))

@ -1,9 +0,0 @@
((version "0.2.4")
(synopsis "SQL as S-expressions")
(author "Peter Bex, Moritz Heidkamp")
(license "BSD")
(category db)
(dependencies matchable srfi-1 srfi-13)
(test-dependencies test)
(components (extension foops)
(extension ssql (component-dependencies foops))))

@ -3,23 +3,11 @@
(ssql->sql ssql-connection scope-table find-tables ssql-compose (ssql->sql ssql-connection scope-table find-tables ssql-compose
register-sql-engine! define-operators *ansi-translator*) register-sql-engine! define-operators *ansi-translator*)
(cond-expand
(chicken-4
(import chicken scheme) (import chicken scheme)
(use matchable data-structures extras srfi-1 srfi-13 foops) (use matchable data-structures extras srfi-1 srfi-13 foops)
(import-for-syntax chicken) (import-for-syntax chicken)
(begin-for-syntax (begin-for-syntax
(use srfi-1 srfi-13))) (use srfi-1 srfi-13))
(chicken-5
(import-for-syntax srfi-1 srfi-13 (chicken string))
(import scheme
srfi-1
srfi-13
matchable
(chicken base)
(chicken format)
(chicken string)
foops)))
(define (before? x y lst) (define (before? x y lst)
(let loop ((lst lst)) (let loop ((lst lst))

@ -1,9 +1,4 @@
(cond-expand (use test)
(chicken-4
(use test))
(chicken-5
(import test)))
(import ssql) (import ssql)
(test-group "selects" (test-group "selects"

@ -1,9 +1,4 @@
(cond-expand (use test)
(chicken-4
(use test))
(chicken-5
(import test)))
(import ssql) (import ssql)
(test-group "composition" (test-group "composition"

@ -1,11 +1,7 @@
(cond-expand
(chicken-4
(load-relative "../foops") (load-relative "../foops")
(use test))
(chicken-5
(import srfi-1 test foops)))
(import foops) (import foops)
(use test)
(test-group "basic functionality" (test-group "basic functionality"
(define foo (make-object () ((bar) 'baz))) (define foo (make-object () ((bar) 'baz)))

@ -1,18 +1,7 @@
(cond-expand
(chicken-4
(load-relative "foops-test") (load-relative "foops-test")
(load-relative "../ssql") (load-relative "../ssql")
(load-relative "transformations-test") (load-relative "transformations-test")
(load-relative "ansi-test") (load-relative "ansi-test")
(load-relative "composition-test")) (load-relative "composition-test")
(chicken-5
(import test (chicken platform))
(repository-path (cons ".." (repository-path)))
(load "foops-test")
(load "transformations-test")
(load "ansi-test")
(load "composition-test")))
(test-exit) (test-exit)

@ -1,9 +1,4 @@
(cond-expand (use test)
(chicken-4
(use test))
(chicken-5
(import test)))
(import ssql) (import ssql)
(test-begin "inspection") (test-begin "inspection")

Loading…
Cancel
Save