7 Commits

Author SHA1 Message Date
Kay Hayen
718ab60539 Bump copyright year 2025-04-28 11:04:36 +02:00
Kay Hayen
f34f8d0c63 Bump copyright year
* Also split copyright notices between the top and bottom,
  such that readability of just opened files is not harmed
  by license text.
2024-12-18 10:48:16 +01:00
Kay Hayen
909d41f02d Bump copyright year 2023-06-02 15:07:22 +02:00
Kay Hayen
4cfdd9f9c0 Bump copyright year 2022-05-23 10:28:11 +02:00
Kay Hayen
e43b72e087 Bump copyright year to 2021. 2021-01-22 09:58:00 +01:00
Kay Hayen
0a993f7e6f Tests: Cover subscript in generated tests, also cover more runtime cases
* Previously the "cond" was always true, now run the function twice,
  once with it true and once false, for more coverage.
2020-11-05 11:50:55 +01:00
Kay Hayen
3270ecb868 Optimization: Target types for operations and comparisons
* All helpers now have a target type added, mostly OBJECT now, but e.g.
  also NBOOL and CBOOL can be used.

* The helpers for operations are now built with factory functions for their
  consistency

* Added shapes for all operations for the common types.

* Added dedicated nodes for all in-place operations solving a TODO.

* Inplace operations to be created are now derived from the binary
  operations.

* Conversions for missing target types instead of falling back to
  most generic helper.

* Converted manual comparison helpers to new Jinja template for
  generating code automatically.

* Added optimization for more operations and their types, e.g. tuples,
  floats, and more operations.

* More generalized templates to allow more C types that are not objects.

* Added tests to cover in-place operations

* Test infrastructure for generated tests from Jinja2 templates.

* Type shapes are now all instances, avoid mixing classes and instances
  for clarity of code and correctness.

* Enable warnings for all operations in case of specific shape
  combinatations not defined.

* Some corrections to boolean C target type code, now applied in many
  more test cases.

* Proper void C type added, to be used in code specialization later.
2020-05-01 11:33:15 +02:00