Skip to content

Interface definition library #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 25 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
a13452a
WIP RFC: Interface definition library.
whitequark Feb 16, 2023
a583386
Update outdated code examples and add one with type annotations
whitequark Jun 27, 2023
94a4d64
More fixes to code examples
whitequark Jun 27, 2023
0ab3d43
Update naming questions
whitequark Jun 27, 2023
58a2820
`Signature.create_members()` -> `Signature.members.create()`
whitequark Jun 27, 2023
27c4e2b
Remove `Signature.__eq__()` since it's hard to implement when flippin…
whitequark Jun 27, 2023
4231d4e
`Component.__init__` to abort on name conflict
whitequark Jun 27, 2023
c119b00
Wording
whitequark Jun 27, 2023
04ffa6d
`member.signature` flips if `member.flow == In`
whitequark Jun 27, 2023
2834775
`signature.freeze()` returns self
whitequark Jun 27, 2023
98ae16e
Unclear if `Signature.__iter__` and `.__getitem__` are needed.
whitequark Jun 27, 2023
5867800
Add `Signature.flipped` and self rebinding
whitequark Jun 27, 2023
8e9e232
Add bigger name question
whitequark Jun 28, 2023
ae63fe6
`lib.component`->`lib.wiring`, update `connect()` spec, update naming…
whitequark Aug 12, 2023
4cfa45e
clarify
whitequark Aug 12, 2023
9bffd2f
update after meeting
whitequark Aug 14, 2023
8407b96
add a note on connecting constant port members
whitequark Aug 15, 2023
536f4f8
update guide level section for transposing
whitequark Aug 17, 2023
b2e9f41
add unresolved question about component and MRO
whitequark Aug 17, 2023
0ac293f
add `Interface` and move `signature.create()` logic to `Interface.__i…
whitequark Aug 17, 2023
7b46aef
extend `Component.signature` to take annotations from the MRO
whitequark Aug 17, 2023
1f6c827
remove `sig.flipped`, recommend `type(self) is FlippedSignature`
whitequark Aug 17, 2023
c53abf7
add (back) unresolved question about `transpose`
whitequark Aug 19, 2023
c52952f
describe `.array` as composable
whitequark Aug 19, 2023
379d419
go back to `flipped()` from `transpose()`
whitequark Aug 19, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion text/0001-aggregate-data-structures.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

Add a rich set of standard library classes for accessing hierarchical aggregate data an idiomatic way, to fill one of the two major use cases of `Record` while avoiding its downsides.

See also #???.
See also [RFC #2](0002-interfaces.html).


## Motivation
Expand Down
Loading