Skip to content

An interpretor that works more like a transformer? #1233

Answered by MegaIng
traverseda asked this question in Q&A
Discussion options

You must be logged in to vote

As you probably noticed, v_args is basically completely incompatible with Interpreter. While it might be possible, it's not an "easy hack". I don't really have an alternative suggestions right now, this is something that someone would have to spend some time on to implement.

My idea would be to add a way to make sure that the v_args wrapper class can be made aware that it's part of a Interpreter and not a normal Transformer and make any required changes, and therefore to partially more visit_children_decor into a similar system as the current VArgsWrappers. But I didn't plan out anything specifically

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by traverseda
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants