Jan Petykiewicz
e0939049dd
force 'wb' mode for gzipfile
7 months ago
Jan Petykiewicz
88adc08259
data_to_ports max_depth default to 0
...
Makes it more compatible with LazyLibrary -- with recursive approach, we
have to load all the subcells to run ports2data, but those subcells may
or may not exist (e.g. partial library, or maybe we've removed some
duplicates-to-be prior to merging with a different lib)
7 months ago
Jan Petykiewicz
4ab718d578
pass along library for bounds
7 months ago
Jan Petykiewicz
f834aaee47
fix precache
7 months ago
Jan Petykiewicz
27d87a988d
redo library merging
7 months ago
Jan Petykiewicz
6f97f7e6db
pass along tools
7 months ago
Jan Petykiewicz
d0f76d150f
Make default quiet for underscores
7 months ago
Jan Petykiewicz
5ffcadb362
always apply postprocess
7 months ago
Jan Petykiewicz
2ccef554db
misc fixes
7 months ago
Jan Petykiewicz
d349aa3366
Revert "allow ports2data to take a tree"
...
This reverts commit 44f823c736
.
LazyLibrary can't take Trees anymore, so no need for it.
7 months ago
Jan Petykiewicz
680da46f5c
LazyLibrary should not contain `Tree`s
...
altering itself during iteration is not a good idea
7 months ago
Jan Petykiewicz
59a986546c
missing import
7 months ago
Jan Petykiewicz
19ac45a4f4
fix type for __contains__
7 months ago
Jan Petykiewicz
db7a98bb0f
allow ports2data to take a tree
7 months ago
Jan Petykiewicz
8687badac5
misc fixes
7 months ago
Jan Petykiewicz
4a6584a60a
Only allow 1-sized Libraries
7 months ago
Jan Petykiewicz
4a94259249
Allow lshift to operate on any library. If only one name, return it, else None
7 months ago
Jan Petykiewicz
7cc732248e
add missing functions to tree
7 months ago
Jan Petykiewicz
98728521fd
add Pather.mk()
7 months ago
Jan Petykiewicz
460222ce6e
add name arg
7 months ago
Jan Petykiewicz
f1a380b170
pather reorganization/clenaup
7 months ago
Jan Petykiewicz
38585e5a9e
add lshift operator to MutableLibrary
7 months ago
Jan Petykiewicz
2449486a28
set default for library to None
7 months ago
Jan Petykiewicz
4fc2e67b62
Turn Builder into a subset of Pather
7 months ago
Jan Petykiewicz
039320d180
fix add_tree operator
7 months ago
Jan Petykiewicz
853c20e8df
Allow LazyLibrary to store Trees as well?
7 months ago
Jan Petykiewicz
f642c226c7
Use lshift for tree combination
7 months ago
Jan Petykiewicz
103eb4f1f8
stringy type
7 months ago
Jan Petykiewicz
abc721cf67
ergonomics
7 months ago
Jan Petykiewicz
d8e789f179
Add Tree as a possible way to allow construction of whole subtrees at once
7 months ago
Jan Petykiewicz
234557dc93
Add move_references() and auto-move references during add()-with-rename
...
Also remove enable_cache, since we now rely on the cache.
7 months ago
Jan Petykiewicz
439d5914e0
implement auto-renaming during merge, and change _merge() to support it
7 months ago
jan
ac9776628a
remove some trailing undescores
7 months ago
Jan Petykiewicz
ab8fd9b351
add NamedPattern
7 months ago
Jan Petykiewicz
1a9116cdbe
add .create()
7 months ago
Jan Petykiewicz
e348267a3d
notes on organization
7 months ago
Jan Petykiewicz
7a8a3ef3c7
note in comments
7 months ago
Jan Petykiewicz
f8b5cec340
Add recurse arg to get_bounds
7 months ago
Jan Petykiewicz
1598582865
remove log messages
7 months ago
Jan Petykiewicz
42ee4db989
Return WrapLibrary from read() and readfile()
7 months ago
Jan Petykiewicz
a35bf9770a
Default to adding ports at the origin
7 months ago
Jan Petykiewicz
5c48a28661
some cleanup
7 months ago
Jan Petykiewicz
a8da0fc429
add FlatBuilder
7 months ago
Jan Petykiewicz
cb87543e0c
import ports2data at top level
7 months ago
Jan Petykiewicz
e5029ae21d
add library .rename(...)
7 months ago
Jan Petykiewicz
0172b7488e
missing comma
7 months ago
Jan Petykiewicz
d44374bf1f
writefile should write to a temporary file first
7 months ago
Jan Petykiewicz
5fcd31a719
add name_and_set
7 months ago
Jan Petykiewicz
2940316c48
add missing comments
7 months ago
Jan Petykiewicz
c0e4ee1b6b
Allow library __setitem__ to take in either Pattern or Callable
...
No longer need it to be Generic!
7 months ago