https://github.com/theodesp/guile-turtle
A simple example on how to embed Guile Scheme to C using a simple “Tortoise” graphics program
https://github.com/theodesp/guile-turtle
c guile scheme-language turtle
Last synced: 3 months ago
JSON representation
A simple example on how to embed Guile Scheme to C using a simple “Tortoise” graphics program
- Host: GitHub
- URL: https://github.com/theodesp/guile-turtle
- Owner: theodesp
- License: mit
- Created: 2017-05-12T16:20:27.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-05-06T09:28:25.000Z (about 4 years ago)
- Last Synced: 2025-03-29T17:12:54.807Z (4 months ago)
- Topics: c, guile, scheme-language, turtle
- Language: C
- Size: 4.88 KB
- Stars: 10
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# guile-turtle
A simple example on how to embed Guile Scheme to C using a simple “Tortoise” graphics program## Requirements
1. [Guile](https://www.gnu.org/software/guile/)
2. [Gnuplot](http://www.gnuplot.info/)## How to run
```bash
make
./turtle
```## Commands
```
guile> (tortoise-move 1)
guile> (tortoise-turn 90)
guile> (tortoise-penup)
guile> (tortoise-move 5)
guile> (tortoise-pendown)
guile> (tortoise-move 1)
guile> (tortoise-reset)
```### Note
If it complains about default terminal just export `GNUTERM=x11` or `qt`