-
Frederik Hennig authored
Composer and language Frontend: - Minimialize exposition of `SfgVar`, use `AugExpr` in all composer interfaces instead - Move `SfgVar` into `lang` module - Introduce `VarLike` and `ExprLike` protocols to the `lang` module - Treat `TypedSymbol` equivalently to SfgVar in interfaces - Disallow `sp.Symbol` in expressions - Deprecate `map_param` in favor of newly introduced `set_param`, which uses `AugExpr` - Deprecate `sfg.define` in favor of `sfg.code` - Introduce `Ref` type IR Postprocessing: - Check for type conflicts during live-variable collection Documentation: - Add docstrings to `lang.expressions` module - Add various doctest examples to docstrings - Link to pystencils via intersphinx Tests: - Fix bugs in generator script testing - Add new testscripts - Add unit tests for parts of `lang.expressions` and `ir.postprocessing` Squashed commit of the following: commit c75b939d Author: Frederik Hennig <frederik.hennig@fau.de> Date: Fri Oct 18 13:17:52 2024 +0200 fix badges in readme and doc homepage commit 425efea7 Author: Frederik Hennig <frederik.hennig@fau.de> Date: Fri Oct 18 13:00:35 2024 +0200 Update CONTRIBUTING & test documentation commit 3d41d1de Author: Frederik Hennig <frederik.hennig@fau.de> Date: Fri Oct 18 11:51:47 2024 +0200 add coverage badge to readme. commit 3023541e Author: Frederik Hennig <frederik.hennig@fau.de> Date: Fri Oct 18 11:45:54 2024 +0200 Update .gitlab-ci.yml file commit fdfaf307 Author: Frederik Hennig <frederik.hennig@fau.de> Date: Fri Oct 18 11:40:14 2024 +0200 Update .gitlab-ci.yml file commit ac133b75 Author: Frederik Hennig <frederik.hennig@fau.de> Date: Fri Oct 18 11:38:54 2024 +0200 add `coverage` key to CI task commit 72ed2ab8 Author: Frederik Hennig <frederik.hennig@fau.de> Date: Fri Oct 18 11:28:43 2024 +0200 keep coverage.xml artifact commit 31c65ed8 Author: Frederik Hennig <frederik.hennig@fau.de> Date: Fri Oct 18 11:23:42 2024 +0200 change testsuite in CI to run coverage.py directly commit f6893443 Author: Frederik Hennig <frederik.hennig@fau.de> Date: Fri Oct 18 11:10:34 2024 +0200 try to fix coverage, pt. 2 commit a7fc061b Author: Frederik Hennig <frederik.hennig@fau.de> Date: Fri Oct 18 11:05:17 2024 +0200 try to fix coverage commit 3cb194c5 Author: Frederik Hennig <frederik.hennig@fau.de> Date: Fri Oct 18 11:01:11 2024 +0200 Deprecate map_param. Fix test suite commit f0d11ee2 Author: Frederik Hennig <frederik.hennig@fau.de> Date: Fri Oct 18 10:52:39 2024 +0200 Disable non-const SymPy expressions in AugExpr formatting. Add tests. commit b2ebfb02 Author: Frederik Hennig <frederik.hennig@fau.de> Date: Fri Oct 18 09:42:20 2024 +0200 deprecate `define` in favor of `code` commit d97191f5 Author: Frederik Hennig <frederik.hennig@fau.de> Date: Fri Oct 18 09:31:08 2024 +0200 fix mypy; reformat all commit 3182652c Author: Frederik Hennig <frederik.hennig@fau.de> Date: Fri Oct 18 09:29:38 2024 +0200 Update documentation - use pystencils 2.0 intersphinx - add doc for composer builders, SfgException, config subobjects commit fbd9d9b4 Author: Frederik Hennig <frederik.hennig@fau.de> Date: Fri Oct 18 09:29:03 2024 +0200 changes to lang and ir modules - Move `SfgVar` to `lang` - Remove builder for `init`, use nested function instead - Add various docstrings commit 6a5c6936 Author: Frederik Hennig <frederik.hennig@fau.de> Date: Fri Oct 18 08:50:53 2024 +0200 move VarLike, ExprLike, asvar, depends to lang module and add docstrings. commit fce5897c Author: Frederik Hennig <frederik.hennig@fau.de> Date: Thu Oct 17 17:38:16 2024 +0200 remove duplicate standard import from test script commit 5c595075 Author: Frederik Hennig <frederik.hennig@fau.de> Date: Thu Oct 17 17:29:47 2024 +0200 More frontend updates - Add `Ref` type - Allow multi-arg `init` in constructor builder - Change `CustomGenerator` to take a composer instead of a context. - Allow a class to have multiple methods with the same name. commit 7a4ff746 Author: Frederik Hennig <frederik.hennig@fau.de> Date: Thu Oct 17 16:00:51 2024 +0200 Add CustomGenerator to docs. Fix bug in postprocessing. commit 2edd363e Author: Frederik Hennig <frederik.hennig@fau.de> Date: Thu Oct 17 15:47:13 2024 +0200 More examples for composer. Fix generator script tests ground-truth comparison. commit a662f194 Author: Frederik Hennig <frederik.hennig@fau.de> Date: Thu Oct 17 14:56:58 2024 +0200 add doctests to testsuite commit ab113916 Author: Frederik Hennig <frederik.hennig@fau.de> Date: Thu Oct 17 14:56:27 2024 +0200 Extend doctests commit 8f04e828 Author: Frederik Hennig <frederik.hennig@fau.de> Date: Thu Oct 17 13:56:37 2024 +0200 move generator script tests commit af32c802 Author: Frederik Hennig <frederik.hennig@fau.de> Date: Thu Oct 17 13:56:23 2024 +0200 Extend conflict resolution in postprocessing + add tests commit 7ff8e893 Author: Frederik Hennig <frederik.hennig@fau.de> Date: Thu Oct 17 12:27:24 2024 +0200 fix testsuite CI task commit 3534ed16 Author: Frederik Hennig <frederik.hennig@fau.de> Date: Thu Oct 17 10:22:15 2024 +0200 Toward cleaning up variables and expressions in the composer commit 91889646 Author: Frederik Hennig <frederik.hennig@fau.de> Date: Wed Oct 16 22:44:22 2024 +0200 bugfixes + more AugExpr in interfaces
cf2d5d53
After you've reviewed these contribution guidelines, you'll be all set to
contribute to this project.