base-code-generator


Package info
Description

The Clean code generator.

Readme
# code-generator This is the repository of the [Clean][] code generator. This is a delayed mirror of the [upstream][] version and is only used to publish the package. Periodically changes from upstream are released in a new version here. The code generator is released in the `base-code-generator` package. This package should normally not be used directly; instead, you should use `base`. See the documentation in [base][] if you intend to make a merge request for this repository. ## Maintainer & license This mirror is maintained by [Camil Staps][]. The upstream is maintained by John van Groningen. For license details, see the [LICENSE](/LICENSE) file. [base]: https://gitlab.com/clean-and-itasks/base/base [Camil Staps]: https://camilstaps.nl [Clean]: https://clean-lang.org [upstream]: https://gitlab.science.ru.nl/clean-compiler-and-rts/code-generator
Changelog
# Changelog ### v2.2.0 - Feature: add support for instructions `eq_arrayp2size`, `empty_arrayp2`, `copy_array_next`, `add_hp_arrayp2_first`, `add_hp_arrayp2_next`, and `set_arraysize`. - Enhancement: reduce memory usage and improve performance of small array constants. - Enhancement: optimize generated address calculation code for unboxed arrays of records with 7, 14, 15, 23, or 27–31 record elements. ### v2.1.0 - Feature: add support for `create_arrayp2` and `create_arrayp2_` instructions. - Fix: fix `.array` directive to use the new array representation. ## v2.0 - Enhancement: add dedicated `_ARRAY_` descriptors for unboxed arrays of `Int`, `Real`, `Bool`, 32-bit `Int`, and 32-bit `Real`, to save space. Add `_ARRAY_R_` descriptor for unboxed arrays of records. ## v1.0 First tagged version.
Versions