docs: add guide for using bison as a dependency - #777
Merged
Conversation
bison isn't published to a conda/pixi channel yet, so the supported way to consume it from another Mojo project is to vendor it as a git submodule and precompile it locally against a matching Mojo/MAX pin — the same pattern bison itself uses for marrow. Documents that pattern end to end and links it from the README's documentation index. Claude-Session: https://claude.ai/code/session_01FmB8Dsbchms8GwMfLs8VXk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docs/using-as-a-dependency.md, documenting how to vendor bison into another Mojo project (git submodule + localmojo precompileagainst a matching Mojo/MAX pin) since bison isn't published to a conda/pixi channel yet. Mirrors the pattern bison itself already uses formarrow(scripts/build_marrow.sh).0.x-alphawith stub methods remaining, so a versioned package release didn't seem warranted yet. The doc says as much and points to opening an issue if that would unblock someone.Test plan
pixi run lint— all pre-commit hooks pass (docs-only change)https://claude.ai/code/session_01FmB8Dsbchms8GwMfLs8VXk