Contents
Syntax
The syntax for
lolcat{options}(params)
@lolcat{options}(params)
Description
The
Note: There is a modified version of lolcat-cc in-built in to Nift, however you can use
- FreeBSD (ports, fast C implementation)
- Linux (, , , , Rust implementation)
- OSX (, , fast C implementation)
Note: If you want multiple
Options
The following options are available for
option | description |
---|---|
read and output block of text following |
|
do not parse block of text | |
option | description |
f++ example
Example of
:=(int, i=12) :=(string, str="hello") console.lock lolcat("i: ", i) lolcat(str, ", world!") lolcat("first line", endl, "second line") lolcat{block} { first line second line third line } console.unlock
n++ example
Example of
@:=(int, i=12) @:=(string, str="hello") @console.lock @lolcat("i: ", i) @lolcat(str, ", world!") @lolcat("first line", endl, "second line") @lolcat{block} { first line second line third line } @console.unlock