Skip to content
Discussion options

You must be logged in to vote

is the process of list comprehension in python (at levels lower than source-code, say AST etc.) made up of modular components which can be used to spit out a similar optimum process for tuple comprehension via hylang?

No, each comprehension type is its own AST node type, and there is no API to add and implement your own node types.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@wrobell
Comment options

Comment options

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

@Kodiologist
Comment options

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