The Standard Library
The standard library is a collection of modules built into the Pyro binary.
All standard library modules are submodules of the root module std
.
import std::math; assert math::abs(-1) == 1;
Standard Library Modules
- args
-
A library for parsing command line arguments.
- cgi
-
A utility module for writing CGI scripts in Pyro.
- html
-
Utility functions for working with HTML.
- json
-
Utility functions for working with JSON.
- log
-
A simple logging library.
- math
-
Mathematical functions.
- mt64
-
A library for generating pseudo-random numbers.
- path
-
Filepath utilities.
- pretty
-
Support for pretty-printing.
- prng
-
Convenience functions for generating pseudo-random numbers.
- pyro
-
A utility module for interacting with the Pyro VM.
- sendmail
-
A utility module for sending email.
- sqlite
-
The SQLite database engine.
- url
-
A utility module for handling URLs.