Skip to content

Releases: heckj/Lindenmayer

0.8.0

13 Apr 19:45
Compare
Choose a tag to compare

Swift6 compatibility/strict concurrency update

When I originally created this package, async/await wasn't yet available. In supporting strict concurrency and the upcoming Swift 6 release, I've updated the Swift language support to require at least Swift 5.8, and changed the API to utilize async/await on the modules that produce results, with either a custom definition file for the Lindenmayer system, or leveraging the stochastic (random choices) features available in some of the Lindenmayer systems.

Known Issues

  • there's one remaining Swift6 compatibility issue, complaining that I SwiftUI's ScrollViewProxy isn't Sendable, even with a @preconcurrency import into the view that uses it (this is in the LindenmayerViews module). I suspect it will be marked as Sendable in the future, but am hesitant to apply my own assertions on that front, so I'm leaving it alone as the final remaining Swift6 compatibility issue.

What's Changed

  • use @_exported to expand SwiftUI Angle to be easier to find by @heckj in #39
  • Experimental skip synthesized symbols by @finestructure in #40
  • updating swift tooling to prep for Swift 6 concurrency updates by @heckj in #41
  • Concurrency lockdown by @heckj in #42

New Contributors

Full Changelog: 0.7.3...0.8.0

0.7.3

06 Aug 19:33
Compare
Choose a tag to compare

What's Changed

  • removing Squirrel3 dependency by @heckj in #36, which allows for Lindenmayer to be used within Swift Playgrounds as it's now all pure-swift code (no C-based dependencies)

Full Changelog: 0.7.2...0.7.3

Dependency updates and transitive fixes

31 Jan 23:13
Compare
Choose a tag to compare

What's Changed

  • updating 3D rendering by @heckj in #30
  • Roll to vertical by @heckj in #32
  • Updating documentation for Lindenmayer by @heckj in #31
  • final tweaks to resource locations by @heckj in #34
  • fixes for updates in dependency modules that are pre-release

Full Changelog: 0.7.1...0.7.2

Debugging view

14 Jan 00:59
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.7.0...0.7.1

(0.7.0) Ergonomics update

02 Jan 23:15
Compare
Choose a tag to compare

BREAKING CHANGES

Writing rules ergonomic updates:

The process of writing LSystems has been improved by including factory/wrapper methods on the various types of LSystems (basic, RNG, Parameters, RNG+Parameters), and now all the rules are explicitly typed. This in turn allows for the closures that produce the rewriting for the relevant modules to be explicitly typed, so there's no longer a need to down-cast from the existential Module type into the specific kind of module in order to use the types parameters when computing what replaces it.

The rules all now also have additional evaluation criteria enabled through an optional (typed) closure so that you can choose if rules are activated not only by the types they match, but in addition with a closure that you provide that can interrogate the modules that were matched.

Initial experimental release

23 Dec 20:49
Compare
Choose a tag to compare
Pre-release

(2021-12-23)

The initial release of Lindenmayer.

The library supports creating context-free and contextual parametric L-systems. Built-in modules support 2D and basic 3D visualizations, and some reference implementations of previously described L-systems.

The API is by no means finished, complete, or in a final form. There are several places where I'm considering how to make creating L-systems written in the Swift language more ergonomic, and additional features that I want to add for broader support (such as stochastic production rules).

This edition is suitable for experimentation, and I certainly welcome feedback in the discussion section of the Github repository.

Full Changelog: https://github.com/heckj/Lindenmayer/commits/0.5.0