Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-05-06T09:28:25.000Z (over 3 years ago)
- Last Synced: 2024-10-02T06:21:03.246Z (about 2 months ago)
- Topics: c, guile, scheme-language, turtle
- Language: C
- Size: 4.88 KB
- Stars: 10
- Watchers: 2
- 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`