Commit Graph

62 Commits

Author SHA1 Message Date
jan
41409cf4f7 create no longer exists. Make mk() give similar ordering as mkpat() 2023-04-06 17:09:46 -07:00
jan
463c41b62a cleanup 2023-04-06 17:03:31 -07:00
jan
62b82eb230 get rid of NamedPattern in favor of just returning a tuple 2023-04-06 16:52:01 -07:00
2364288ba7 port translation is already handled in Pattern 2023-03-31 13:34:49 -07:00
a710494dd8 use Self type 2023-02-23 13:37:34 -08:00
c9402500e2 modernize type annotations 2023-02-23 13:15:32 -08:00
23c64b4f63 remove per-shape polygonization state 2023-02-23 11:25:40 -08:00
c6b8027b4d pass along tools 2023-02-08 08:44:17 -08:00
cca6b90830 misc fixes 2023-02-07 14:24:34 -08:00
5446a8c40b add Pather.mk() 2023-02-04 09:06:31 -08:00
a9188c5655 add name arg 2023-02-04 09:06:22 -08:00
05f327387e pather reorganization/clenaup 2023-02-04 09:05:34 -08:00
c69081331c set default for library to None 2023-01-31 22:33:45 -08:00
4a2c4c5220 Turn Builder into a subset of Pather 2023-01-31 22:28:02 -08:00
jan
6f6143da1a remove some trailing undescores 2023-01-29 16:05:22 -08:00
3105a669b4 add NamedPattern 2023-01-27 10:07:39 -08:00
658eca5eea some cleanup 2023-01-26 16:49:42 -08:00
783953bb73 add FlatBuilder 2023-01-26 16:49:35 -08:00
f80c21ed4d Allow library __setitem__ to take in either Pattern or Callable
No longer need it to be Generic!
2023-01-26 11:36:27 -08:00
6599dad48f move builder.port_utils into utils.ports2data
and rename functions
2023-01-25 23:26:06 -08:00
c2ce9ed547 more fixes and improvements 2023-01-25 23:19:25 -08:00
6eb4af3203 get things working with a LazyLibrary hack while we think about cycles 2023-01-24 23:52:32 -08:00
22735125d5 Lots of progress on tutorials 2023-01-24 23:25:10 -08:00
1b04fb7ed0 lots of fixes to get test_rep running 2023-01-24 12:45:44 -08:00
bd14ef37c7 clarify comment 2023-01-23 23:01:14 -08:00
95c41d4519 get rid of Mapping stuff on PortsList 2023-01-23 22:58:55 -08:00
9f041e51f4 Move Abstract into its own file 2023-01-23 22:42:37 -08:00
09b7ecd80e B becomes BB for searchability 2023-01-23 22:34:44 -08:00
aff0df33cc PortsRef -> Abstract 2023-01-23 22:34:31 -08:00
326c9b9727 flake8-aided fixes 2023-01-23 22:27:26 -08:00
6565b8baa3 more wip -- most central stuff is first pass done 2023-01-22 16:59:32 -08:00
df1acd7c87 wip -- more fixes 2023-01-21 23:38:53 -08:00
jan
743428d8d7 wip 2023-01-21 21:22:11 -08:00
jan
e482107366 wip 2023-01-19 22:20:16 -08:00
a15131f22a busL -> mpath 2023-01-18 22:32:57 -08:00
cb8897b8fe some type updates 2023-01-18 18:14:53 -08:00
dfdceefdcd fix some type-related issues 2023-01-18 17:15:14 -08:00
jan
1741cfb755 wip again 2023-01-13 20:33:14 -08:00
5bb67c817f partial work on device libraries 2023-01-12 23:06:39 -08:00
jan
273d828d87 bifurcate Device into DeviceRef 2023-01-11 20:19:31 -08:00
b4eee6b84e make error message prettier 2023-01-11 19:00:06 -08:00
jan
42c3a2b1e1 WIP: make libraries and names first-class! 2023-01-11 18:59:57 -08:00
fff20b3da9 Avoid generating a container if only a single port is passed 2023-01-11 18:32:08 -08:00
4bae737630 allow bounds to be passed as args 2023-01-11 18:32:08 -08:00
9891ba9e47 allow passing a single Tool to be used as the default 2023-01-11 18:32:08 -08:00
df320e80cc Add functionality for building paths (single use wires/waveguides/etc) 2023-01-11 18:32:01 -08:00
bfabd351c4 fix circular import 2022-06-08 21:12:39 -07:00
jan
2b8195ad3e move dev2pat and pat2dev into masque.builder.port_utils 2022-02-28 23:38:55 -08:00
jan
5ef34794ff keep ordering stable for same-y ports 2022-02-28 22:59:30 -08:00
jan
f178e94d82 remove old overloads 2022-02-27 21:23:03 -08:00