Skip to content

C: Add HERB_EXCLUDE_PRETTYPRINT preprocessor flag#1262

Merged
marcoroth merged 2 commits into
mainfrom
herb-exclude-prettyprint
Mar 1, 2026
Merged

C: Add HERB_EXCLUDE_PRETTYPRINT preprocessor flag#1262
marcoroth merged 2 commits into
mainfrom
herb-exclude-prettyprint

Conversation

@marcoroth

@marcoroth marcoroth commented Mar 1, 2026

Copy link
Copy Markdown
Owner

This pull request adds an HERB_EXCLUDE_PRETTYPRINT preprocessor flag to compile out pretty print support from all language bindings, since only the C CLI's parse command uses it. The respective language bindings have their own pretty print implementation in the binding language.

Additionally, we added PRISM_EXCLUDE_PRETTYPRINT, PRISM_EXCLUDE_JSON, PRISM_EXCLUDE_PACK, and PRISM_EXCLUDE_SERIALIZATION to all bindings, since we are not using these Prism features.

@pkg-pr-new

pkg-pr-new Bot commented Mar 1, 2026

Copy link
Copy Markdown
npx https://pkg.pr.new/@herb-tools/formatter@1262
npx https://pkg.pr.new/@herb-tools/language-server@1262
npx https://pkg.pr.new/@herb-tools/linter@1262

commit: 2249a05

@github-actions

github-actions Bot commented Mar 1, 2026

Copy link
Copy Markdown

🌿 Interactive Playground and Documentation Preview

A preview deployment has been built for this pull request. Try out the changes live in the interactive playground:


🌱 Grown from commit 2249a05


✅ Preview deployment has been cleaned up.

@marcoroth marcoroth merged commit abc742f into main Mar 1, 2026
32 checks passed
@marcoroth marcoroth deleted the herb-exclude-prettyprint branch March 1, 2026 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant