Add std::os module
This module will be used for obtaining information about the underlying operating system. This module should support the following:
-
Obtaining a string that describes the OS family: "windows" for Windows, "linux" for Linux, "bsd" for BSD, "macosx" for Mac OS X, "unix" for other Unix systems, "other" for everything else: 0f97dcd5 -
Getting the newline separator for the current platform. This would be a constant set based on the output of the above. This would basically be a let NEWLINE = (family == 'windows').if true: { "\r\n" }, false: { "\n" }
: 0f97dcd5
Edited by Yorick Peterse