Replies: 1 comment 8 replies
-
Hi there! I'm the Cider (interpreter/debugger) person, so feel free to direct all your questions or wrath in my direction. Off the top it is worth mentioning that you are asking about the Cider 1 code which is soon to be removed---possibly by the end of the week if I code fast---in favor of the Cider 2 architecture (currently lives under the So to answer your questions: Your assessment is correct. I've offered a few elaborations on the given points.
Yup! Every component instance is one of these two depending on how it is defined. These interpreter objects implement the same trait interface as primitives, so components that own components are oblivious to whether their cells are primitives from the standard library or are themselves Calyx components.
Yup, everything lives there in the Can you tell me a bit more about what state you're hoping to trace? |
Beta Was this translation helpful? Give feedback.
-
I am tinkering with a project right now and need to find all for the component being interpreted/debugged. After reading through the
interp
library's code, and running through a few of the example tests, it seems that:InterpreterState
struct.Is that assessment correct?
Currently, the goal is to just write a trace of the interpreter state to disk, perhaps by extending the struct with a serde derivation.
Beta Was this translation helpful? Give feedback.
All reactions