Skip to content

Conversation

@q-inho
Copy link
Member

@q-inho q-inho commented Aug 14, 2025

Summary

This PR documents the Python implementation of H-hat by adding README.md files to key directories. Each README explains the folder’s purpose, main modules, typical call paths, and where to start when extending or testing. This aims to lower onboarding time and make the codebase easier to navigate for contributors.

Checklist

Package root

  • python/src/hhat_lang/README.md

Core

  • python/src/hhat_lang/core/README.md
  • python/src/hhat_lang/core/code/README.md
  • python/src/hhat_lang/core/compiler/README.md
  • python/src/hhat_lang/core/data/README.md
  • python/src/hhat_lang/core/error_handlers/README.md
  • python/src/hhat_lang/core/execution/README.md
  • python/src/hhat_lang/core/imports/README.md
  • python/src/hhat_lang/core/lowlevel/README.md
  • python/src/hhat_lang/core/memory/README.md
  • python/src/hhat_lang/core/types/README.md

Dialects

  • python/src/hhat_lang/dialects/heather/README.md
  • python/src/hhat_lang/dialects/heather/code/README.md
  • python/src/hhat_lang/dialects/heather/code/mlir_builder/README.md
  • python/src/hhat_lang/dialects/heather/code/simple_ir_builder/README.md
  • python/src/hhat_lang/dialects/heather/code/ssa_ir_builder/README.md
  • python/src/hhat_lang/dialects/heather/execution/README.md
  • python/src/hhat_lang/dialects/heather/execution/classical/README.md
  • python/src/hhat_lang/dialects/heather/execution/quantum/README.md
  • python/src/hhat_lang/dialects/heather/grammar/README.md
  • python/src/hhat_lang/dialects/heather/parsing/README.md
  • python/src/hhat_lang/dialects/heather/toolchain/README.md
  • python/src/hhat_lang/dialects/heather/toolchain/notebooks/README.md
  • python/src/hhat_lang/dialects/heather/toolchain/pygments/README.md
  • python/src/hhat_lang/dialects/heather/toolchain/pygments/lexer/README.md

Low level

  • python/src/hhat_lang/low_level/README.md
  • python/src/hhat_lang/low_level/quantum_lang/README.md
  • python/src/hhat_lang/low_level/quantum_lang/net_qasm/README.md
  • python/src/hhat_lang/low_level/quantum_lang/openqasm/v2/README.md
  • python/src/hhat_lang/low_level/target_backend/README.md
  • python/src/hhat_lang/low_level/target_backend/qiskit/README.md
  • python/src/hhat_lang/low_level/target_backend/qiskit/openqasm/README.md
  • python/src/hhat_lang/low_level/target_backend/squidasm/README.md

Toolchain

  • python/src/hhat_lang/toolchain/README.md
  • python/src/hhat_lang/toolchain/cli/README.md
  • python/src/hhat_lang/toolchain/notebooks/README.md
  • python/src/hhat_lang/toolchain/project/README.md

@q-inho q-inho changed the base branch from main to dev/python_impl/ir_parsing August 14, 2025 13:27
@q-inho q-inho force-pushed the dev/python_impl/readme branch 2 times, most recently from fc7a570 to f6f8177 Compare August 20, 2025 19:17
…ME.md files for H-hat Core, Code IR, Compiler, Data, Error Handlers, Execution, Imports, Low-level Backends, Memory, and Types to enhance clarity and detail.
@q-inho q-inho force-pushed the dev/python_impl/readme branch from f6f8177 to 6fded76 Compare September 3, 2025 02:58
…r overview, purpose, subsystem layout, and processing flow sections.
…verview, purpose, scope, core concepts, and processing flow sections.
…er overview, purpose, architectural role, processing flow, and integration points.
…verview, purpose, scope, core concepts, and processing flow sections.
…verview, purpose, design overview, structural units, symbol and reference tables, program graph, instruction model, and utilities.
…rs overview, purpose, design overview, error taxonomy, interaction with core subsystems, and usage pattern sections.
…yer overview, purpose, scope, core concepts, execution model, IR graph management, memory and scope discipline sections.
… overview, purpose, scope, core concepts, processing flow, resource and scope discipline, function entry and return, and quantum index lifecycle sections.
…r overview, purpose, project layout assumptions, name to path mapping, loading and graph interaction, type resolution, function resolution, reference table construction, and file inventory sections.
…ckends overview, purpose, context and scope, abstraction model, interface contract, processing flow, resource and index discipline, error model and results, and file inventory sections.
…overview, purpose, scope, core concepts, structural families, built-in catalog and conversion, size resolution, and file inventory sections.
@q-inho q-inho self-assigned this Sep 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants