Skip to content

Composing "initial style" interpreter with final one #14599

Answered by femtomc
femtomc asked this question in Q&A
Discussion options

You must be logged in to vote

Re — I thought about this today and I think the correct way to do this is to write an interpreter which gets access to the trace, and lifts arguments to tracer type, and then calls bind internally as it iterates over equations in the Jaxpr.

I think I can even do exotic things like CPS in this idiom.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@femtomc
Comment options

@femtomc
Comment options

Answer selected by femtomc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant