Skip to content

Hegel lowlevel - #21

Merged
esauro merged 7 commits into
mainfrom
hegel-lowlevel
Sep 16, 2026
Merged

esauro merged 7 commits into
mainfrom
hegel-lowlevel

Conversation

@esauro

@esauro esauro commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Addresses #12 so other JVM frontends can drive Hegel: runs
return a structured RunReport, all output goes through a per-run Reporter,
final replays are identifiable, custom composite generators can open labelled
spans, and a frontend can exclude its own frames from failure origins.

Co-Authored-By: Claude Fable 5.1 <[email protected]>

esauro and others added 3 commits September 11, 2026 11:47
…Final/span, Label

Addresses #12 so other JVM frontends can drive Hegel: runs
return a structured RunReport, all output goes through a per-run Reporter,
final replays are identifiable, custom composite generators can open labelled
spans, and a frontend can exclude its own frames from failure origins.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
…frontends

Repeated labels are numbered from their second use (x, x_2, ...) so
Failure.draws() no longer drops values; unlabelled draws count among
themselves (draw_1, draw_2). Verbosity now governs the frontend's own
output: QUIET prints no draws or notes, VERBOSE reports every case's, with
Reporter.draw/note carrying the final-replay flag. Notes made inside a
composite generator are reported after the enclosing draw's value.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
… own module

dev.hegel:hegel-lowlevel (Java 17+, no dependencies) holds only what someone
binding Hegel or building a frontend from scratch needs: the public Libhegel
interface, the Abi constants, LibraryLoader, LibhegelException, and the
LibhegelBackend service provider interface with Libhegel.load() discovery.
The hegel (FFM) and hegel-jna (JNA) frontend jars depend on it and register
FfmBackend/JnaBackend as providers; the shared Engine resolves its binding
through ServiceLoader, which the JPMS integration test exercises on the
module path. HegelException now extends LibhegelException.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@esauro esauro linked an issue Sep 16, 2026 that may be closed by this pull request
esauro and others added 4 commits September 16, 2026 12:24
… own module

dev.hegel:hegel-lowlevel (Java 17+, no dependencies) holds only what someone
binding Hegel or building a frontend from scratch needs: the public Libhegel
interface, the Abi constants, LibraryLoader, LibhegelException, and the
LibhegelBackend service provider interface with Libhegel.load() discovery.
The hegel (FFM) and hegel-jna (JNA) frontend jars depend on it and register
FfmBackend/JnaBackend as providers; the shared Engine resolves its binding
through ServiceLoader, which the JPMS integration test exercises on the
module path. HegelException now extends LibhegelException.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@esauro
esauro merged commit 06d917e into main Sep 16, 2026
10 checks passed
@esauro
esauro deleted the hegel-lowlevel branch September 16, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Making hegel-java usable as a library

1 participant