Commit Graph

368 Commits (e5e19a663af52041ded0db1980d5825952be7434)

Author SHA1 Message Date
Ishak Numanagić 26863d2fba stdlib/bisect.codon 2022-02-28 20:56:16 +01:00
Ibrahim Numanagić cc55bf9a21
Merge pull request #12 from exaloop/auto-class-deduction
Automatic class slot deduction
2022-02-28 09:39:03 -08:00
Ibrahim Numanagić ef51677acf Remove debug comments [skip ci] 2022-02-28 09:37:39 -08:00
Ibrahim Numanagić 3938b46a9a Fix stray print issue 2022-02-27 08:46:15 -08:00
A. R. Shajii a3be465ae5 Use patched OpenMP 2022-02-27 07:52:43 -05:00
A. R. Shajii f40d27836b clang-format 2022-02-27 07:52:28 -05:00
Ibrahim Numanagić c8b757859a Fix OpenMP 12+ issue 2022-02-25 18:25:29 -08:00
Ibrahim Numanagić 1ec5cd2958 Merge branch 'jupyter-fixes' into auto-class-deduction 2022-02-25 09:22:56 -08:00
Ibrahim Numanagić 4bfab60ac6 Fix getAbsolutePath (use POSIX realpath) 2022-02-25 09:19:35 -08:00
Ibrahim Numanagić 56cd0711f7 Move std::filesystem to llvm::sys::fs 2022-02-24 11:43:51 -08:00
Ibrahim Numanagić a8bc79b3a2 Fix PartialAttr function name 2022-02-23 18:08:06 -08:00
Ibrahim Numanagić dfe24cd38d Merge branch 'auto-class-deduction' of github.com:exaloop/codon into auto-class-deduction 2022-02-23 17:41:06 -08:00
Ibrahim Numanagić 49ca0845cf CR 2022-02-23 17:40:59 -08:00
Ibrahim Numanagić ba11b44c9d Merge branch 'auto-class-deduction' of github.com:exaloop/codon into auto-class-deduction 2022-02-23 17:39:57 -08:00
A. R. Shajii bba16437c7 Store function name in PartialFunctionAttribute 2022-02-23 16:20:33 -05:00
A. R. Shajii 4452367c1f Update OpenMP 2022-02-22 10:17:50 -05:00
A. R. Shajii 685c42981d Remove invalid check 2022-02-22 10:16:30 -05:00
Ibrahim Numanagić 354e7f80fe Add and fix IR attributes; Fix Counter test 2022-02-19 12:39:24 -08:00
A. R. Shajii f2ed69af9e Update dict attribute 2022-02-19 14:30:44 -05:00
Ibrahim Numanagić d59ec14cc6 @deduce tests 2022-02-18 17:34:23 -08:00
Ibrahim Numanagić 2506cb849e Use @overload for top-level function overloads; Partial function bugfixes 2022-02-18 17:27:24 -08:00
Ibrahim Numanagić 6f402ff810 Merge branch 'auto-class-deduction' of github.com:exaloop/codon into auto-class-deduction 2022-02-17 19:03:19 -08:00
Ibrahim Numanagić aaf5e03e56 Fix Linux undefined behaviour; Update CMake for g++ 2022-02-17 19:03:07 -08:00
Ibrahim Numanagić c7eb6081aa Merge branch 'auto-class-deduction' of github.com:exaloop/codon into auto-class-deduction 2022-02-17 18:56:46 -08:00
A. R. Shajii b72f54acc3 Update IR attributes 2022-02-16 17:06:44 -05:00
Ibrahim Numanagić 68a3c1ff98 Merge branch 'auto-class-deduction' of github.com:exaloop/codon into auto-class-deduction 2022-02-07 16:53:36 -08:00
Ibrahim Numanagić 6b4f29a3f2 Fix memory leaks 2022-02-01 12:39:50 -08:00
A. R. Shajii f0a21fa3ef clang-format 2022-02-01 11:15:22 -05:00
A. R. Shajii 2bf3709d33 Fix Asan flags 2022-01-31 18:38:59 -05:00
Ibrahim Numanagić bbdd51cf9e Fix ctx->age in realizeFunction 2022-01-31 10:33:32 -08:00
Ibrahim Numanagić 363caec2ac Fix partialization 2022-01-30 18:32:31 -08:00
Ibrahim Numanagić 80480f87d5 Fix partialization [wip] 2022-01-30 10:42:57 -08:00
Ibrahim Numanagić 6561294672 Merge branch 'ir-annotations' into auto-class-deduction 2022-01-29 17:42:16 -08:00
A. R. Shajii 69552b1555 Remove dummy op 2022-01-28 15:07:11 -05:00
A. R. Shajii c8c8a0edf7 Add TupleLiteralAttribute 2022-01-28 10:13:34 -05:00
A. R. Shajii 858cc31ed0 clang-format 2022-01-28 10:12:42 -05:00
Ibrahim Numanagić 4b2dfaf28f Fix partial handling in IR 2022-01-25 18:55:00 -08:00
Ibrahim Numanagić 70e2427c0d Merge branch 'jupyter-fixes' of github.com:exaloop/codon into jupyter-fixes 2022-01-25 13:17:52 -08:00
Ibrahim Numanagić fd06afaa61 Fix linux build [wip] 2022-01-25 13:17:37 -08:00
A. R. Shajii 8dd7d2e0ea Add new attributes 2022-01-25 16:10:34 -05:00
A. R. Shajii f51a53e2fe Inline JIT functions 2022-01-20 11:22:32 -05:00
A. R. Shajii 6f4e24fb00 Update new global detection and processing in JIT 2022-01-19 11:21:40 -05:00
Ibrahim Numanagić c3c48b9c6d Add Matplotlib plot support 2022-01-18 21:57:38 -08:00
Ibrahim Numanagić de678930d8 Add Matplotlib plot support 2022-01-18 21:19:52 -08:00
Ibrahim Numanagić a7a316f178 Merge remote-tracking branch 'origin/develop' into jupyter-fixes 2022-01-18 12:47:20 -08:00
A. R. Shajii e7851d8983 clang-format 2022-01-17 11:44:14 -05:00
Ibrahim Numanagić 84237247a2 Fix Callable[] and None 2022-01-15 18:30:01 -08:00
Ibrahim Numanagić 6ee84e09b9 Fix tests 2022-01-15 11:39:24 -08:00
Ibrahim Numanagić 5ee92bd6c9 Merge develop 2022-01-15 11:25:46 -08:00
Ibrahim Numanagić cc634d1940
Improved logic for handling overloaded functions (#10)
* Backport seq-lang/seq@develop fixes

* Backport seq-lang/seq@develop fixes

* Select the last matching overload by default (remove scoring logic); Add dispatch stubs for partial overload support

* Select the last matching overload by default [wip]

* Fix various bugs and update tests

* Add support for partial functions with *args/**kwargs; Fix partial method dispatch

* Update .gitignore

* Fix grammar to allow variable names that have reserved word as a prefix

* Add support for super() call

* Add super() tests; Allow static inheritance to inherit @extend methods

* Support for overloaded functions [wip; base logic done]

* Support for overloaded functions

* Update .gitignore

* Fix partial dots

* Rename function overload 'super' to 'superf'

* Add support for super()

* Add tests for super()

* Add tuple_offsetof

* Add tuple support for super()

* Add isinstance support for inherited classes; Fix review issues

Co-authored-by: A. R. Shajii <ars@ars.me>
2022-01-11 20:39:15 -05:00