64 Commits

Author SHA1 Message Date
dependabot[bot]
ebc983ad9f Bump actions/download-artifact from 7 to 8 (#763)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 7 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-02 14:15:02 -05:00
dependabot[bot]
5c8bceb4ee Bump actions/upload-artifact from 6 to 7 (#764)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-02 14:14:44 -05:00
Ibrahim Numanagić
8165af9dcc Inheritance/polymorphism fixes (#715)
* Fix #681; Fix class_dist

* Add method decorator support

* Refactor __internal__ module; Make RTTI types references (wip); Add type.__mro__; Add Any type support

* Initial async/await support in Codon IR

* Move TypeInfo to ByRef Type

* Move TypeInfo to ByRef Type

* Move TypeInfo to ByRef Type

* Move TypeInfo to ByRef Type

* Fix polymorphic class codegen

* Add TypeInfo.mro; Plug async to IR

* Fix async flag

* Fix async types

* Fix paths

* Refactor GPU kernel

* Fix Coroutine IR mappings and NoneType handling

* Update async

* Add Task

* Add await typechecking; Fix await IR node creation

* Fix class variable typechecking order; Add static.vars(Cls) iteration support

* Remove exception checks

* Add Cache helpers for RTTI types

* Disable BaseException requirement

* Support polymorphic exceptions in runtime

* Update exception handling logic

* Fix static.range issue

* Update exception header

* Update docs

* Update asyncio module

* Update await lowering

* Update await lowering

* Update asyncio module

* Update work queue

* Fix bugs with try/throw and scoping; Add polymorphic isinstance (just static part); Fix datetime module and ClassVar scoping (make it like Python)

* Update asyncio module

* Update await lowering

* Fix tests

* Update exception handling in asyncio

* Add asyncio.sleep()

* Make await expression

* Make isinstance RTTI-aware

* Add ThreadLocal handling

* Update sleep() to match Python's asyncio

* Add codegen support for thread-local vars

* Make event loops thread-local

* Fix exception handling

* Add asyncio.gather()

* Add cancellation logic

* Update await lowering

* Update asyncio module

* Support callback cancellation

* Fix Static[] base initialization; fix ThreadLocal handling; Add 'await x' expression typechecking

* Add cancellation checkpoints to await lowering

* Update EventLoop fields

* Fix await type

* Update await lowering

* Fix asyncio.gather()

* Fix await implementation

* Add asyncio tests

* Update docs

* Add additional runtime checks to event loop

* Fix AsyncGenerator

* Remove unused CoroHandleInstr from IR

* Add async-for lowering to IR

* async with support; async for support; Bugfixes

* Fix async for; Add __getitem__/__setitem__ support

* Fix ir::types::FuncType::doGetGenerics(); Fix plugin compile warnings

* Add int.bit_length()

* Fix tests

* Remove unused class

* Fix JIT RTTI

* Make builtin.object RTTI by default

* Fix pyext

* Fix pyext exception handling

* Fix Python bridge

* Fix pybridge

* Use specialized call functions in PyBridge

* Support __await__

* Add __await__ methods

* Add debug logs

* Support async __await__

* Add generator flag to await instruction

* Add AwaitExpr flag

* Fix reversed()

* Fix await instruction in IR

* Fix GPU codegen if no kernels present

* Fix and/or side effects and static short-circuit

* Fix reversed

* Fix stride checks

* Add assertion to LLVM codegen

* Fix GPU name cleaning

* Add GPU target selection flags

* Fix dict.get()

* Fix ForFlow initialization

* Fix dict test

* Fix docs build

---------

Co-authored-by: A. R. Shajii <ars@ars.me>
2026-02-05 19:05:50 -05:00
dependabot[bot]
f3a5344af2 Bump actions/setup-python from 5 to 6 (#716)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-23 15:27:22 -05:00
dependabot[bot]
b38065fcbc Bump actions/checkout from 5 to 6 (#717)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-23 15:27:04 -05:00
dependabot[bot]
eba223538a Bump actions/upload-artifact from 5 to 6 (#731)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-23 13:16:04 -05:00
dependabot[bot]
fca6848c2f Bump actions/download-artifact from 6 to 7 (#732)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-23 13:15:51 -05:00
dependabot[bot]
6320a76d73 Bump actions/setup-python from 5 to 6 (#699)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-27 11:20:22 -05:00
dependabot[bot]
0f03574cb6 Bump actions/download-artifact from 5 to 6 (#707)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-27 11:19:46 -05:00
dependabot[bot]
a35671d869 Bump actions/upload-artifact from 4 to 5 (#708)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-27 11:19:23 -05:00
Ibrahim Numanagić
ff6bc977b4 SIMD & GPU updates (#704)
* Update getters/setters

* Incorporate Vectron SIMD changes; Add support for parametrized attributes

* Support for parametrized attributes; Fix few SIMD and Int helpers

* Fix SIMD loading alignment

* Auto-load plugins on import

* New runtime (dlsym) GPU mode; Remove compile-time GPU dependency; dlsym improvements

* Fix tests and documentation

* Fix importVar timing

* New SIMD library; Add __file__; Add support for string/bool compile-time defines; Fix minor issues

* Fix issues with whitespace delimiters in NumPy I/O

* clang-format

* Refactor GPU-related standard library code

* SIMD library tests & updates

* Fix __file__; Move numpy outside of GPU module

* Fix context fetching from another modules

* Embed PTX code in LLVM module

* Fix sys import

* Fix macOS x86 CI target

* Fix macOS x86 CI target

* Fix NumPy bounds check elision optimization

* Remove unused vars

* Support optional output to PTX file

* Remove Int.__eq__(int); add SIMD tests

* Fix doc generation

* Add SIMD docs

* Fix SIMD tests

---------

Co-authored-by: A. R. Shajii <ars@ars.me>
2025-11-27 11:18:23 -05:00
dependabot[bot]
d13f18d97c Bump actions/download-artifact from 4 to 5 (#694)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-02 14:50:47 -04:00
dependabot[bot]
c01c6922a0 Bump actions/checkout from 4 to 5 (#693)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-02 14:50:30 -04:00
A. R. Shajii
1202a065f0 Update permissions for PyPI 2025-08-05 19:33:20 -04:00
A. R. Shajii
ee9ba906c3 Fix PyPI publish 2025-08-05 10:43:41 -04:00
A. R. Shajii
6ab7a5ef58 Forgetful JIT (#682)
* Fix cleanup

* Undo main changes

* Fix SIMD

* Fix #672; Fix #683

* Fix CI; update dependencies

* New CI [wip]

* New CI [wip]

* New CI

* New CI

* New CI

* New CI

* New CI

* New CI

* New CI

* New CI

---------

Co-authored-by: Ibrahim Numanagić <ibrahimpasa@gmail.com>
2025-08-04 14:47:34 -04:00
A. R. Shajii
6b43fb0b80 Update ci.yml 2025-07-23 15:16:01 -04:00
A. R. Shajii
a6ee68f895 Update CI for aarch64 Linux 2025-07-23 15:14:32 -04:00
A. R. Shajii
f5d11eb168 Support aarch64 Linux 2025-07-23 15:07:55 -04:00
A. R. Shajii
af447cc264 Fix CI permissions 2025-07-14 13:34:32 -04:00
A. R. Shajii
7b9c7ca470 Fix docgen 2025-07-12 17:26:18 -04:00
A. R. Shajii
f130caa61d Fix Python dependencies 2025-07-12 15:03:10 -04:00
A. R. Shajii
efbaf92a2a Add docs CI workflow 2025-07-12 12:52:36 -04:00
A. R. Shajii
7d254d3e20 Fix macOS build on new runner 2025-05-31 10:40:04 -04:00
A. R. Shajii
90377b5b7b Support NumPy 2.0 (#653)
* Support NumPy 2.0

* Update NumPy versions

* Update NumPy versions

* Update Python on manylinux

* Update Python build

* Update datetime array creation

* Update CI

* Update Python build
2025-04-29 19:39:43 -04:00
Ibrahim Numanagić
d035f1dc97 C-based Cython Backend (#629)
* Move to C-based Cython backend (to avoid all those C++ ABI issues with std::string)

* Fix CI
2025-02-18 10:22:03 -05:00
A. R. Shajii
44c59c2a03 Fix artifact names 2025-01-29 20:17:05 -05:00
A. R. Shajii
15c43eb94e Publish to PyPI in workflow 2025-01-29 15:52:50 -05:00
A. R. Shajii
b8c1eeed36 2025 updates (#619)
* 2025 updates

* Update ci.yml
2025-01-29 15:41:43 -05:00
A. R. Shajii
d45646dc41 Skip PyPI upload in CI 2024-08-23 19:32:26 -04:00
A. R. Shajii
15253e2338 Fix permissions 2024-08-23 18:07:02 -04:00
A. R. Shajii
6df1ea7b46 Fix release upload URL in CI 2024-08-23 18:04:15 -04:00
A. R. Shajii
96e0a1af74 Update release creation in CI 2024-08-23 16:42:11 -04:00
A. R. Shajii
e05cc5a5b5 Fix permissions in CI 2024-08-23 15:25:17 -04:00
Ibrahim Numanagić
c750ae62ae Update ci.yml 2024-07-18 19:56:19 +02:00
A. R. Shajii
189aa88619 Docfix (#569)
* Fix docs

* Fix partial.__name__

* Fix typecheching loop with throw statements

* Cleanup

* Partial __name__ fix

* Update ci.yml

---------

Co-authored-by: Ibrahim Numanagić <ibrahimpasa@gmail.com>
2024-07-18 08:09:30 -04:00
dependabot[bot]
927e430dd0 Bump actions/cache from 3 to 4 (#536)
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-02 10:56:13 -05:00
dependabot[bot]
8a0064a611 Bump actions/upload-artifact from 3 to 4 (#523)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 13:36:11 -05:00
dependabot[bot]
f476ff2f92 Bump actions/download-artifact from 3 to 4 (#524)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 13:35:34 -05:00
dependabot[bot]
f819bfd943 Bump actions/setup-python from 4 to 5 (#525)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 13:35:17 -05:00
Kurt McKee
584ea3b493 Use kebab case, not snake case, for PyPI input keys (#489) 2023-10-26 10:28:13 -04:00
dependabot[bot]
bee2c2f402 Bump actions/checkout from 2 to 4 (#484)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 10:16:45 -04:00
dependabot[bot]
9933954e30 Bump actions/upload-artifact from 1 to 3 (#473)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 1 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v1...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-09 10:27:51 -04:00
dependabot[bot]
7cddafb7cf Bump actions/download-artifact from 1 to 3 (#474)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 1 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v1...v3)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-09 10:27:38 -04:00
dependabot[bot]
61ddf8ad8a Bump actions/setup-python from 2 to 4 (#475)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-09 10:27:24 -04:00
dependabot[bot]
7b688caf64 Bump actions/cache from 2 to 3 (#476)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-09 10:27:08 -04:00
dependabot[bot]
2d2e2370e9 Bump actions/upload-release-asset from 1.0.1 to 1.0.2 (#477)
Bumps [actions/upload-release-asset](https://github.com/actions/upload-release-asset) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/actions/upload-release-asset/releases)
- [Commits](https://github.com/actions/upload-release-asset/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: actions/upload-release-asset
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-09 10:26:47 -04:00
Kurt McKee
54547632e5 Add a Dependabot config to keep GitHub action versions updated (#469) 2023-09-08 13:17:12 -04:00
A. R. Shajii
5613c1a84b v0.16 (#335)
* Add Python extension lowering pass

* Add DocstringAttribute

* Add extension module codegen

* Handle different argument counts efficiently

* Add warnings to extension lowering

* Fix module name

* Fix extension codegen

* Fix argument check

* Auto-convert Codon exceptions to Python exceptions

* Fix #183

* Fix #162; Fix #135

* Fix #155

* Fix CPython interface in codegen

* Fix #191

* Fix #187

* Fix #189

* Generate object file in pyext mode

* Convert Codon exceptions to Python exceptions

* Fix vtable init; Fix failing tests on Linux

* Fix #190

* Fix #156

* Fix union routing

* Remove need for import python

* Automatic @export and wrapping for toplevel functions

* Reorganize API

* Add Python extension IR structs

* Add special calls for no-suspend yield-expr

* Add special calls for no-suspend yield-expr

* pyextension.h support [wip]

* pyextension.h support [wip]

* pyextension.h support

* pyextension.h support for toplevel functions

* clang-format

* Add PyFunction::nargs field

* Update pyextension codegen (WIP)

* SUpport nargs

* Add support for @pycapture

* PyType codegen (WIP)

* Py method codegen (WIP)

* Add type ptr hook

* Add getset codegen

* Add type alloc function

* Add type pointer hook codegen

* Re-organize codegen

* Add member codegen

* Update module init codegen

* Update module init codegen

* Add support for typePtrHook and new to/from_py hooks

* Fix extension codegen

* Fix init codegen

* Fix init codegen; add "tp_new" slot

* Fix type hook

* Add extra flags

* Specialized wrappers (PyType specs)

* Add static Python link option

* Fix C imports

* Add guards

* Remove unused field

* Python mode only when pyExt set

* Update python module

* Fix assert

* Update codegen/passes

* Fix tuple parsing in index expression

* Fix empty tuple unification

* Do not Cythonize underscore fns

* clang-format

* Fix switch

* Add Py support for cmp/setitem

* Add Py support for cmp/setitem

* Add type is support

* GetSet support

* clang-format

* GetSet support (fixes)

* Avoid useless vtable alloc

* Add iter support

* Fix size_t capture bug

* clang-format

* Fix POD type unification with tuples

* Add __try_from_py__ API

* Fix annotation

* Add static reflection methods (setattr; internal.static.*); refactor PyExt to python.codon; handle errors and kwargs in PyExt

* Python compat fixes

* Update Python object conversions

* Fix PyErrors

* clang-format; add copyright

* Add PyFunction::keywords field

* Fix JIT MRO handling; Refactor out Jupyter support

* Refactor out Jupyter support

* Add support for custom linking args (link=[]) to TOML plugins

* Fix tests

* Use g++ instead of gcc

* Fix Jupyter CMAKE

* Fix Jupyter CMAKE

* Add _PyArg_Parser definition

* Add complex64 type

* Add extra complex64 tests

* Fix Python calls; add staticenumerate

* Fix call

* Fix calls

* Update pyext wrappers

* Fix staticenumerate; Support static calls in tuple()

* Fix pyext routing

* Add add/mul for tuples

* clang-format

* Fix pyext codegen

* Fix wrap_multiple

* Add seq_alloc_atomic_uncollectable

* Fix default generics issue

* Add binary/ternary ops

* Fix missing generic issue

* Fix number slots

* Update pow

* Remove unnecessary pyobj

* Fix allocation

* Refactor errors

* Add test extension

* Fix formatting

* clang-format

* Fix getitem/setitem/delitem in pyext

* Fix pyext iterators

* Add builtin pow() (fix #294)

* Fix #244

* Fix #231

* Fix #229

* Fix #205

* Update docs

* Fix error message

* Add pyext tests

* Add pyext support for @property

* Add pyext support for toplevel fns and @tuple classes

* More pyext tests

* More pyext tests

* Fix file error checking

* More pyext tests

* Update pyext tests

* Update docs

* Add pyext test to CI

* Add pyext support for @tuple.__new__

* Add pyext support for @tuple.__new__

* Fix hetero-tuple issue with fn_overloads

* More pyext tests

* Bump versions

* Fix del magic in pyext

* Fix init magic for tuples in pyext

* Have test-pypi only run on develop branch

* Make exception type indices unnamed-addr

* Fix #316; Fix #317 (slash issue)

* Use uncollectible-alloc for vtable

* Fix #249

* Add pyext docs

* Fix #249; Fix clashing vtables; Fix super() and class_copy

* Add content-atomic type property instruction

* __contents_atomic__ support

* Update internal functions

* Use PIC when generating Python extension

* Cleanup

* Add Dockerfile & fix -fPIC

* Cleanup

* Fix setup.py

* Fix pyext fn iteration

* Fix CI

* clang-format

* Update long conversions in Py bridge

* Support wide-int to str conversions

* Fix test

* Add pow for arbitrary-width ints

* Fix Linux backtraces

* Cleanup

* Add more tests

* Fix docs; Remove tuple.__add__ for scalars

* Update docs

---------

Co-authored-by: Ibrahim Numanagić <ibrahimpasa@gmail.com>
2023-04-12 18:13:54 -04:00
Ibrahim Numanagić
3c307db97e Fix token naming 2022-12-13 13:29:45 -08:00