Examples

spork-lang 0.6.0

Maintained walkthroughs for first programs, async Python libraries, macros, command providers, and static sites.

These examples are complete enough to copy into a project, but small enough to inspect in one sitting. Network examples are explicitly identified and are not executed during documentation verification.

Learning path#

  1. First program — run one source file and inspect persistent values.
  2. Async HTTP — call an asynchronous Python package.
  3. GitHub stars — combine a macro, pattern matching, and sorted iteration.
  4. Command provider — publish a package-owned top-level command.
  5. Static site — configure a source-only spork-site project.