Turtle

Turtle

A programming language for programs that read like plain sentences. It is expressive, so one idea can be written more than one way. It is abstract, so a complicated task can hide behind a simple name. It is simple, with one consistent set of rules that apply everywhere, and robust, so when something fails it says so in plain words and what to do about it.

The Turtle mascot, shell tucked in

Why Turtle

Readable

Code reads close to plain sentences. Scrolls and theories let you write a program like a letter.

Complete

A full language with a standard library: data, SQL, HTTP, JSON, files, servers and more.

Ready to use

A REPL, a formatter, a debugger, editor support, and turtle build for single-file programs.

Get Turtle

Turtle 1.0.0 runs on Mac, Windows and Linux. It also runs in Visual Studio Code: install the Turtle extension from the Marketplace.

Book cover icon

The book

The Turtle Programming Language book in one PDF, for reading offline.

Documentation

Language tour

A walk through the language from the first line to the last.

Language reference

Every statement, type and rule in one place.

Library

One page per library: files, data, SQL, HTTP, JSON, servers and more.