Skip to content

Complete the PyIR instruction set and make IR immutable #13

Closed

Description

@SizzleUnrlsd

PyIR must stay faithful to Python and must not reproduce LLVM's memory model (obj.foo stays get_attr).

Already covered: Const, Global, Symbol, BinaryOp, UnaryOp, Compare, Call, GetAttr, GetItem, GetIter, LoadLocal, StoreLocal, Return, Branch, Jump, Raise, ForNext.

Reference: docs/architecture.md §6 PyIR, §39 Rule 3.

Delivery: #14 (terminators, immutable blocks, lowering over the CFG)

Delivery: #26 (stores, builders, with, assert, keywords)

Delivery: #49 (Import instruction, schema version)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions