Skip to content

Future: build IR and Idriç/Edric by Example learning paths #21

Description

@isomorphisms

The eventual language documentation should include a short by-example path in the spirit of Rust by Example, Go by Example, tldr, bropages, and the koan style.

The core observation is simple: people often want one small example of a thing they can do, not a long chapter before they can act. A future IR by Example and Idriç / Edric by Example should therefore start with roughly a dozen tiny runnable examples and grow only as the implementations grow.

The companion koan-by-example branch contains a research note comparing Rust by Example and Go by Example, noting similar Python resources, and sketching a first twelve-example ladder. It also proposes pairing each working example with an optional koan: a blank, wrong value, or failing assertion for the learner to repair.

Research branch: https://github.com/isomorphisms/ir/tree/koan-by-example

Important constraint: examples must follow features the implementation can actually run. Do not copy Rust or Go's surface just because their tutorials cover it.

The first pass should emphasize concrete tasks such as hello world, values, bindings/equality, control flow, functions, data types, collections, conversion, errors, files/CLI, structured data or HTTP, and one characteristic runtime/concurrency example where supported.

Companion issues:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions