Skip to content

Commit 1bb2e8f

Browse files
authored
Improve Python generation for several special forms (#798)
Remove code which generates an assignment to a name for `do*`, `let*` and `letfn*` forms which should significantly reduce the number of redundant assignments generated by the Basilisp compiler. Fixes #799
1 parent 049f53d commit 1bb2e8f

File tree

2 files changed

+138
-134
lines changed

2 files changed

+138
-134
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1818
* Allow vars to be callable to adhere to Clojure conventions (#767)
1919
* Adjust input path compatibility in `basilisp.core/load` input path to be relative to the namespace or the root path (#782)
2020
* No longer warn on unused bindings when their name begins with `_` (#756)
21-
* Improve the Python generation for `do`, `if`, `let*`, and `letfn*` forms to avoid unnecessary extra assignments (#793, #794)
21+
* Improve the Python generation for `do`, `if`, `let*`, and `letfn*` forms to avoid unnecessary extra assignments (#793, #794, #799)
22+
* Generate Python classes for `deftype*` and `reify*` forms using modern `@attr.define`, `@attr.frozen`, and `@attr.field` APIs (#799)
2223

2324
### Fixed
2425
* Fix issue with `(count nil)` throwing an exception (#759)

0 commit comments

Comments
 (0)