Toward Condensers
Mark Reinhold
mark.reinhold at oracle.com
Mon Jul 31 20:30:49 UTC 2023
A few of us have been thinking about how condensers might work. We now
have a prototype design and implementation of a condenser API and tool.
We’ve deliberately started small, focusing on principles of condenser
operation and a minimal set of features sufficient for the simplest
condensers, i.e., those that don’t require additional changes to the
Platform Specification.
Design note: https://openjdk.org/projects/leyden/notes/03-toward-condensers
Summary:
We elaborate the concept of composable condensers to introduce a
simple, abstract, immutable, data-driven model of applications so that
condensers can be expressed as transformers of instances of the model.
The model is sufficient to express simple condensers; we include two
examples.
This is just a starting point; we expect to evolve it considerably going
forward. We’ll publish the prototype code shortly after we return from
the upcoming JVM Language Summit.
- Mark
More information about the leyden-dev
mailing list