# The &kturtle; Handbook

Cies
Breijs

    cies AT kde DOT nl

Anne-Marie
Mahfouf

    annma AT kde DOT org

Mauricio
Piacentini

    piacentini AT kde DOT org

2004
2009
Cies Breijs
2004
2007
&Anne-Marie.Mahfouf;
2007
Mauricio Piacentini
&FDLNotice;
2021-01-20
Applications 20.12

&kturtle; is an educational programming environment that aims to make learning how to program as easy as possible. To achieve this &kturtle; makes all programming tools available from the user interface. The programming language used is &turtlescript; which allows its commands to be translated.

KDE
KTurtle
education
language
native
programming
TurtleScript
Logo
turtle

## Introduction

&kturtle; is an educational programming environment that uses &turtlescript;, a programming language loosely based on and inspired by &logo;. The goal of &kturtle; is to make programming as easy and accessible as possible. This makes &kturtle; suitable for teaching kids the basics of math, geometry and... programming. One of the main features of &turtlescript; is the ability to translate the commands into the speaking language of the programmer.

&kturtle; is named after the turtle that plays a central role in the programming environment. The student will usually instruct the turtle, using the &turtlescript; commands, to make a drawing on the canvas.

### What is &turtlescript;?

&turtlescript;, the programming language used in &kturtle;, is inspired by the &logo; family of programming languages. The first version of &logo; was created by Seymour Papert of MIT Artificial Intelligence Laboratory in 1967 as an offshoot of the LISP programming language. From then many versions of &logo; have been released. By 1980 &logo; was gaining momentum, with versions for MSX, Commodore, Atari, Apple II and IBM PC systems. These versions were mainly for educational purposes. The MIT is still maintains a website on &logo; containing a list of several popular implementation of the language.

&turtlescript; shares a feature found in many other implementations of &logo;: the ability to translate the commands to suit the native language of the student. This feature makes it easier for students that have no or little understanding of English to get started. Besides this feature &kturtle; has many other features aimed at easing the students initial experience with programming.

### Features of &kturtle;

&kturtle; has some nice features that make starting to program a breeze. See here some of the highlights of &kturtle; feature set:

- An integrated environment with &turtlescript; interpreter, editor, canvas and other tools all in one application (no extra dependencies).

- The ability to translate the &turtlescript; commands using the translation framework of &kde;.

- &turtlescript; supports user defined functions, recursion and dynamic type switching.

- The execution can be slowed down, paused or stopped at any time.

- A powerful editor featuring intuitive syntax highlighting, line numbering, error markers, visual execution and more.

- The canvas, where the turtle draws, can be printed or saved either as an image (PNG) or a drawing (&SVG;).

- Context help: help where you need it. Just press F2 (or see Help Help on: ...) to get help on the piece of code currently under your cursor.

- An error dialog that links the error messages to the mistakes in the program and marks them red.

- Simplified programming terminology.

- Integrated example programs to make it easy to get started. These examples are translated using &kde; translation framework.

&using-kturtle;

&getting-started;

&programming-reference;

&glossary;

&translator-guide;

## Credits and License

&kturtle;

Software copyright 2003-2007 Cies Breijs cies AT kde DOT nl

Documentation copyright 2004, 2007, 2009

- Cies Breijs cies AT kde DOT nl

- &Anne-Marie.Mahfouf; &Anne-Marie.Mahfouf.mail;

- Some proofreading changes by &Philip.Rodrigues; &Philip.Rodrigues.mail;

- Updated translation how-to and some proofreading changes by Andrew Coles andrew_coles AT yahoo DOT co DOT uk

&underFDL;

&underGPL;

## Command Index