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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Jun 4 11:14:56 BST 2023


--- Comment #32 from Dmitry Selyutin <ghostmansd at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #30)
> (In reply to Dmitry Selyutin from comment #28)
> > Provided two new visitors: pcode and extras.
> let's not go down the rabbithole of walking the entire pcode AST
> quite just yet :)  (there's python-ply for that)

Yeah, this should also be a separate visitor. This should make the generation
simpler. Anyway, not in this task scope. :-)

> > $ pysvp64db extras sv.setvl 
> > in1
> >     sel RA0
> >     reg RA
> >     seltype SRC
> >     idx EXTRA1
> this is going to be incredibly useful.  i can see scenarios where
> latex auto-conversion is possible, and much more.

Now that you mentioned this, I thought I should provide a separate .visit
method for handling these, like Database and Record classes have. These should
come handy for C code generation too.

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

More information about the libre-soc-bugs mailing list