Commit Graph

61 Commits (c7505a12b0f4ad2614c488487eb8a409a1f307d0)

Author SHA1 Message Date
jan c7505a12b0 should be union; we want to exclude dangling refs 1 year ago
jan abef8771db fixes to subtree and lshift, as well as some cast() improvements 1 year ago
jan e8b5c7dec8 lshift operator shouldn't special-case trees
Instead, just call .tops() if there are multiple cells, and fail if
there are multiple tops
1 year ago
jan 438b81e62e find_toplevel -> tops 1 year ago
jan 0a14325af8 fix return value 1 year ago
jan 5b1abf5f72 top is always a string 1 year ago
jan 62b82eb230 get rid of NamedPattern in favor of just returning a tuple 1 year ago
Jan Petykiewicz e87b13c4eb Need to check against self, since we may add new conflicts as we go 1 year ago
Jan Petykiewicz f5d1fd2c29 Pipe-operator does not support forward references 1 year ago
Jan Petykiewicz a710494dd8 use Self type 1 year ago
Jan Petykiewicz c9402500e2 modernize type annotations 1 year ago
Jan Petykiewicz 7a4a96ff5f fixes based on mypy 1 year ago
Jan Petykiewicz 3191866ce0 add prune_empty and delete() 1 year ago
Jan Petykiewicz 8c42145e44 fixes/updates 1 year ago
Jan Petykiewicz 1d720b6577 Drop ports by default 1 year ago
Jan Petykiewicz ed8f2c1864 fix precache 1 year ago
Jan Petykiewicz 492565c1a6 redo library merging 1 year ago
Jan Petykiewicz e8348dfa75 Make default quiet for underscores 1 year ago
Jan Petykiewicz cca6b90830 misc fixes 1 year ago
Jan Petykiewicz 1d649389a0 LazyLibrary should not contain `Tree`s
altering itself during iteration is not a good idea
1 year ago
Jan Petykiewicz dc2c12c26f missing import 1 year ago
Jan Petykiewicz a1c4cdee1e fix type for __contains__ 1 year ago
Jan Petykiewicz 9d466882a0 misc fixes 1 year ago
Jan Petykiewicz 369bad9ae4 Only allow 1-sized Libraries 1 year ago
Jan Petykiewicz ee6d857cad Allow lshift to operate on any library. If only one name, return it, else None 1 year ago
Jan Petykiewicz 5e2018a1a1 add missing functions to tree 1 year ago
Jan Petykiewicz 482ca058bb add lshift operator to MutableLibrary 1 year ago
Jan Petykiewicz 83c710a85f fix add_tree operator 1 year ago
Jan Petykiewicz 81171e9b02 Allow LazyLibrary to store Trees as well? 1 year ago
Jan Petykiewicz 02da37a890 Use lshift for tree combination 1 year ago
Jan Petykiewicz b9848d149c ergonomics 1 year ago
Jan Petykiewicz 454f167340 Add Tree as a possible way to allow construction of whole subtrees at once 1 year ago
Jan Petykiewicz 7191e5f62c Add move_references() and auto-move references during add()-with-rename
Also remove enable_cache, since we now rely on the cache.
1 year ago
Jan Petykiewicz 3be4da3e7c implement auto-renaming during merge, and change _merge() to support it 1 year ago
jan 6f6143da1a remove some trailing undescores 1 year ago
Jan Petykiewicz 3105a669b4 add NamedPattern 1 year ago
Jan Petykiewicz 171d61ccab add .create() 1 year ago
Jan Petykiewicz 7adaea32ec add library .rename(...) 1 year ago
Jan Petykiewicz d6b897131b missing comma 1 year ago
Jan Petykiewicz 6cbdd7930d add name_and_set 1 year ago
Jan Petykiewicz a061c5a2d9 add missing comments 1 year ago
Jan Petykiewicz f80c21ed4d Allow library __setitem__ to take in either Pattern or Callable
No longer need it to be Generic!
1 year ago
Jan Petykiewicz c2ce9ed547 more fixes and improvements 1 year ago
Jan Petykiewicz 6eb4af3203 get things working with a LazyLibrary hack while we think about cycles 1 year ago
Jan Petykiewicz 22735125d5 Lots of progress on tutorials 1 year ago
Jan Petykiewicz 1b04fb7ed0 lots of fixes to get test_rep running 1 year ago
Jan Petykiewicz c0b9b7fe81 add todos 1 year ago
Jan Petykiewicz 189f517dcf add AbstractView 1 year ago
Jan Petykiewicz 9f041e51f4 Move Abstract into its own file 1 year ago
Jan Petykiewicz 2302d29433 library can generate abstracts 1 year ago