Created
January 3, 2024 19:35
-
-
Save Hamayama/937320546e05b4d889f35cfae50a6310 to your computer and use it in GitHub Desktop.
Gauche の import 中のエラーの確認
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set GOSH="C:\Program Files\Gauche\bin\gosh.exe" | |
@rem set GOSH="C:\Program Files\Gauche0913\bin\gosh.exe" | |
%GOSH% -I. library-test.scm | |
@rem set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\local\bin;C:\msys64\usr\bin;C:\msys64\bin;%PATH% | |
@rem set MSYSTEM=MINGW64 | |
@rem gdb --args %GOSH% -I. library-test.scm | |
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(import (scheme base) | |
(scheme write) | |
(scheme load)) | |
;(import (library1)) | |
;(use library1) | |
;(load "library1") | |
(import (library2)) | |
;(use library2) | |
;(load "library2") | |
(display "finished.") | |
(newline) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define reverse-rconj | |
(case-lambda | |
(() '()) | |
((lst) lst) | |
((lst x) (cons x lst)))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define-library (library1) | |
(import (scheme base) | |
;(scheme case-lambda) | |
) | |
(include "library1.scm")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define-library (library2) | |
(import (scheme base) | |
(scheme load) | |
(library1) | |
) | |
;(begin (load "library1")) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment