Use new guile_embedded_run target or guile_run target for running the examples like the other target languages (for suppressing stdout if run from top level). Consistency with other target language file renames: use runme.scm for scripts and example.i, example.c for example code. Add class example to examples being tested.
9 lines
168 B
Text
9 lines
168 B
Text
A very simple example.
|
|
|
|
To run it, start the program 'my-guile' and type:
|
|
|
|
(load "runme.scm")
|
|
|
|
Alternatively, you can use the shell command:
|
|
|
|
./my-guile -s runme.scm
|