Skip to content
Brent Yorgey edited this page May 16, 2024 · 12 revisions

The Swarm codebase has gotten large enough to be quite intimidating at first glance (currently, as of May 2024, 28K SLOC across 224 modules). This page contains a (work-in-progress) guide to help orient developers to the codebase.

To help with organization and enforce modularity, the codebase is first broken into a number of sublibraries, listed below. Click on a sublibrary to jump to the section outlining its contents.

swarm-util

The swarm-util sublibrary contains various miscellaneous utilities which are used throughout the Swarm codebase.

swarm-lang

The swarm-lang library contains definitions and tools for working with the Swarm programming language.

swarm-scenario

  • Swarm.Constant
  • Swarm.Util.Content
  • Swarm.Util.Effect

swarm-engine

swarm-doc

swarm-tui

swarm-web