Crate rurtle [−] [src]
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.
Reexports
pub use graphic::TurtleScreen; |
pub use graphic::color; |
pub use turtle::Turtle; |
pub use lex::tokenize; |
pub use parse::Parser; |
pub use environ::Environment; |
Modules
| environ |
Data and methods for executing Rurtle code. |
| floodfill |
Floodfilling for Turtle graphics. |
| graphic |
This is the backend for turtle graphics. It's a wrapper around glium, dealing with shaders etc. and providing a few high-level methods upon which turtles can be built. |
| lex |
This module contains the lexical analyser for the Turtle language. It can split a Rurtle source string into single tokens, which can be later used by the interpreter. |
| parse |
Parsing module for Rurtle programs. |
| readline |
Core readline functionality |
| turtle |
This module contains the actual implementation of the turtle concept. |