Standard Library
The Mew code that comes with the compiler, compiled once into Mew.Std.dll.
| Namespace | Description |
|---|---|
std |
Printing, stopping, Option, Result, sequences and strings |
std.build |
What the tasks of a build call |
std.build.dotnet |
Running the .NET SDK from a build |
std.build.engine |
What a build file is compiled into |
std.cli |
Reading options from a program's arguments |
std.collections |
Collections that grow |
std.convert |
Turning text into numbers and back |
std.io |
Files, directories, and the patterns that find them |
std.process |
Running other programs |
stdis imported into every file. The others are imported withuse, or written in front of the name, asstd.convert.itoa(42).- Your own functions come first, so one named
printlnhides the library's, which is still there asstd.println. - You can add members to the library's types, but not make them implement an interface.
- The library is ordinary Mew, and reaches the platform the way your own code does.
Important
This surface is expected to change, and to grow. What belongs in the language, in the library that ships with it, and in a package someone installs has not been settled, so treat this as what exists today rather than as a stable surface.