環境整備

  1. ダウンロード
    • quack.el
    • scheme-complete-0.8.7.el
  1. ./emacs.d/elispに移動
  2. .emacsに追加
(setq load-path
       (append
                (list (expand-file-name "~/.emacs.d/elisp")) load-path))
 (autoload 'run-scheme "cmuscheme" "Run an inferior Scheme process." t)
 (defun run-guile () (interactive) (run-scheme "guile"))
 (defun run-gauche () (interactive) (run-scheme "gosh"))
  1. ソースコード(例:hoge.scm)を編集中に M-x scheme-mode とするとScheme編集モードになります。
  2. その状態で M-x run-gauche とするとEmacsないにSchemeインタプリタが開きます。
  3. そこに手でコードを書いていっても良いのですが、C-x 2 などでウィンドウを分割して、上を hoge.scmの編集、下を インタプリタにし、上の編集画面で式の直後で C-x C-e とするとその式が下のインタプリタで評価されるのでその機能を利用しましょう。
(参考にさせてもらった Schemeの環境整備)

traceを使う

インストール
$apt-get install slib

rootで一度実行
gosh> (use slib)
#<undef>
gosh> (require 'trace)

一般ユーザ
gosh> (use slib)
#<undef>
gosh> (require 'trace)
gosh> (trace f)

(参考にさせてもらった 小休止 traceを使えるようにする)

このページへのコメント

Liv5xC I truly appreciate this article post.Really looking forward to read more. Want more.

0
Posted by tips about seo 2013年12月19日(木) 22:50:47 返信

HZnTyS Really appreciate you sharing this post.Really looking forward to read more. Keep writing.

0
Posted by seo thing 2013年12月19日(木) 22:50:46 返信

コメントをかく


「http://」を含む投稿は禁止されています。

利用規約をご確認のうえご記入下さい

管理人/副管理人のみ編集できます