Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
069c3e3
Update issue templates
Doomsk May 13, 2025
ff4d0b7
Dev/python to main (#36)
Doomsk May 13, 2025
17371f4
Docs updated from `main` branch (#37)
Doomsk May 13, 2025
a9cfb19
Update issue templates
Doomsk May 16, 2025
88c4bab
Add more docs pages and pre-commit (#42)
Doomsk May 19, 2025
907d9ab
Small docs addition (#45)
Doomsk May 19, 2025
16293ca
Place pre-commit and CI/CD checks (#51)
Doomsk May 30, 2025
8e0a483
[IMPL] @not instruction for OpenQASM v2.0 #38 (#50)
martin-klacan May 30, 2025
b73e3f5
Add cli with typer for toolchain.project for Issue #39 (#56)
Hazarre Jun 1, 2025
3aa943d
Add Heather AST parsing visitor (#60)
Doomsk Jun 8, 2025
0552971
small fix
Doomsk Jun 13, 2025
66e8cef
import types from the `src/hat_types/` directory (#59)
q-inho Jun 15, 2025
c233454
Add `@nez` instruction for `OpenQASMv2.0` (#58)
q-inho Jun 16, 2025
1a23ff9
add new idea for IR structure and logic
Doomsk Jun 22, 2025
a6662b5
add new parsing to IR
Doomsk Jun 23, 2025
8a81743
Merge branch 'main' into dev/python_impl/ir_parsing
Doomsk Jun 23, 2025
d1af3b0
improve ir, types
Doomsk Jun 27, 2025
af62d25
add new IR to test parsing feasibility
Doomsk Jul 6, 2025
bc1b98a
Add author in pyproject.toml (#65)
q-inho Jul 8, 2025
5d05603
improve code around new IR logic
Doomsk Jul 9, 2025
7b25d67
introduce abstract interpreter class to hold H-hat dialects-specific …
Doomsk Jul 9, 2025
f568943
implement big changes on type importer
Doomsk Jul 14, 2025
5d94d78
(wip) implement IR graph
Doomsk Jul 24, 2025
83e56e9
(wip) implement IR graph
Doomsk Aug 7, 2025
6aac37f
handling IR to build IRGraph, insert and retrieve IR modules, types a…
Doomsk Aug 8, 2025
cc7a0cc
implement IR graph structure, logic and constructors
Doomsk Aug 12, 2025
d16323b
implement IR graph
Doomsk Aug 16, 2025
4849951
Update issue templates
Doomsk Aug 21, 2025
a436301
(wip) big cleanup, big refactor
Doomsk Aug 24, 2025
65fb4e5
(wip) fix mypy
Doomsk Aug 24, 2025
d247523
fix mypy
Doomsk Aug 25, 2025
6d6eb00
fix file creation during pytest
Doomsk Aug 25, 2025
7093442
fix folders handling on pytest
Doomsk Aug 25, 2025
8208e3d
Merge branch 'main' into dev/python_impl/ir_parsing
Doomsk Sep 4, 2025
9a794f9
(wip) functions definitions
Doomsk Sep 9, 2025
78f04e6
add basic built-in functions for int and float types: print, add, sub…
Doomsk Sep 11, 2025
28e4e17
save diagram
Doomsk Sep 25, 2025
64429c1
Merge branch 'dev/python' into dev/python_impl/ir_parsing
Doomsk Sep 25, 2025
995040a
add dev/python branch to workflow checks
Doomsk Sep 25, 2025
fb002cf
fix ci to include dev/python and dev/rust
Doomsk Sep 25, 2025
327cfcf
delete old tests
Doomsk Sep 25, 2025
d50c456
fix ci workflow
Doomsk Sep 25, 2025
bcd9a28
fix mypy
Doomsk Sep 25, 2025
f824ea3
Merge branch 'dev/python_impl/ir_parsing' into dev/python_impl/builti…
Doomsk Sep 26, 2025
b83b28b
(wip) add cast functionality --protocols, workflow
Doomsk Oct 12, 2025
ca63d7e
(wip) add cast functionality --protocols, workflow
Doomsk Nov 10, 2025
524c5d2
add new blog section on website documentation
Doomsk Nov 12, 2025
c5abdf0
(wip) add quantum program logic with casting operation
Doomsk Nov 27, 2025
d0e3f48
(wip) add quantum program logic with casting operation
Doomsk Dec 4, 2025
506f4c8
(wip) add quantum program logic with casting operation
Doomsk Dec 4, 2025
f6ddaf2
add CONTRIBUTING.md
Doomsk Dec 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

## Bug description

**Describe the bug**: a clear and concise description of what the bug is.

## Steps to reproduce it

Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-implementation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: Feature Implementation
about: Use this template for issues related to the documentation TODOs page.
title: "[IMPL] "
labels: implementation
assignees: ''

---

## Implementation description

## Expected behavior


## Tests
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/roadmap-item.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Roadmap item
about: Describe this issue template's purpose here.
title: "[ROADMAP]"
labels: roadmap
assignees: ''

---

## Item Goals

## Dependency

## Description
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: ci_gh-pages
on:
push:
branches:
- dev/python_impl/minimal_lang
- main
permissions:
contents: write
jobs:
Expand All @@ -25,4 +25,4 @@ jobs:
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material mkdocstrings markdown-exec
- run: mkdocs gh-deploy --force
- run: mkdocs gh-deploy --force
21 changes: 21 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: pre-commit

on:
pull_request:
branches: [main, dev/python]
push:
branches: [main, dev/python]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.12'
- name: Run pre-commit
working-directory: python
run: |
pip install pre-commit
pre-commit run --all-files
30 changes: 30 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: pytest

on:
push:
branches: [main, dev/python]
pull_request:
branches: [main, dev/python]

jobs:
build:
name: Run pytest
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
working-directory: python
run: |
pip install ".[all,dev]"
- name: Run tests
working-directory: python
run: |
pytest .
14 changes: 14 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Contributing to H-hat

You can check the issues in the [H-hat issue's page](https://github.com/hhat-lang/hhat_lang/issues) and try contributing on the issues with [good first issue](https://github.com/hhat-lang/hhat_lang/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22good%20first%20issue%22) label. Depending on the programming language you are using, some formatting styles and checks are required. For instance:
- Python:
- Pull Request (PR) code should follow formatting from [pre-commit configuration](python/.pre-commit-config.yaml) and [pyproject](python/pyproject.toml).
- Rust:
- No specific formatting style or checks other than rust formatter and analyzer.

Additionally to code contribution, you are encourage to make part of discussions involving how H-hat can handle some language features or concepts. Reach us out at the [Discord](http://discord.unitary.foundation)'s `#h-hat` channel to learn more on how to contribute on that and also to chill and chat, if you feel like doing so.


## AI Contributions

The rise of Generative AI brought many advancements for newcomers to start writing code, but also created concerning situations when incorporating AI-generated code to repositories. Regardless whether you choose to use the tool or not, the code you put in a PR is your responsibility. Make sure you checked it is doing what is intended to do, and does not introduce unnecessary complexity or bugs to the existing codebase. Simply AI prompted code will not be accepted. You are required to evaluate the intent of existing issue or PR, the existing codebase, and the code you are bringing up. Should your PR produce automated AI content (description and content) without support of your critical thinking, it will be closed.
12 changes: 2 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,17 +97,9 @@ MIT

## How to Contribute

!!! info "Important"

Please read this documentation before to understand how the repository is organized and how the language structure works.

You can check the [TODOs.md](TODOs.md) page to see what is listed to be done. There (probably) are issues in the [H-hat issue's page](https://github.com/hhat-lang/hhat_lang/issues) that you may want to check and try to solve/implement as well.


At last, reach us out at the [Discord](http://discord.unitary.foundation)'s `#h-hat` channel to
learn more on how to contribute and chat, if you feel like doing so.
Read [How to Contribute](CONTRIBUTING.md).

## Code of Conduct

We coexist in the same world. So be nice to others as you expect others to be nice to you :)
the same world. So be nice to others as you expect others to be nice to you :)
the same world. So be nice to others as you expect others to be nice to you :)
Loading
Loading