Skip to content

Wire count ergonomics. Infer wire count from context #508

Description

@mofosyne

For something like below

cables:
  B1: {}

connections:
  - X1: [1,2,3,4]
  - B1
  - X2: [1,2,3,4]

It should be inferred that we want 4 wires and that B1 wire set is [1,2,3,4]


If we go more ambitous... perhaps

Example:

paths:
  - X1 -> B1 -> X2

This compiles into:

- X1: [1,2,3,4]
- B1
- X2: [1,2,3,4]

Which will decompose to:

- X1: [1,2,3,4]
- B1: [1,2,3,4]
- X2: [1,2,3,4]

Anyway be interesting to hear other's people's perspective on overall wireviz syntax ergonomics

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions