Skip to main content

Examples

This section contains runnable Clyp examples demonstrating idiomatic use of the language and standard library.

Examples included in the repository:

  • hello_world.clyp — a minimal program
  • file_io.clyp — reading and writing files
  • data_structures.clyp — lists, dicts, and iteration
  • advanced_features.clyp — showcases advanced language features

Run examples with: uv run -m clyp run examples/<name>.clyp if you cloned the full repository.