-
Lem エディタで、Scheme 言語のプログラムの作成を行うためのモードです。
-
(キーバインドの記号 (C- 等) の意味については、Emacs 関連の文書を参照してください)
-
Scheme の処理系は、事前にインストールされている必要があります。
(デフォルトでは、Scheme の処理系は、Gauche を想定しています)
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
;; | |
;; pcdemo3_debug.scm | |
;; 2020-6-4 v1.02 | |
;; | |
(use data.queue) | |
(use gauche.partcont) | |
;; for debug | |
(define *dbg-level* 3) ; (bitwise setting (e.g. 3 is error+info) | |
; ; =0:none, =1:error, =2:info) |
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
;; -*- coding: utf-8 -*- | |
;; | |
;; indent_conv.scm | |
;; 2020-5-2 v1.11 | |
;; | |
;; <内容> | |
;; Gauche を使用して、テキストファイルの行頭のインデントを変換します。 | |
;; | |
;; <使い方> | |
;; gosh indent_conv.scm infile outfile |
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
<lem の r7rs-swank 対応> | |
関連プルリクエスト: https://github.com/cxxxr/lem/pull/435 | |
https://github.com/cxxxr/lem/pull/438 | |
(1)ファイル | |
scheme-mode | |
scheme-mode.lisp process にも swank にも無関係なもの(上位層)(※) |
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
<Gauche プルリクエスト #558 測定結果> | |
https://github.com/shirok/Gauche/pull/558 | |
測定用のスクリプトは下に添付します ( handle_vals.scm ) 。 | |
(1) 変更前 (for + local allay) | |
values-0 : #<time-result 3000000 times/ 6.818 real/ 7.547 user/ 0.781 sys> | |
values-1 : #<time-result 3000000 times/ 7.043 real/ 8.000 user/ 0.875 sys> |
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
;; | |
;; dynamic-test.scm | |
;; 2019-12-17 v5.04 | |
;; | |
;; Emulate dynamic-wind and reset/shift on Gauche | |
;; | |
;; (emu-dynamic-wind before thunk after) | |
;; before is (^[] expr ...) | |
;; thunk is (^[] expr ...) | |
;; after is (^[] expr ...) |
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
;; -*- coding: utf-8 -*- | |
;; | |
;; cocoro.scm | |
;; 2019-6-23 v1.11 | |
;; | |
;; <内容> | |
;; Gauche を使って、パズル ( https://game.nicovideo.jp/atsumaru/games/gm8913 ) | |
;; の探索を行うプログラムです (不完全版)。 | |
;; | |
;; <使い方> |
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
<テスト> | |
init.lisp の設定ありで確認 | |
(1)mintty + winpty | |
起動 | |
winpty ros -Q -s lem-pdcurses -L sbcl-bin -- $USERPROFILE/.roswell/bin/lem-ncurses | |
→ 2019-5-14 OK |