Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 540 Bytes

README.md

File metadata and controls

27 lines (22 loc) · 540 Bytes

guile-turtle

A simple example on how to embed Guile Scheme to C using a simple “Tortoise” graphics program

Requirements

  1. Guile
  2. Gnuplot

How to run

	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