Figure 6.1, “Dependencies Among the Stanard Mindy Libraries” and Table 6.1, “Standard Mindy Libraries and Modules” show the libraries included with mindy, a bytecode compiler produced as part of the Gwydion Project . Also shown are the dependencies between the libraries and the major modules contained within each. For more information on these libraries and their use, see the mindy documentation and source code.
Table 6.1. Standard Mindy Libraries and Modules
Library | Module | Purpose |
---|---|---|
Dylan | Dylan | standard Dylan |
Extensions | Mindy extensions | |
System | general functions | |
File-Descriptors | UNIX-style file support | |
Threads | threads and semaphores | |
Hash-Tables | additional table support | |
Introspection | program examination | |
Cheap-IO | basic, unformatted I/O | |
Extern | support for linking to C | |
Transcendental | trig and other math | |
Collection-Extensions | Heap | standard heaps |
Self-Organizing-List | “poor man's hash table” | |
Vector-Search | search, replace support | |
Subseq | slices of sequences | |
Sequence-Diff | “diff” for sequences | |
String-Extensions | String-Conversions | strings to/from integers |
Character-Type | similar to C's “ctype.h ” | |
String-Hacking | useful string functions | |
Substring-Search | similar to Perl | |
Regular-Expressions | similar to Perl | |
Streams | Streams | UNIX stream I/O |
Standard-IO | the 3 standard streams | |
PPrint | Pretty-printing | |
General object output | ||
Format | Format | Formatted output |
Random | Random | Random distributions |
The String-Extensions library, in particlar, contains a number of useful functions. It provides many of Perl's popular text-manipulation features.