mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-05 12:16:37 +02:00
Merging and fixing
This commit is contained in:
commit
af5dd96347
2 changed files with 21 additions and 12 deletions
|
@ -1400,15 +1400,15 @@
|
||||||
"/usr/local/share/guile/"))))
|
"/usr/local/share/guile/"))))
|
||||||
((mosh)
|
((mosh)
|
||||||
(with-output-to-file
|
(with-output-to-file
|
||||||
"/tmp/mosh-helper"
|
(string-append (cond-expand (windows (get-environment-variable "TMP"))
|
||||||
|
(else "/tmp"))
|
||||||
|
"/snowmosh")
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(display "(import (scheme base) (scheme write) (mosh config)) (display (get-config \"library-path\")) (newline)")
|
(display "(import (scheme base) (scheme write) (mosh config))")
|
||||||
(newline)))
|
(newline)
|
||||||
(list
|
(display "(display (get-config \"library-path\"))")))
|
||||||
(string-append
|
(list (string-append (symbol->string (process->sexp '(mosh /tmp/snowmosh)))
|
||||||
(string-trim (process->string '(mosh "/tmp/mosh-helper"))
|
"/lib")))
|
||||||
char-whitespace?)
|
|
||||||
"/lib")))
|
|
||||||
((larceny)
|
((larceny)
|
||||||
(list
|
(list
|
||||||
(make-path
|
(make-path
|
||||||
|
@ -1505,10 +1505,10 @@
|
||||||
--r7rs --script ,file)
|
--r7rs --script ,file)
|
||||||
`(kawa ,(string-append "-Dkawa.import.path=" install-dir)
|
`(kawa ,(string-append "-Dkawa.import.path=" install-dir)
|
||||||
--r7rs --script ,file))))
|
--r7rs --script ,file))))
|
||||||
((mosh)
|
((mosh)
|
||||||
(if lib-path
|
(if lib-path
|
||||||
`(mosh --loadpath= ,install-dir --loadpath= ,lib-path ,file)
|
`(mosh --loadpath= ,install-dir --loadpath= ,lib-path ,file)
|
||||||
`(guile --loadpath= ,install-dir ,file)))
|
`(mosh --loadpath= ,install-dir ,file)))
|
||||||
((larceny)
|
((larceny)
|
||||||
(if lib-path
|
(if lib-path
|
||||||
`(larceny -r7rs -path ,(string-append install-dir ":" lib-path)
|
`(larceny -r7rs -path ,(string-append install-dir ":" lib-path)
|
||||||
|
|
|
@ -39,8 +39,17 @@
|
||||||
,(delay
|
,(delay
|
||||||
(process->sexp
|
(process->sexp
|
||||||
'(kawa -e "(write (features))"))))
|
'(kawa -e "(write (features))"))))
|
||||||
(mosh "mosh" #f #f
|
(mosh "mosh" (mosh -v) #f
|
||||||
,(delay (write-string "mosh\n")))
|
,(delay
|
||||||
|
(let ((tmpfile (string-append (cond-expand (windows (get-environment-variable "TMP"))
|
||||||
|
(else "/tmp"))
|
||||||
|
"/snowmosh")))
|
||||||
|
(with-output-to-file
|
||||||
|
tmpfile
|
||||||
|
(lambda ()
|
||||||
|
(display "(import (scheme base) (scheme write) (mosh config)) (display (features))")))
|
||||||
|
(process->sexp
|
||||||
|
`(mosh ,tmpfile)))))
|
||||||
(larceny "larceny" (larceny --version) "v0.98"
|
(larceny "larceny" (larceny --version) "v0.98"
|
||||||
,(delay '()))
|
,(delay '()))
|
||||||
(sagittarius "sagittarius" #f #f
|
(sagittarius "sagittarius" #f #f
|
||||||
|
|
Loading…
Add table
Reference in a new issue