Skip to content

Add Enum support#48

Open
pbedn wants to merge 1 commit into
masterfrom
codex/implement-python-like-enums-in-pb
Open

Add Enum support#48
pbedn wants to merge 1 commit into
masterfrom
codex/implement-python-like-enums-in-pb

Conversation

@pbedn

@pbedn pbedn commented Aug 7, 2025

Copy link
Copy Markdown
Owner

Summary

  • implement Python-style Enum classes
  • generate typedef enum in C output
  • export enum members from modules
  • parse, typecheck and compile enums
  • add stdlib marker class Enum
  • test parser, type checker, module loader, codegen, pipeline

Testing

  • pytest -q

https://chatgpt.com/codex/tasks/task_e_6885d49a5fcc83219c9f07a27242e87e

Sign up for free to 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.

1 participant