NAME
io.ops - I/O Opcodes
DESCRIPTION
Parrot IO API
When making changes to any ops file,
run make bootstrap-ops
to regenerate all generated ops files.
Parrot IO API Operations
- print(in INT)
- print(in NUM)
- print(invar PMC)
- print(in STR) Print $1 to standard output.
- say(in INT)
- say(in NUM)
- say(invar PMC)
- say(in STR) Print $1 to standard output with a trailing newline.
- print(invar PMC, in INT)
- print(invar PMC, in NUM)
- print(invar PMC, in STR)
- print(invar PMC, invar PMC) Print $2 on the IO stream object $1.
- getstdin(out PMC) Create a new ParrotIO object for the stdin file descriptor and store it in $1
- getstdout(out PMC) Create a new ParrotIO object for the stdout file descriptor and store it in $1
- getstderr(out PMC) Create a new ParrotIO object for the stderr file descriptor and store it in $1