Introduction
Found an error? Want something improved? Submit an issue or a pull request!
Ranty is a procedural templating language for generating text and structured values. This book documents the current language, runtime behavior, CLI, module system, and standard library.
This documentation is a reference for the language features, standard library, and major runtime features of Ranty.
Contents
- Getting Started covers installation, the first program, and the CLI quickstart.
- Language covers text behavior, blocks, functions, accessors, keywords, operators, and conditionals.
- Runtime Features covers Attributes, Formatters, Embedding in Rust, Data Sources, Modules, Module Resolvers, and CLI / REPL.
- Standard Library groups every exported builtin by category and includes a generated inventory.
- Diagnostics is regenerated from the current compiler and runtime sources.
- Appendix includes the comparison of Rant 3 and Ranty, plus the glossary.
Translations
If you want to see this documentation in your language, please file an issue and we'll work towards an official translation.
Other helpful resources
For Rust API documentation, see docs.rs (at this time, the link is for Rant 4, not Ranty).
If you want a guided, page-by-page walkthrough, start with the Tutorial. For a quicker setup path, see Getting Started.