2019-02-04 22:26:45 +00:00
|
|
|
Title: foundation
|
|
|
|
Author: Graham Nelson
|
2020-05-03 16:12:45 +00:00
|
|
|
Purpose: A library of utility functions for command-line tools.
|
2019-02-04 22:26:45 +00:00
|
|
|
Language: InC
|
|
|
|
Licence: Artistic License 2.0
|
|
|
|
|
2020-04-15 22:45:08 +00:00
|
|
|
Preliminaries
|
|
|
|
A Brief Guide to Foundation
|
|
|
|
|
2019-02-04 22:26:45 +00:00
|
|
|
Chapter 1: Setting Up
|
|
|
|
"Absolute basics."
|
2020-04-09 17:32:37 +00:00
|
|
|
Foundation Module
|
2019-02-04 22:26:45 +00:00
|
|
|
POSIX Platforms ^"ifdef-PLATFORM_POSIX"
|
|
|
|
Windows Platform ^"ifdef-PLATFORM_WINDOWS"
|
|
|
|
|
|
|
|
Chapter 2: Memory, Streams and Collections
|
|
|
|
"Creating objects in memory, and forming lists, hashes, and text streams."
|
|
|
|
Debugging Log
|
|
|
|
Memory
|
2020-05-09 12:05:00 +00:00
|
|
|
Foundation Classes
|
2020-07-04 19:28:54 +00:00
|
|
|
Locales
|
2019-02-04 22:26:45 +00:00
|
|
|
Streams
|
|
|
|
Writers and Loggers
|
|
|
|
Methods
|
|
|
|
Linked Lists and Stacks
|
|
|
|
Dictionaries
|
2020-04-17 18:18:40 +00:00
|
|
|
Trees
|
2019-02-04 22:26:45 +00:00
|
|
|
|
|
|
|
Chapter 3: The Operating System
|
|
|
|
"Dealing with the host operating system."
|
|
|
|
Error Messages
|
|
|
|
Command Line Arguments
|
|
|
|
Pathnames
|
|
|
|
Filenames
|
|
|
|
Case-Insensitive Filenames
|
|
|
|
Shell
|
|
|
|
Directories
|
|
|
|
Time
|
|
|
|
|
|
|
|
Chapter 4: Text Handling
|
|
|
|
"Reading, writing and parsing text."
|
|
|
|
Characters
|
|
|
|
C Strings
|
|
|
|
Wide Strings
|
|
|
|
String Manipulation
|
|
|
|
Text Files
|
|
|
|
Tries and Avinues
|
|
|
|
Pattern Matching
|
|
|
|
|
|
|
|
Chapter 5: Generating Websites
|
|
|
|
"For making individual web pages, or gathering them into mini-sites or ebooks."
|
|
|
|
HTML
|
|
|
|
Epub Ebooks
|
|
|
|
|
|
|
|
Chapter 6: Media
|
|
|
|
"Examining image and sound files."
|
|
|
|
Binary Files
|
|
|
|
Image Dimensions
|
|
|
|
Sound Durations
|
2020-03-22 22:44:26 +00:00
|
|
|
|
|
|
|
Chapter 7: Semantic Versioning
|
|
|
|
"For reading, storing and comparing standard semantic version numbers."
|
|
|
|
Version Numbers
|
|
|
|
Version Number Ranges
|
2020-04-01 19:43:48 +00:00
|
|
|
|
|
|
|
Chapter 8: Literate Programming
|
|
|
|
Web Structure
|
2020-04-01 23:45:41 +00:00
|
|
|
Bibliographic Data for Webs
|
2020-04-01 19:43:48 +00:00
|
|
|
Web Modules
|
|
|
|
Build Files
|