Base libraries#
These are the base libraries for the GNU Modula-2 compiler. These
modules originally came from the M2F compiler and have been cleaned up
and extended. They provide a basic interface to the underlying
operating system via libc. They also include a number of libraries to
allow access to compiler built-ins. Perhaps the largest difference to
PIM and ISO libraries is the DynamicString
module which
declares the type String
. The heavy use of this opaque data
type results in a number of equivalent modules that can either handle
ARRAY OF CHAR
or String
.
These modules have been extensively tested and are used throughout building the GNU Modula-2 compiler.
- gm2-libs/ASCII
- gm2-libs/Args
- gm2-libs/Assertion
- gm2-libs/Break
- gm2-libs/Builtins
- gm2-libs/COROUTINES
- gm2-libs/CmdArgs
- gm2-libs/Debug
- gm2-libs/DynamicStrings
- gm2-libs/Environment
- gm2-libs/FIO
- gm2-libs/FormatStrings
- gm2-libs/FpuIO
- gm2-libs/GetOpt
- gm2-libs/IO
- gm2-libs/Indexing
- gm2-libs/LMathLib0
- gm2-libs/LegacyReal
- gm2-libs/M2Dependent
- gm2-libs/M2EXCEPTION
- gm2-libs/M2LINK
- gm2-libs/M2RTS
- gm2-libs/MathLib0
- gm2-libs/MemUtils
- gm2-libs/NumberIO
- gm2-libs/OptLib
- gm2-libs/PushBackInput
- gm2-libs/RTExceptions
- gm2-libs/RTint
- gm2-libs/SArgs
- gm2-libs/SCmdArgs
- gm2-libs/SEnvironment
- gm2-libs/SFIO
- gm2-libs/SMathLib0
- gm2-libs/SYSTEM
- gm2-libs/Scan
- gm2-libs/Selective
- gm2-libs/StdIO
- gm2-libs/Storage
- gm2-libs/StrCase
- gm2-libs/StrIO
- gm2-libs/StrLib
- gm2-libs/StringConvert
- gm2-libs/SysExceptions
- gm2-libs/SysStorage
- gm2-libs/TimeString
- gm2-libs/UnixArgs
- gm2-libs/cbuiltin
- gm2-libs/cgetopt
- gm2-libs/cxxabi
- gm2-libs/dtoa
- gm2-libs/errno
- gm2-libs/gdbif
- gm2-libs/ldtoa
- gm2-libs/libc
- gm2-libs/libm
- gm2-libs/sckt
- gm2-libs/termios
- gm2-libs/wrapc