|
hoshi-lang dev
Yet another programming language
|
Hoshi-lang provides a console standard library module for interacting with the console.
The print function is used to print text to the console.
print(s: str.Str) : none: Prints a Str object to the console.print(args: ...str.Stringable) : none: Prints a variable number of arguments to the console. Each argument must implement the Stringable interface.The input function is used to read a line of text from the console.
input() : str.Str: Reads a line of text from the console.input(s: str.Str) : str.Str: Prints a prompt and then reads a line of text from the console.```