Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/chibi.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -1673,6 +1673,7 @@ installed. The following are currently supported:
\item{mosh - version >= 0.29-rc1}
\item{racket - version >= 8.16 with the \scheme{r7rs} pkg}
\item{sagittarius - version >= 0.9.13}
\item{skint - version > 0.6.7}
\item{stklos - version > 2.10}
\item{tr7 - version > 2.0.12}
\item{ypsilon - version > 2.0.8}
Expand Down
16 changes: 16 additions & 0 deletions lib/chibi/snow/commands.scm
Original file line number Diff line number Diff line change
Expand Up @@ -1606,6 +1606,14 @@
(list (make-path
(process->string
'(sagittarius -I "(sagittarius)" -e "(display (car (load-path))) (exit)")))))
((skint)
(list
(string-trim
(string-trim
(process->string
'(skint -qe "(begin (import (only (skint hidden) base-library-directory)) (base-library-directory))"))
#\newline)
#\")))
((stklos)
(list (make-path
(process->string
Expand Down Expand Up @@ -1748,6 +1756,10 @@
(if lib-path
`(racket -I r7rs -S ,install-dir -S ,lib-path --script ,file)
`(racket -I r7rs -S ,install-dir --script ,file)))
((skint)
(if lib-path
`(skint -A ,install-dir -A ,lib-path ,file)
`(skint -A ,install-dir ,file)))
((stklos)
(if lib-path
`(stklos -A ,install-dir -A ,lib-path ,file)
Expand Down Expand Up @@ -2013,6 +2025,7 @@
((eq? impl 'mosh) (get-install-library-dir impl cfg))
((eq? impl 'racket) (get-install-library-dir impl cfg))
((eq? impl 'sagittarius) (get-install-library-dir impl cfg))
((eq? impl 'skint) (get-install-library-dir impl cfg))
((eq? impl 'stklos) (get-install-library-dir impl cfg))
((eq? impl 'tr7) (get-install-library-dir impl cfg))
((eq? impl 'ypsilon) (get-install-library-dir impl cfg))
Expand All @@ -2036,6 +2049,7 @@
((eq? impl 'mosh) (get-install-library-dir impl cfg))
((eq? impl 'racket) (get-install-library-dir impl cfg))
((eq? impl 'sagittarius) (get-install-library-dir impl cfg))
((eq? impl 'skint) (get-install-library-dir impl cfg))
((eq? impl 'stklos) (get-install-library-dir impl cfg))
((eq? impl 'tr7) (get-install-library-dir impl cfg))
((eq? impl 'ypsilon) (get-install-library-dir impl cfg))
Expand Down Expand Up @@ -2078,6 +2092,8 @@
(car (get-install-dirs impl cfg)))
((eq? impl 'sagittarius)
(car (get-install-dirs impl cfg)))
((eq? impl 'skint)
(car (get-install-dirs impl cfg)))
((eq? impl 'stklos)
(car (get-install-dirs impl cfg)))
((eq? impl 'tr7)
Expand Down
5 changes: 5 additions & 0 deletions lib/chibi/snow/utils.scm
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@
,(delay
(process->sexp
'(sagittarius -I "(scheme base)" -e "(write (features)) (exit)"))))
(skint "skint" (skint --version) #f
,(delay
(process->sexp
'(skint -qe "(features)"))))
(stklos "stklos" (stklos --version) #f
,(delay
(process->sexp
Expand Down Expand Up @@ -129,6 +133,7 @@
((mit) (cond-expand (mit #t) (else #f)))
((racket) (cond-expand (racket #t) (else #f)))
((sagittarius) (cond-expand (sagittarius #t) (else #f)))
((skint) (cond-expand (skint #t) (else #f)))
((stklos) (cond-expand (stklos #t) (else #f)))
((tr7) (cond-expand (tr7 #t) (else #f)))
(else #f)))
Expand Down