« ^ »

GNU Guileとguiler

所要時間: 約 1分

EmacsでGNU Guileを使いたければM-x guilerとしてみよう。

Current directory is /ng
GNU Guile 3.0.4
Copyright (C) 1995-2020 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

scheme@(guile-user)> 
Enter `,help' for help.

GNU Guileが入っていればREPLが起動してくる。

,help RET でヘルプを見ることができる。

scheme@(guile-user)> ,help
Enter `,help' for help.,help

Help Commands [abbrev]:

 ,help [all | GROUP | [-c] COMMAND]
                              [,h] - Show help.
 ,show [TOPIC]                     - Gives information about Guile.
 ,apropos REGEXP              [,a] - Find bindings/modules/packages.
 ,describe OBJ                [,d] - Show description/documentation.

Command Groups:

 ,help all                         - List all commands
 ,help module                      - List module commands
 ,help language                    - List language commands
 ,help compile                     - List compile commands
 ,help profile                     - List profile commands
 ,help debug                       - List debug commands
 ,help inspect                     - List inspect commands
 ,help system                      - List system commands

Type `,help -c COMMAND' to show documentation of a particular command.
scheme@(guile-user)>

文字列の標準出力への表示をREPLを用いて行ってみる。 標準出力への表示はdisplay関数を用いる。

scheme@(guile-user) [3]> (display "Hello world!\n")
Hello world!