1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//! rurtle provides turtle-graphics in Rust
//!
//! # Windows support
//!
//! rurtle should run fine under Windows, it uses no Linux-specific functions.
//! However, since the addition of text support (a0b9483), we link to freetype.
//! To install freetype on Windows please see [the Piston getting started guide]
//! (https://github.com/bvssvni/Piston-Tutorials/tree/master/getting-started#freetype-on-windows).
extern crate bit_vec;
#[macro_use]
extern crate glium;
extern crate glium_text;
extern crate image;
extern crate nalgebra as na;

pub mod graphic;
pub use graphic::TurtleScreen;
pub use graphic::color;

pub mod turtle;
pub use turtle::Turtle;

pub mod lex;
pub use lex::tokenize;

pub mod parse;
pub use parse::Parser;

pub mod environ;
pub use environ::Environment;

pub mod readline;

pub mod floodfill;