[Libre-soc-bugs] [Bug 1094] insndb instruction database visitor-walker is needed

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri Jun 9 17:39:57 BST 2023


https://bugs.libre-soc.org/show_bug.cgi?id=1094

--- Comment #68 from Dmitry Selyutin <ghostmansd at gmail.com> ---
I think the users of API will have some difficulties differentiating which
stuff comes from where, especially with nested data types (e.g. dataclasses or
tuple-like or similar).
Options are:
1. For dataclasses or dict-like, yield field names along with nodes. For
tuples, yield index. Something else for others?
2. Have the types decoupled, so that by type it's possible to determine the
origin. Seems kinda dumb and overkill.
3. Yield the node parent along with the node itself.

Ideas and suggestions are welcome.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list