Module pibfi_filter

Description

Stream filtering for the Platonic Ideal Brainf*ck Interpreter.

Function Index

Exported Functions
notify/2Notifies the other end of the connection.
send/2Sends a character or characters to a filter server for filtration.
server/5
start/6Creates and spawns a new stream filter.

Exported Functions

notify/2

notify(xlat(), term()) -> ok

Notifies the other end of the connection. They will receive a {Filter::pid(), Notifier::pid(), message, term()} message.

send/2

send(xlat(), char() | string()) -> ok

Sends a character or characters to a filter server for filtration.

server/5

server(Arg1, Arg2, Arg3, Arg4, Arg5) -> term()

start/6

start(Supervisor::pid(), Role::atom(), Dest::pid(), MaxThru::integer(), MinThru::integer(), WrapThru::integer()) -> pid()

Creates and spawns a new stream filter.