-
自分がコンパイルしたとき(2015年5月~2019年12月)の参考用のメモです。
(情報が古くなっている可能性があります)
Windows 8.1 (64bit) で作業しました。 -
**以下の記述は、MinGW (32bit) の開発環境でのコンパイル手順となっています。
今では、より新しい MSYS2/MinGW-w64 (64bit/32bit) の開発環境でもコンパイル可能になっています。
MSYS2/MinGW-w64 (64bit/32bit) の開発環境を使う場合には、以下のページの方を参照ください。
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
<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
;; -*- 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
;; | |
;; 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) |
- Lem エディタ ( https://github.com/cxxxr/lem ) の
Windows 上でのインストール手順等のメモです。
- MSYS2/MinGW-w64 (64bit/32bit) のインストール
事前に MSYS2/MinGW-w64 (64bit/32bit) がインストールされている必要があります。
-
Windows 環境において、Lem エディタを ConEmu 上で実行する方法をまとめたものです。
-
mintty + winpty 上では 16 色 しか表示できませんでした (winpty の制約による) が、
ConEmu 上では 256 色 で表示することができます。
(参考URL: rprichard/winpty#108
https://conemu.github.io/en/Xterm256Colors.html )
-
Lem エディタ ( https://github.com/cxxxr/lem ) の
Windows 用の文字幅データの設定サンプルです。
一部の文字の表示が改善されます。
(カーソルの表示位置がずれたりするケース等)<<現状、Windows 10 では、あまり改善できていません>>
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
// | |
// thread32.c | |
// 2019-2-16 v1.03 | |
// | |
// Description: | |
// GetThreadContext test for Windows Wow64 thread. | |
// | |
// Original source: | |
// https://social.msdn.microsoft.com/Forums/vstudio/ja-JP/aa176c36-6624-4776-9380-1c9cf37a314e/getthreadcontext-returns-stale-register-values-on-wow64?forum=windowscompatibility | |
// (GetThreadContext returns stale register values on WOW64) |