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

5 Commits

Author SHA1 Message Date
A. R. Shajii
01840deb5f
Escape analysis in IR (#33)
* IR escape analysis (WIP)

* Handle calls (WIP)

* Fix argument tracking (WIP)

* Cleanup

* Fix function caching

* Add annotations

* Add capture analysis

* Fixes

* Add tests

* More tests & fixes

* Refactor

* Add escape interface

* Fix consts

* Fix throw side effect

* Fix case for vararg C functions

* Add IR pass timing

* Fix internal func capture status

* Avoid warning on exe build

* More tests

* Fix var tracking & more tests

* Fix derived computation and more tests

* Optimization

* Better derived set generation

* More tests

* Cache reaching-def results

* Fix pass group repeat

* Fix use-after-free issue
2022-07-02 11:48:19 -04:00
Ishak Numanagić
3c94e2bae9 stdlib/internal/c_stubs.codon 2022-02-28 20:57:12 +01: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
132593a36e Add complex type 2021-10-04 00:05:24 -04:00
A. R. Shajii
0d185019f3 .seq to .codon 2021-10-01 09:56:35 -04:00