junrushao1994 commented on PR #79: URL: https://github.com/apache/tvm-rfcs/pull/79#issuecomment-1198677227
> So if you define a variable in a quoted portion, you should be able to reference it in the unquoted portion - From quoted to unquoted: Yes, that's correct. - From unquoted to quoted: For security concern, accessing values from unquoted portion will require explicit specification if the values are not basic atomic ones (int, float, str, None, etc) > I am mostly curious about how the interactions between quoting and unquoting will be defined and also how it would be implemented. The mechanism here is that the core logic is in IRBuilder, and the parser is only a thin wrapper of the IRBuilder. More specifically, any `T.xxx` is a call into the IRBuilder, in both quoted and unquoted portion, and the only difference is it's run by the interpreter or the parser. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
