Wurbelizer — Core Library
The core of the Wurbelizer: a lightweight Java code generator (LGPL 2.1). This module contains the runtime that compiles wurblets, scans application sources for @wurblet anchors, and weaves generated code into guarded blocks — repeating until the output stabilizes. Packages live under org.wurbelizer.*.
The pipeline
- A wurbiler compiles
.wrbltemplate files into a Java class plus a.serfile (the serialized fixed-source strings). - A wurbler scans application sources for
@wurbletanchors, instantiates the compiled wurblets, and merges generated code into guarded blocks. - The wurbler repeats until no more changes occur — generated code may itself contain new anchors.
Key types
| Type | Package | Role |
|---|---|---|
Wurbler |
org.wurbelizer.wurbel |
Loads and runs a wurblet against a source file. |
Wurblet |
org.wurbelizer.wurblet |
A code generator (run/process/cleanup). |
Wurbiler |
org.wurbelizer.wurbile |
Compiles .wrbl source to Java + .ser. |
SourceRegion |
org.wurbelizer.wurbel |
Guard-type strategy, registered via the META-INF/services SPI. |
SourceDocument |
org.wurbelizer.wurbel |
A source file partitioned into typed regions; inserts/replaces guarded blocks. |
Documentation & reports
- Full user documentation: https://wurbelizer.org
- API documentation (Javadoc)
- Cross-referenced sources
- Project reports — dependencies, plugins, licenses, team.
This module is part of the Wurbelizer Parent project.
Wurbelizer