Skip to content

Java: Clean up public Java API#842

Merged
marcoroth merged 1 commit into
mainfrom
java-clean-up
Nov 11, 2025
Merged

Java: Clean up public Java API#842
marcoroth merged 1 commit into
mainfrom
java-clean-up

Conversation

@marcoroth

Copy link
Copy Markdown
Owner
import org.herb.*;

public class Main {
  public static void main(String[] args) {
    String template = "<div><%= @user.name %></div>";

    LexResult lexResult = Herb.lex(template);
    System.out.println(lexResult.inspect());

    ParseResult parseResult = Herb.parse(template);
    System.out.println(parseResult.inspect());
  }
}

@github-actions github-actions Bot added documentation Improvements or additions to documentation java labels Nov 11, 2025
@marcoroth marcoroth merged commit fb35d71 into main Nov 11, 2025
12 checks passed
@marcoroth marcoroth deleted the java-clean-up branch November 11, 2025 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation java

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant