1
0
mirror of https://github.com/exaloop/codon.git synced 2025-06-03 15:03:52 +08:00

8 Commits

Author SHA1 Message Date
A. R. Shajii
c128e59132
Annotation updates (#41)
* Fix gitignore, versions

* Add caching (WIP)

* Fix decorator

* Refactor

* Support tuple conversions

* Fix void; allow pyobj default conversion

* Improve setup

* Rename

* Fix JIT output capturing

* Support conversion of "complex"

* Allow class conversions

* Use Python number API

* Use Python API for (get/set/del)item

* Add decorator docs

* Cleanup

* Support slice and optional conversions

* Add comparison magics

* Remove Optional.__invert__() method

* Fix tests

* Fix test

* Add release notes

* New pybridge tests

* Update decorator tests

* Fix optional tuple handling

* Fix optional str() and repr()

* Add more decorator tests

* Fix optional.__bool__

* Update releases.md

* Add op tests

* Organize release notes [skip ci]

* clang-format [skip ci]

* Add r-magics to pyobj; more tests [skip ci]

* More pybridge tests

* Add plugin library paths to build command

* Remove walrus operator [skip ci]

* Fix optional operator handling; Fix right-magic handling

Co-authored-by: Ibrahim Numanagić <ibrahimpasa@gmail.com>
Co-authored-by: Ibrahim Numanagić <inumanag@users.noreply.github.com>
2022-08-02 14:53:17 -04:00
A. R. Shajii
af7cce08fe
Add special cases for length-1 patterns (#32) 2022-06-18 10:27:25 -04:00
Ishak Numanagić
8d72ff8cfa CR pt. 1 2022-02-28 21:21:46 +01:00
Ishak Numanagić
5815686f54 stdlib/internal/str.codon 2022-02-28 21:07:53 +01:00
Ibrahim Numanagić
18d1d9b51e
Seq backports (#8)
* Backport seq-lang/seq@develop fixes

* Backport seq-lang/seq@develop fixes

* Resolve review issues

* Resolve File.__copy__() issue

* Resolve incorrect partial handling of object methods

* Use ints and floats for __suffix__ methods

* Fix float test

* Update complex tests

* Fix float constructor

* Fix cmath test

Co-authored-by: A. R. Shajii <ars@ars.me>
2021-12-29 19:46:15 -05:00
A. R. Shajii
55eedf29be
Datetime (#9)
* Initial datetime module

* More functions

* Remove fold

* Fixes

* Fixes

* Fix radd etc.

* Add unittest

* Add default fillchar

* Add remaining tests
2021-12-20 13:07:07 -05:00
A. R. Shajii
35895ed811 Transition to __repr__ 2021-10-12 16:16:24 -04:00
A. R. Shajii
0d185019f3 .seq to .codon 2021-10-01 09:56:35 -04:00