Skip to content

Conversation

@iritkatriel
Copy link
Member

@iritkatrieliritkatriel commented Aug 23, 2024

@picnixzpicnixz changed the title gh-121303: more compiler_* -> codegen_*, class_body and comprehensionsgh-121404: more compiler_* -> codegen_*, class_body and comprehensionsAug 23, 2024
iritkatrieland others added 2 commits August 23, 2024 14:54
Co-authored-by: Bénédikt Tran <[email protected]>
#define IS_INTERACTIVE(C) compiler_is_interactive(C)
#define IS_NESTED_SCOPE(C) compiler_is_nested_scope(C)
#define SCOPE_TYPE(C) compiler_scope_type(C)
#define QUALNAME(C) compiler_qualname(C)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see why you are adding this macro; it fits the pattern.

But OOI, why do we have all these macros in the first place?

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know why originally, but I think it will be handy for customizing the compiler after I finish the split. We'll see.

Copy link
Member

@markshannonmarkshannon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@iritkatriel@markshannon@picnixz