Portable standard facades for byte text, environment, timers, randomness, mapped files, streams, worker pools, directory trees and threads; full ASCII lowercase in std/unicode; examples move to examples/ with generated site pages; Go output handles mixed-width slice bounds.
10 lines
303 B
Ziran
10 lines
303 B
Ziran
// Values: integers, floats, booleans, and text.
|
|
main :: () {
|
|
print("text: %\n", "ziran");
|
|
print("1 + 1 = %\n", 1 + 1);
|
|
print("7.0 / 3.0 = %\n", 7.0 / 3.0);
|
|
print("true and false: %\n", true && false);
|
|
print("true or false: %\n", true || false);
|
|
print("not true: %\n", !true);
|
|
}
|