Expand description
Roto is an embedded scripting language for Rust applications that is fast, safe and easy to use.
This is API documentation of the Roto crate, for a more comprehensive introduction to the language, see the manual.
Modules§
- __
internal - Items exported only for use in macros
- deps
- Dependency management for Roto scripts.
- fmt
- Formatter for Roto code
- load
- Loading Roto scripts to be compiled.
- runtime
- Runtime definition for Roto.
- tools
- Some tools for working with Roto scripts (currently only printing it).
- value
- Types that can be passed to Roto.
Macros§
Structs§
- Blob
- The final compiled package of a script.
- Location
- A source file location
- Roto
Report - An error report containing a set of Roto errors.
- Runtime
- Provides the types and functions that Roto can access via FFI
- Typed
Func - A function extracted from Roto
Traits§
- Roto
Func - A function that can be registered in a runtime.
Functions§
- has_
main_ function - Returns
trueif the script has valid syntax and contains amainfunction on the top level.