Standard Library

tyrian comes with a number of standard library functions to assist with programming.

LISP runtime

Contains standard library functions

tyrian.lisp_runtime.registry

tyrian.lisp_runtime.registry.lisp_function(**kwargs)[source]

Registers decorated function in the lisp_registry

if the decorator is being used like so;

@lisp_registry
def func():
    pass

then we assume the __name__ attribute of the function is to be used

if the decorator is used like so;

@lisp_registry(name="blardy")
def randy():
    pass

then we use the supplied name :)

tyrian.lisp_runtime.misc

tyrian.lisp_runtime.misc.call_function(func, *args)[source]

helper for calling function, usually lambda functions

tyrian.lisp_runtime.misc.return_func(arg)[source]

when used as the last function call in a function, its output is used as the return value for the function

tyrian.lisp_runtime.simple_math

tyrian.lisp_runtime.simple_math.sqrt(arg)[source]
tyrian.lisp_runtime.simple_math.symbol_simple_add(*args)[source]
tyrian.lisp_runtime.simple_math.symbol_simple_div(*args)[source]
tyrian.lisp_runtime.simple_math.symbol_simple_mul(*args)[source]
tyrian.lisp_runtime.simple_math.symbol_simple_sub(*args)[source]
Read the Docs v: latest
Versions
latest
Downloads
PDF
HTML
Epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.