Skip to content
Docs

The Gabonomicon

This section is the canonical gab handbook. It is the recommended starting-point for developers who want to learn gab.

Everything you need to get off the ground and writing gab lives in this section - it also includes some useful example programs to demonstrate how you may use gab’s features to build software.

Modules

This section contains specifications for the modules that come with gab - specifically, all the modules in the gab-language/cgab package. Such modules include Number, String, and File. Consider this gab’s standard-library documentation.

These pages are generated from Specs, which is itself a builtin module for testing defining types.

Protocols

This section contains specifications for the protocols that are defined and used with the builtin gab-language/cgab package. Such protocols include seqable and streamable, which define interfaces for iterating and performing Io, respectively.

These pages are useful when defining your own types which fulfill these protocols, for use with messages from the builtin package such as map or pipe.

They are also generated from Specs. It is good practice to create specs when building your own protocols, for documentation and testing.