-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
windows support #76
Comments
When using this stuff on Windows I normally load the libraries explicitly and then compile my application with a build script of some sort. The above code feels a little unidiomatic at first glance, as I'm not familiar with these features (they were not around when I started the project), but I'm open to a solution in this vein. |
If by this you mean the install script, then that's almost definately going to be removed soon after i get around to writing some docs and raising a PR. Unless someone argues for keeping it. I don't have Windows, but the transparently importing percent encoded files portion of this task sounds interesting and could be useful to other platforms too. I originally wanted to chime in on only the install part, but here's some random (and untested) thoughts on dynamically resolving percent files. Buyer beware.. include/resolve also needs to support finding these lib files (for those srfi's that import implementation code this way). Maybe by creating a Chez scheme specific version that uses library-search-handler. Actually, a chezscheme specific include file might be a good place to put all these functions. eg, private/include.chezscheme.sls. Write Don't track previous library search handler value. Leave that up to client code. If anything, add an (import (chezscheme))
(import (srfi private include))
(define old-library-search-handler
(meta-cond
[(memq (machine-type) '(ti3nt ta6nt)) ; on Windows
(install-percent-encoded-library-search-handler)]
[else
#f])) |
Hi. I am mostly using your project on linux machines but I need to use it also on windows machine. Unfortunately there is problem with the naming files and folders. Any name in the windows file system does not allow to use character ':'. I have some idea how to use it on windows machine. Loading this file on start of chez scheme allows to map any not supported characters. It maps ':' symbol's character into "%3a" string in this example.
Of course it requires to write the library installator for windows too. Maybe I have something overlooked and there is simpler way to use it on windows. This is only idea, not implementation. Any comment is welcome.
The text was updated successfully, but these errors were encountered: