Pyro

A scripting language for people who enjoy the simpler things in life.

Version 0.9.66

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.

constants

Useful constants.

fs

File system utilities.

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.

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.

url

A utility module for handling URLs.